summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2014-02-01 15:20:08 -0500
committerGreg Hudson <ghudson@mit.edu>2014-02-26 16:15:19 -0500
commit17e205070745e4712d40eed32d92d02edb47009f (patch)
tree7b84dc2f536d8c73da8155a186fbbc23c3b88dc1 /src/util
parent4c376a3776aed0fb19b761406eaa2e0516ff6735 (diff)
downloadkrb5-17e205070745e4712d40eed32d92d02edb47009f.tar.gz
krb5-17e205070745e4712d40eed32d92d02edb47009f.tar.xz
krb5-17e205070745e4712d40eed32d92d02edb47009f.zip
Assume <stdint.h> and fixed-width types
Make unconditional use of <stdint.h> and fixed-width types such as uint32_t. k5-plugin.h doesn't use any special integer types, so remove the conditional include block there. Nothing uses INT64_FMT/UINT64_FMT, so leave those out of k5-platform.h for now.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/profile/prof_init.c6
-rw-r--r--src/util/t_array.pm4
2 files changed, 1 insertions, 9 deletions
diff --git a/src/util/profile/prof_init.c b/src/util/profile/prof_init.c
index 4e3d84ee67..9845a18b54 100644
--- a/src/util/profile/prof_init.c
+++ b/src/util/profile/prof_init.c
@@ -13,12 +13,6 @@
#endif
#include <errno.h>
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
-#ifdef HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
typedef int32_t prof_int32;
/* Create a vtable profile, possibly with a library handle. The new profile
diff --git a/src/util/t_array.pm b/src/util/t_array.pm
index 4a05ab866b..4f1f82b294 100644
--- a/src/util/t_array.pm
+++ b/src/util/t_array.pm
@@ -41,9 +41,7 @@ __DATA__
#include <errno.h>
#include <limits.h>
#include <string.h>
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
+#include <stdint.h>
struct <NAME>__header {
size_t allocated;