diff options
author | Dan McGee <dan@archlinux.org> | 2012-01-06 23:09:19 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-01-07 18:28:37 +0100 |
commit | b7ecff160ee541904e7b75c9ba88a455c9502409 (patch) | |
tree | 843c0231499abdbfb51a5530b72146f641950fab /lib | |
parent | d59324c8fff0a91930bf226d013273691f0580e6 (diff) | |
download | pacman-b7ecff160ee541904e7b75c9ba88a455c9502409.tar.gz pacman-b7ecff160ee541904e7b75c9ba88a455c9502409.tar.xz |
Clean up <inttypes.h> header inclusions
In both cases we can go with the slightly leaner <stdint.h> header
include since we aren't using the print macros.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libalpm/add.c | 3 | ||||
-rw-r--r-- | lib/libalpm/alpm.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 014990d2..e81d96fa 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -26,8 +26,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> -#include <inttypes.h> /* int64_t */ -#include <stdint.h> /* intmax_t */ +#include <stdint.h> /* int64_t */ /* libarchive */ #include <archive.h> diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h index 1751c81c..95c817ea 100644 --- a/lib/libalpm/alpm.h +++ b/lib/libalpm/alpm.h @@ -27,7 +27,7 @@ extern "C" { #endif -#include <inttypes.h> /* int64_t */ +#include <stdint.h> /* int64_t */ #include <sys/types.h> /* off_t */ #include <stdarg.h> /* va_list */ |