From 97000ba6e21d25581222e11c36db4bb88c05adcd Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Sat, 5 Nov 2011 16:37:34 +0100 Subject: [PATCH] Compatibility: declare strtoimax() under NO_STRTOUMAX The previous one introduced an implementation of the function, but forgot to add a declaration. Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- git-compat-util.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git-compat-util.h b/git-compat-util.h index e0bb81ed8..23f760331 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -345,6 +345,8 @@ extern size_t gitstrlcpy(char *, const char *, size_t); #ifdef NO_STRTOUMAX #define strtoumax gitstrtoumax extern uintmax_t gitstrtoumax(const char *, char **, int); +#define strtoimax gitstrtoimax +extern intmax_t gitstrtoimax(const char *, char **, int); #endif #ifdef NO_STRTOK_R -- 2.26.2