summaryrefslogtreecommitdiff
path: root/src/win32/posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/win32/posix.h')
-rw-r--r--src/win32/posix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/win32/posix.h b/src/win32/posix.h
index efac68e74..536089e44 100644
--- a/src/win32/posix.h
+++ b/src/win32/posix.h
@@ -24,5 +24,6 @@ extern int p_readlink(const char *link, char *target, size_t target_len);
extern int p_hide_directory__w32(const char *path);
extern char *p_realpath(const char *orig_path, char *buffer);
extern int p_vsnprintf(char *buffer, size_t count, const char *format, va_list argptr);
+extern int p_snprintf(char *buffer, size_t count, const char *format, ...) GIT_FORMAT_PRINTF(3, 4);
#endif