aboutsummaryrefslogtreecommitdiff
path: root/lib/memdebug.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-20 16:22:47 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-20 16:22:47 +0000
commit44995d6877015bd9435436fc41d4554ac737f1db (patch)
tree5b9658b1e861da52cc9bde6b26dbd8b47d49d804 /lib/memdebug.c
parent2ebc821558c32a773cde5b846714396960468dd9 (diff)
Some compilers warn on completely empty source files, we provide a blank
one to prevent that.
Diffstat (limited to 'lib/memdebug.c')
-rw-r--r--lib/memdebug.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/memdebug.c b/lib/memdebug.c
index d03faf32a..1eeb5c93e 100644
--- a/lib/memdebug.c
+++ b/lib/memdebug.c
@@ -255,5 +255,8 @@ int curl_fclose(FILE *file, int line, const char *source)
#else
#ifdef VMS
int VOID_VAR_MEMDEBUG;
-#endif
+#else
+/* we provide a fake do-nothing function here to avoid compiler warnings */
+void curl_memdebug(void) {}
+#endif /* VMS */
#endif /* CURLDEBUG */