diff options
author | Dan McGee <dan@archlinux.org> | 2007-03-05 23:13:33 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-05 23:13:33 +0100 |
commit | 869e81e1cf115e835040d0ecadb6108880103abe (patch) | |
tree | 2c67f7f304e27cfab2b9d7b1fd48f8b15a914dd4 /lib/libalpm/sync.c | |
parent | facb99098d8d28f7bd3ac1aeb02ab0e158f9cff2 (diff) | |
download | pacman-869e81e1cf115e835040d0ecadb6108880103abe.tar.gz pacman-869e81e1cf115e835040d0ecadb6108880103abe.tar.xz |
This commit looks much more monumental than it is. Almost all just #include
reordering and adding ones that were forgotten (noticed when trying to
compile after reordering).
* Updated the HACKING file to include information on #include usage.
* print -> vprint in "making dir" function in pactest.
Diffstat (limited to 'lib/libalpm/sync.c')
-rw-r--r-- | lib/libalpm/sync.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 337e350a..f3a0ee06 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -23,6 +23,7 @@ */ #include "config.h" + #include <stdlib.h> #include <stdio.h> #include <fcntl.h> @@ -33,10 +34,12 @@ #endif #include <dirent.h> #include <libintl.h> -/* pacman */ + +/* libalpm */ +#include "sync.h" +#include "alpm_list.h" #include "log.h" #include "error.h" -#include "alpm_list.h" #include "package.h" #include "db.h" #include "cache.h" @@ -45,7 +48,6 @@ #include "provide.h" #include "trans.h" #include "util.h" -#include "sync.h" #include "versioncmp.h" #include "handle.h" #include "util.h" |