summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-24 10:51:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:16:43 -0500
commit168e9ec2315bf22a56b5b139e36f8b1f3a23a9a1 (patch)
tree1cd21e0c51160c8c31587ed1dd56931ea240b9ba
parent6268e2f148a1d2487b5d2c825333b3bc866b79a6 (diff)
downloadsamba-168e9ec2315bf22a56b5b139e36f8b1f3a23a9a1.tar.gz
samba-168e9ec2315bf22a56b5b139e36f8b1f3a23a9a1.tar.bz2
samba-168e9ec2315bf22a56b5b139e36f8b1f3a23a9a1.zip
r17789: remove compiler warnings
metze (This used to be commit dec228be4d4a68e2a6794ad4e7a9224e040fa7f2)
-rw-r--r--source4/lib/replace/snprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/replace/snprintf.c b/source4/lib/replace/snprintf.c
index e315a9f99a..4b64e53148 100644
--- a/source4/lib/replace/snprintf.c
+++ b/source4/lib/replace/snprintf.c
@@ -145,6 +145,9 @@
void dummy_snprintf(void) {}
#endif /* HAVE_SNPRINTF, etc */
+/* yes this really must be a ||. Don't muck with this (tridge) */
+#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
+
#ifdef HAVE_LONG_DOUBLE
#define LDOUBLE long double
#else
@@ -216,9 +219,6 @@
#define MAX(p,q) (((p) >= (q)) ? (p) : (q))
#endif
-/* yes this really must be a ||. Don't muck with this (tridge) */
-#if !defined(HAVE_VSNPRINTF) || !defined(HAVE_C99_VSNPRINTF)
-
struct pr_chunk {
int type; /* chunk type */
int num; /* parameter number */