summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2009-05-12 05:45:18 +0200
committerDan McGee <dan@archlinux.org>2009-05-19 06:22:38 +0200
commit35b9dfc3805821cb504231a5e5ce5a8694278fb7 (patch)
tree5d3cf79365aa6eea57de3fda02349a2e263b9bd2
parentc301d6aa250620fda6b268e17e1b0dd41027e90b (diff)
downloadpacman-35b9dfc3805821cb504231a5e5ce5a8694278fb7.tar.gz
pacman-35b9dfc3805821cb504231a5e5ce5a8694278fb7.tar.xz
Remove unused included headers from testdb.c and testpkg.c
libgen.h was used for basename() in function main() from src/util/testdb.c string.h was used for strlen() in function output_cb() from src/util/testpkg.c Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--src/util/testdb.c1
-rw-r--r--src/util/testpkg.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/util/testdb.c b/src/util/testdb.c
index cbff5784..abbc62f1 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -24,7 +24,6 @@
#include <limits.h>
#include <string.h>
#include <dirent.h>
-#include <libgen.h>
#include <alpm.h>
#include <alpm_list.h>
diff --git a/src/util/testpkg.c b/src/util/testpkg.c
index 6e8f9d1c..d86fb1e0 100644
--- a/src/util/testpkg.c
+++ b/src/util/testpkg.c
@@ -21,7 +21,6 @@
#include <stdio.h> /* printf */
#include <stdarg.h> /* va_list */
-#include <string.h> /* strlen */
#include <alpm.h>