summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-16 01:53:51 +0200
committerDan McGee <dan@archlinux.org>2011-04-21 03:09:13 +0200
commit791928dc48bcd94ef5cb57b4da36fb5e398e30da (patch)
tree55d6d265da6dac354d0ad61e4b806632f1b33b26 /src
parent4af6c72d790e13fd28abc0d7b2eaaece51fd7862 (diff)
downloadpacman-791928dc48bcd94ef5cb57b4da36fb5e398e30da.tar.gz
pacman-791928dc48bcd94ef5cb57b4da36fb5e398e30da.tar.xz
Header inclusion cleanup
This does touch a lot of things, and hopefully doesn't break things on other platforms, but allows us to also clean up a bunch of crud that no longer needs to be there. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/database.c1
-rw-r--r--src/pacman/deptest.c4
-rw-r--r--src/pacman/package.c1
-rw-r--r--src/pacman/pacman.c2
-rw-r--r--src/pacman/query.c1
-rw-r--r--src/pacman/util.c1
6 files changed, 0 insertions, 10 deletions
diff --git a/src/pacman/database.c b/src/pacman/database.c
index 9d6edab5..123f72d2 100644
--- a/src/pacman/database.c
+++ b/src/pacman/database.c
@@ -20,7 +20,6 @@
#include "config.h"
-#include <stdlib.h>
#include <stdio.h>
#include <alpm.h>
diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c
index cc1e565b..19e4da4a 100644
--- a/src/pacman/deptest.c
+++ b/src/pacman/deptest.c
@@ -20,17 +20,13 @@
#include "config.h"
-#include <stdlib.h>
#include <stdio.h>
-#include <string.h>
#include <alpm.h>
#include <alpm_list.h>
/* pacman */
#include "pacman.h"
-#include "util.h"
-#include "conf.h"
int pacman_deptest(alpm_list_t *targets)
{
diff --git a/src/pacman/package.c b/src/pacman/package.c
index 93c56ad9..346d3125 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -26,7 +26,6 @@
#include <unistd.h>
#include <limits.h>
#include <errno.h>
-#include <wchar.h>
#include <alpm.h>
#include <alpm_list.h>
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 7e9fd6b9..a4cfe75c 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -39,7 +39,6 @@
#include <sys/stat.h>
#include <sys/utsname.h> /* uname */
#include <locale.h> /* setlocale */
-#include <time.h> /* time_t */
#include <errno.h>
#include <glob.h>
#if defined(PACMAN_DEBUG) && defined(HAVE_MCHECK_H)
@@ -55,7 +54,6 @@
#include "util.h"
#include "callback.h"
#include "conf.h"
-#include "package.h"
/* list of targets specified on command line */
static alpm_list_t *pm_targets;
diff --git a/src/pacman/query.c b/src/pacman/query.c
index 4208d2a2..a3546bad 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -26,7 +26,6 @@
#include <string.h>
#include <sys/stat.h>
#include <errno.h>
-#include <unistd.h>
#include <alpm.h>
#include <alpm_list.h>
diff --git a/src/pacman/util.c b/src/pacman/util.c
index 7fb2322d..8d7e8e98 100644
--- a/src/pacman/util.c
+++ b/src/pacman/util.c
@@ -31,7 +31,6 @@
#include <stdint.h> /* intmax_t */
#include <string.h>
#include <errno.h>
-#include <fcntl.h>
#include <ctype.h>
#include <dirent.h>
#include <unistd.h>