[pacman-dev] [PATCH] 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> --- src/util/testdb.c | 1 - src/util/testpkg.c | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) diff --git a/src/util/testdb.c b/src/util/testdb.c index cbff578..abbc62f 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 6e8f9d1..d86fb1e 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> -- 1.6.2.4
participants (1)
-
Gerardo Exequiel Pozzi