summaryrefslogtreecommitdiff
path: root/lib/replace/replace.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-10-22 08:44:29 +0200
committerStefan Metzmacher <metze@samba.org>2010-10-23 08:49:28 +0200
commitd65896cc3c5e67508e295e6d64193210e958971c (patch)
treed36d23a539ea94847f8079fbdb84700539727815 /lib/replace/replace.h
parent272feb7bd133344e88864ffc75d251451ddd681c (diff)
downloadsamba-d65896cc3c5e67508e295e6d64193210e958971c.tar.gz
samba-d65896cc3c5e67508e295e6d64193210e958971c.tar.bz2
samba-d65896cc3c5e67508e295e6d64193210e958971c.zip
lib/replace: fix rep_strtoull() prototype
metze
Diffstat (limited to 'lib/replace/replace.h')
-rw-r--r--lib/replace/replace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 8f820a949c..15ec80a97d 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -299,8 +299,8 @@ long long int rep_strtoll(const char *str, char **endptr, int base);
#define strtoull rep_strtoull
unsigned long long int rep_strtoull(const char *str, char **endptr, int base);
#else
-#ifdef HAVE_BSD_STRTOLL
-long long int rep_strtoull(const char *str, char **endptr, int base);
+#ifdef HAVE_BSD_STRTOLL /* yes, it's not HAVE_BSD_STRTOULL */
+unsigned long long int rep_strtoull(const char *str, char **endptr, int base);
#define strtoull rep_strtoull
#endif
#endif