summaryrefslogtreecommitdiffstats
path: root/sys/lib/libsa/printf.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1996-09-20 14:20:23 +0000
committermickey <mickey@openbsd.org>1996-09-20 14:20:23 +0000
commit176a80a6a7e22ac9afc273599b1be287f2248fd5 (patch)
tree1ec947aea5659433da9f8f50f8224db0a746cc76 /sys/lib/libsa/printf.c
parentfix docs on return value; netbsd pr#1999; kml@nas.nasa.gov (diff)
downloadwireguard-openbsd-176a80a6a7e22ac9afc273599b1be287f2248fd5.tar.xz
wireguard-openbsd-176a80a6a7e22ac9afc273599b1be287f2248fd5.zip
fix makefiles. cleanup, addopt for boot.
Diffstat (limited to 'sys/lib/libsa/printf.c')
-rw-r--r--sys/lib/libsa/printf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/lib/libsa/printf.c b/sys/lib/libsa/printf.c
index 3f038648131..9138f8707ff 100644
--- a/sys/lib/libsa/printf.c
+++ b/sys/lib/libsa/printf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printf.c,v 1.2 1996/02/29 13:29:23 niklas Exp $ */
+/* $OpenBSD: printf.c,v 1.3 1996/09/20 14:20:25 mickey Exp $ */
/* $NetBSD: printf.c,v 1.7 1996/02/08 20:19:36 gwr Exp $ */
/*-
@@ -73,6 +73,7 @@ static void kprintn __P((void (*)(int), u_long, int));
static void sputchar __P((int));
static void kprintf __P((void (*)(int), const char *, va_list));
+#ifndef NO_SPRINTF
static char *sbuf;
static void
@@ -102,6 +103,7 @@ sprintf(buf, fmt, va_alist)
va_end(ap);
*sbuf = '\0';
}
+#endif /* NO_SPRINTF */
void
#ifdef __STDC__