diff options
Diffstat (limited to 'src/microhttpd/mhd_compat.c')
-rw-r--r-- | src/microhttpd/mhd_compat.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/microhttpd/mhd_compat.c b/src/microhttpd/mhd_compat.c index c0a6e362..7380af02 100644 --- a/src/microhttpd/mhd_compat.c +++ b/src/microhttpd/mhd_compat.c | |||
@@ -35,21 +35,15 @@ | |||
35 | #endif /* _WIN32 && !__CYGWIN__ */ | 35 | #endif /* _WIN32 && !__CYGWIN__ */ |
36 | 36 | ||
37 | 37 | ||
38 | /** | ||
39 | * Dummy function to silent compiler warning on empty file | ||
40 | * @return zero | ||
41 | */ | ||
42 | static int | ||
43 | static_dummy_func(void) | ||
44 | { | ||
45 | return 0; | ||
46 | } | ||
47 | |||
48 | #if defined(_WIN32) && !defined(__CYGWIN__) | 38 | #if defined(_WIN32) && !defined(__CYGWIN__) |
49 | 39 | ||
50 | #ifndef HAVE_SNPRINTF | 40 | #ifndef HAVE_SNPRINTF |
51 | /* Emulate snprintf function on W32 */ | 41 | /* Emulate snprintf function on W32 */ |
52 | int W32_snprintf(char *__restrict s, size_t n, const char *__restrict format, ...) | 42 | int |
43 | W32_snprintf(char *__restrict s, | ||
44 | size_t n, | ||
45 | const char *__restrict format, | ||
46 | ...) | ||
53 | { | 47 | { |
54 | int ret; | 48 | int ret; |
55 | va_list args; | 49 | va_list args; |