Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Sixt <j6t@kdbg.org>2011-11-05 19:37:34 +0400
committerJunio C Hamano <gitster@pobox.com>2011-11-06 10:10:24 +0400
commit97000ba6e21d25581222e11c36db4bb88c05adcd (patch)
treec0045eab769ce190b2a79ef00eb67e6a5959a06c /git-compat-util.h
parente3eed7f8d238e895922851315447f5df9c475f11 (diff)
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 <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index e0bb81ed8d..23f760331f 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