summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-08-18 02:13:51 +0200
committerVicent Marti <tanoku@gmail.com>2011-08-18 02:35:28 +0200
commit84dd3820d41046d35cb8b3bf65e67d0eb7e68f6c (patch)
tree9a9f028446162d5effe4f5458f60c9bdb628f81a /src/util.h
parentc85e08b1bda30c1a7e0a6e804f81665047fd8005 (diff)
downloadlibgit2-84dd3820d41046d35cb8b3bf65e67d0eb7e68f6c.tar.gz
posix: Properly handle `snprintf` in all platforms
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index f70bfe743..4a3342017 100644
--- a/src/util.h
+++ b/src/util.h
@@ -66,8 +66,6 @@ GIT_INLINE(void *) git__realloc(void *ptr, size_t size)
return new_ptr;
}
-extern int git__fmt(char *, size_t, const char *, ...)
- GIT_FORMAT_PRINTF(3, 4);
extern int git__prefixcmp(const char *str, const char *prefix);
extern int git__suffixcmp(const char *str, const char *suffix);