diff options
author | Dan McGee <dan@archlinux.org> | 2007-03-05 22:13:33 +0000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-03-05 22:13:33 +0000 |
commit | 869e81e1cf115e835040d0ecadb6108880103abe (patch) | |
tree | 2c67f7f304e27cfab2b9d7b1fd48f8b15a914dd4 /lib/libalpm/remove.c | |
parent | facb99098d8d28f7bd3ac1aeb02ab0e158f9cff2 (diff) | |
download | 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/remove.c')
-rw-r--r-- | lib/libalpm/remove.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/libalpm/remove.c b/lib/libalpm/remove.c index 9c57334b..fed86b0c 100644 --- a/lib/libalpm/remove.c +++ b/lib/libalpm/remove.c @@ -23,24 +23,26 @@ * USA. */ -#if defined(__APPLE__) || defined(__OpenBSD__) -#include <sys/syslimits.h> -#endif -#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__sun__) -#include <sys/stat.h> -#endif - #include "config.h" + #include <stdlib.h> #include <errno.h> #include <time.h> #include <fcntl.h> #include <string.h> #include <limits.h> +#if defined(__APPLE__) || defined(__OpenBSD__) +#include <sys/syslimits.h> +#endif +#if defined(__APPLE__) || defined(__OpenBSD__) || defined(__sun__) +#include <sys/stat.h> +#endif #include <unistd.h> #include <errno.h> #include <libintl.h> -/* pacman */ + +/* libalpm */ +#include "remove.h" #include "alpm_list.h" #include "trans.h" #include "util.h" @@ -55,7 +57,6 @@ #include "cache.h" #include "deps.h" #include "provide.h" -#include "remove.h" #include "handle.h" #include "alpm.h" |