aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/mhd_compat.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 13:06:08 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 13:06:08 +0100
commit7389c3452884ad29faf5a2d6856aebd364ffae6b (patch)
tree71246e22c8513c0dcbf79b837cb9c084c29e434c /src/microhttpd/mhd_compat.h
parente0a076284525eaf2ec4cb356a40cccc25e24f2b1 (diff)
downloadlibmicrohttpd-7389c3452884ad29faf5a2d6856aebd364ffae6b.tar.gz
libmicrohttpd-7389c3452884ad29faf5a2d6856aebd364ffae6b.zip
tighten formatting rules
Diffstat (limited to 'src/microhttpd/mhd_compat.h')
-rw-r--r--src/microhttpd/mhd_compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_compat.h b/src/microhttpd/mhd_compat.h
index 6b38a03e..4062c101 100644
--- a/src/microhttpd/mhd_compat.h
+++ b/src/microhttpd/mhd_compat.h
@@ -51,6 +51,7 @@
51/* Emulate snprintf function on W32 */ 51/* Emulate snprintf function on W32 */
52int W32_snprintf (char *__restrict s, size_t n, const char *__restrict format, 52int W32_snprintf (char *__restrict s, size_t n, const char *__restrict format,
53 ...); 53 ...);
54
54#define MHD_snprintf_ W32_snprintf 55#define MHD_snprintf_ W32_snprintf
55#else /* ! _WIN32 || __CYGWIN__ */ 56#else /* ! _WIN32 || __CYGWIN__ */
56#error \ 57#error \
@@ -84,6 +85,7 @@ int W32_snprintf (char *__restrict s, size_t n, const char *__restrict format,
84 * MHD_calloc_ is platform-independent calloc() 85 * MHD_calloc_ is platform-independent calloc()
85 */ 86 */
86void *MHD_calloc_ (size_t nelem, size_t elsize); 87void *MHD_calloc_ (size_t nelem, size_t elsize);
88
87#endif /* ! HAVE_CALLOC */ 89#endif /* ! HAVE_CALLOC */
88 90
89#endif /* MHD_COMPAT_H */ 91#endif /* MHD_COMPAT_H */