summaryrefslogtreecommitdiff
path: root/include/sysconf.h.in
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-09-10 15:20:20 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-09-10 15:20:20 +0000
commit651507491dfd14f4b9843a62557655e5d0a89992 (patch)
tree57fb1ad847113274d94ef75cb6ca38457bb5c8a5 /include/sysconf.h.in
parentcd1d0952902897f91fee6d37084ce451da6d0790 (diff)
BUILD : 1.7.15 (1146) BUGS : 583 NOTES : Fixed mass compiler warnings with make strict on FC5 (patch by Trystan)
git-svn-id: svn://svn.anope.org/anope/trunk@1146 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@869 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/sysconf.h.in')
-rw-r--r--include/sysconf.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/sysconf.h.in b/include/sysconf.h.in
index e61bacb1c..1aa83e421 100644
--- a/include/sysconf.h.in
+++ b/include/sysconf.h.in
@@ -177,11 +177,21 @@
/* We KNOW these are not ansi, we are defining them here to suppress the warning
* * s messages on a "make strict" compile */
+#ifndef snprintf
int snprintf(char *str, size_t size, const char *format, ...);
+#endif
+#ifndef vprintf
int vprintf(const char *format, va_list ap);
+#endif
+#ifndef vfprintf
int vfprintf(FILE *stream, const char *format, va_list ap);
+#endif
+#ifndef vsprintf
int vsprintf(char *str, const char *format, va_list ap);
+#endif
+#ifndef vsnprintf
int vsnprintf(char *str, size_t size, const char *format, va_list ap);
+#endif
FILE *popen(const char *command, const char *type);
int pclose(FILE *stream);