summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libntp/snprintf.c
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2002-10-29 19:58:12 +0000
committerroberto <roberto@FreeBSD.org>2002-10-29 19:58:12 +0000
commitf77146900e35a78aaabf5f88d47b7675304c8445 (patch)
treedaab9e5ccc14bec1f0fee71e35464e6040c6756f /contrib/ntp/libntp/snprintf.c
parent40b8e415eb0f835a9dd7a473ddf134ec67877fd7 (diff)
downloadFreeBSD-src-f77146900e35a78aaabf5f88d47b7675304c8445.zip
FreeBSD-src-f77146900e35a78aaabf5f88d47b7675304c8445.tar.gz
Virgin import of ntpd 4.1.1a
Diffstat (limited to 'contrib/ntp/libntp/snprintf.c')
-rw-r--r--contrib/ntp/libntp/snprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/ntp/libntp/snprintf.c b/contrib/ntp/libntp/snprintf.c
index d65f6a9..101bc17 100644
--- a/contrib/ntp/libntp/snprintf.c
+++ b/contrib/ntp/libntp/snprintf.c
@@ -1,5 +1,6 @@
#include <config.h>
+#if !HAVE_SNPRINTF
#include <sys/types.h>
#ifdef __STDC__
@@ -53,3 +54,6 @@ vsnprintf(str, n, fmt, ap)
return (vsprintf(str, fmt, ap));
#endif
}
+#else
+int snprintf_bs;
+#endif
OpenPOWER on IntegriCloud