summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--include/services.h2
-rw-r--r--include/sysconf.h.in10
-rw-r--r--version.log6
4 files changed, 18 insertions, 1 deletions
diff --git a/Changes b/Changes
index 770ef4abd..dc57919ff 100644
--- a/Changes
+++ b/Changes
@@ -11,6 +11,7 @@ Provided by Trystan <trystan@nomadirc.net> - 2006
08/20 F Fixed several compiler warnings. [#584]
08/20 F log.c rewrite. [#582]
08/20 F Fixed bsd compier warning. [#578]
+09/10 F Fixed mass compiler warnings on FC5 with make strict. [#583]
Provided by ThaPrince <jon@vile.com> - 2006
08/22 F Plexus3 svid_mode3 support fixed. [ #00]
diff --git a/include/services.h b/include/services.h
index b1c92a93b..fddfa02bf 100644
--- a/include/services.h
+++ b/include/services.h
@@ -25,7 +25,9 @@
/* Some Linux boxes (or maybe glibc includes) require this for the
* prototype of strsignal(). */
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
/* Some SUN fixs */
#ifdef __sun
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);
diff --git a/version.log b/version.log
index 7e5f5a789..5dd708020 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="15"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1145"
+VERSION_BUILD="1146"
# $Log$
#
+# BUILD : 1.7.15 (1146)
+# BUGS : 583
+# NOTES : Fixed mass compiler warnings with make strict on FC5 (patch by Trystan)
+#
# BUILD : 1.7.15 (1145)
# BUGS : 579
# NOTES : Fixed make strict issues with src/tools