summaryrefslogtreecommitdiff
path: root/lib/umaxtostr.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-10-30 09:47:12 -0600
committerEric Blake <ebb9@byu.net>2009-10-30 17:02:08 -0600
commit708e2420452bb7233e0153b0b92c4e7dc79e03e3 (patch)
treed49fe03fc7ba5e0d40e6cbf2e4ed078d60cd47b3 /lib/umaxtostr.c
parent298d8b4a29e66da0b046b64b822f97d1c8fef74b (diff)
downloadgnulib-708e2420452bb7233e0153b0b92c4e7dc79e03e3.tar.gz
build: avoid compiler warnings
* lib/fchmodat.c (lchmod): Mark unused variables. * lib/getopt.c (_getopt_initialize): Likewise. * lib/mktime.c (__mktime_internal): Provide prototype. * lib/inttostr.c (inttostr): Avoid compiler warning even with older gcc that do not understand #pragma GCC diagnostic. * lib/uinttostr.c (inttype_is_unsigned): Define. * lib/umaxtostr.c (inttype_is_unsigned): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib/umaxtostr.c')
-rw-r--r--lib/umaxtostr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/umaxtostr.c b/lib/umaxtostr.c
index 4f49a7f8dd..75346a44f7 100644
--- a/lib/umaxtostr.c
+++ b/lib/umaxtostr.c
@@ -1,3 +1,4 @@
#define inttostr umaxtostr
#define inttype uintmax_t
+#define inttype_is_unsigned
#include "inttostr.c"