Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/remove.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-04-15 18:53:51 -0500
committerDan McGee <dan@archlinux.org>2011-04-20 20:09:13 -0500
commit791928dc48bcd94ef5cb57b4da36fb5e398e30da (patch)
tree55d6d265da6dac354d0ad61e4b806632f1b33b26 /lib/libalpm/remove.c
parent4af6c72d790e13fd28abc0d7b2eaaece51fd7862 (diff)
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 'lib/libalpm/remove.c')
-rw-r--r--lib/libalpm/remove.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index 31b20131..67ad9a6a 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -26,8 +26,6 @@
#include <stdlib.h>
#include <errno.h>
-#include <time.h>
-#include <fcntl.h>
#include <string.h>
#include <limits.h>
#include <unistd.h>
@@ -36,6 +34,7 @@
/* libalpm */
#include "remove.h"
#include "alpm_list.h"
+#include "alpm.h"
#include "trans.h"
#include "util.h"
#include "log.h"
@@ -44,7 +43,6 @@
#include "db.h"
#include "deps.h"
#include "handle.h"
-#include "alpm.h"
int SYMEXPORT alpm_remove_pkg(pmpkg_t *pkg)
{