[pacman-dev] [PATCH 3/3] Remove redundant include alpm_list.h in lib/libalpm/*.c

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Thu May 21 00:19:40 EDT 2009


These files include alpm.h, but alpm.h include alpm_list.h
so the second inclusion is redundant.

Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
 lib/libalpm/alpm.c     |    1 -
 lib/libalpm/be_files.c |    1 -
 lib/libalpm/cache.c    |    1 -
 lib/libalpm/db.c       |    1 -
 lib/libalpm/dload.c    |    1 -
 lib/libalpm/group.c    |    1 -
 lib/libalpm/handle.c   |    1 -
 lib/libalpm/remove.c   |    1 -
 lib/libalpm/sync.c     |    1 -
 lib/libalpm/trans.c    |    1 -
 lib/libalpm/util.c     |    1 -
 11 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/lib/libalpm/alpm.c b/lib/libalpm/alpm.c
index ee29d53..b56346c 100644
--- a/lib/libalpm/alpm.c
+++ b/lib/libalpm/alpm.c
@@ -24,7 +24,6 @@
 
 /* libalpm */
 #include "alpm.h"
-#include "alpm_list.h"
 #include "handle.h"
 #include "util.h"
 
diff --git a/lib/libalpm/be_files.c b/lib/libalpm/be_files.c
index 9bb7b3d..5a2d178 100644
--- a/lib/libalpm/be_files.c
+++ b/lib/libalpm/be_files.c
@@ -35,7 +35,6 @@
 
 /* libalpm */
 #include "db.h"
-#include "alpm_list.h"
 #include "cache.h"
 #include "log.h"
 #include "util.h"
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c
index 8d18f3e..1771040 100644
--- a/lib/libalpm/cache.c
+++ b/lib/libalpm/cache.c
@@ -26,7 +26,6 @@
 
 /* libalpm */
 #include "cache.h"
-#include "alpm_list.h"
 #include "log.h"
 #include "alpm.h"
 #include "util.h"
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c
index 561967c..c1b9b7c 100644
--- a/lib/libalpm/db.c
+++ b/lib/libalpm/db.c
@@ -34,7 +34,6 @@
 
 /* libalpm */
 #include "db.h"
-#include "alpm_list.h"
 #include "log.h"
 #include "util.h"
 #include "handle.h"
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 5b0a691..e439b08 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -40,7 +40,6 @@
 
 /* libalpm */
 #include "dload.h"
-#include "alpm_list.h"
 #include "alpm.h"
 #include "log.h"
 #include "util.h"
diff --git a/lib/libalpm/group.c b/lib/libalpm/group.c
index 3e080a5..1fbd142 100644
--- a/lib/libalpm/group.c
+++ b/lib/libalpm/group.c
@@ -25,7 +25,6 @@
 
 /* libalpm */
 #include "group.h"
-#include "alpm_list.h"
 #include "util.h"
 #include "log.h"
 #include "alpm.h"
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c
index 813f439..834df05 100644
--- a/lib/libalpm/handle.c
+++ b/lib/libalpm/handle.c
@@ -32,7 +32,6 @@
 
 /* libalpm */
 #include "handle.h"
-#include "alpm_list.h"
 #include "util.h"
 #include "log.h"
 #include "trans.h"
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c
index 9dfff9c..e7d01f7 100644
--- a/lib/libalpm/remove.c
+++ b/lib/libalpm/remove.c
@@ -34,7 +34,6 @@
 
 /* libalpm */
 #include "remove.h"
-#include "alpm_list.h"
 #include "trans.h"
 #include "util.h"
 #include "log.h"
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index abda147..6691b86 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -34,7 +34,6 @@
 
 /* libalpm */
 #include "sync.h"
-#include "alpm_list.h"
 #include "log.h"
 #include "package.h"
 #include "db.h"
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c
index ef56841..1ec5d88 100644
--- a/lib/libalpm/trans.c
+++ b/lib/libalpm/trans.c
@@ -34,7 +34,6 @@
 
 /* libalpm */
 #include "trans.h"
-#include "alpm_list.h"
 #include "package.h"
 #include "util.h"
 #include "log.h"
diff --git a/lib/libalpm/util.c b/lib/libalpm/util.c
index 75f6042..b3151fb 100644
--- a/lib/libalpm/util.c
+++ b/lib/libalpm/util.c
@@ -46,7 +46,6 @@
 #include "log.h"
 #include "package.h"
 #include "alpm.h"
-#include "alpm_list.h"
 #include "md5.h"
 
 #ifndef HAVE_STRSEP
-- 
1.6.3.1



More information about the pacman-dev mailing list