From cd3a63681338b7510846837dcc169d276cf75458 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 1 Jul 2007 20:22:42 -0400 Subject: Remove unnecessary and extra includes Signed-off-by: Dan McGee --- lib/libalpm/db.c | 7 ------- lib/libalpm/remove.c | 7 ------- lib/libalpm/server.c | 1 - lib/libalpm/sync.c | 2 -- 4 files changed, 17 deletions(-) diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 470f45aa..95a1ecb3 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -31,15 +31,8 @@ #include #include #include -#if defined(__APPLE__) || defined(__OpenBSD__) -#include -#include -#endif #include #include -#ifdef CYGWIN -#include /* PATH_MAX */ -#endif /* libalpm */ #include "db.h" diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index cc3afeb7..1a0b2d5e 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -31,14 +31,7 @@ #include #include #include -#if defined(__APPLE__) || defined(__OpenBSD__) -#include -#endif -#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__sun__) -#include -#endif #include -#include /* libalpm */ #include "remove.h" diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c index abd16dbe..5b41a808 100644 --- a/lib/libalpm/server.c +++ b/lib/libalpm/server.c @@ -39,7 +39,6 @@ #include "alpm.h" #include "util.h" #include "handle.h" -#include "log.h" #include "package.h" /** Fetch a remote pkg. diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index f60e582f..b04e1f49 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -47,11 +47,9 @@ #include "util.h" #include "versioncmp.h" #include "handle.h" -#include "util.h" #include "alpm.h" #include "md5.h" #include "sha1.h" -#include "handle.h" #include "server.h" pmsyncpkg_t *_alpm_sync_new(int type, pmpkg_t *spkg, void *data) -- cgit v1.2.3-24-g4f1b