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/sha1.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/sha1.c')
-rw-r--r-- | lib/libalpm/sha1.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/libalpm/sha1.c b/lib/libalpm/sha1.c index 956e87a9..d9a9118d 100644 --- a/lib/libalpm/sha1.c +++ b/lib/libalpm/sha1.c @@ -22,20 +22,18 @@ Robert Klep <robert@ilse.nl> -- Expansion function fix */ -#ifdef HAVE_CONFIG_H -# include <config.h> -#endif +#include "config.h" + +#include <sys/types.h> +#include <stdlib.h> +#include <string.h> #include <libintl.h> +/* libalpm */ +#include "sha1.h" #include "alpm.h" #include "log.h" #include "util.h" -#include "sha1.h" - -#include <sys/types.h> - -#include <stdlib.h> -#include <string.h> /* Not-swap is a macro that does an endian swap on architectures that are |