summaryrefslogtreecommitdiffstats
path: root/src/util/testpkg.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-08-16 02:16:46 +0200
committerDan McGee <dan@archlinux.org>2007-08-16 02:16:46 +0200
commitf4dbb204f1ad99179c145558ababf1190f067083 (patch)
tree6a9679bce55e272a00750d3f7d2a2a802e51924e /src/util/testpkg.c
parenta65ad4efc1102449a087b464d3b8d4670a614b99 (diff)
downloadpacman-f4dbb204f1ad99179c145558ababf1190f067083.tar.gz
pacman-f4dbb204f1ad99179c145558ababf1190f067083.tar.xz
src/util: Clean up headers and a few fixes
Remove some unnecessary headers in the two utilities as well as fix a possible non-null termination issue in vercmp. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/util/testpkg.c')
-rw-r--r--src/util/testpkg.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/util/testpkg.c b/src/util/testpkg.c
index 1ad1d14b..53ae8322 100644
--- a/src/util/testpkg.c
+++ b/src/util/testpkg.c
@@ -21,11 +21,9 @@
#include "config.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <libgen.h>
+#include <stdio.h> /* printf */
+#include <stdarg.h> /* va_list */
+#include <string.h> /* strlen */
#include <alpm.h>