lib/replace: fix rep_strtoull() prototype
[ira/wip.git] / lib / replace / replace.h
index 8f820a949cad431236e1176924507d3fd857cb5c..15ec80a97d3ca9738b67e497521503b180c0eec2 100644 (file)
@@ -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