summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/lib/libsa/printf.c4
-rw-r--r--sys/lib/libsa/snprintf.c5
2 files changed, 2 insertions, 7 deletions
diff --git a/sys/lib/libsa/printf.c b/sys/lib/libsa/printf.c
index a1183b26b9f..6a049f2e27b 100644
--- a/sys/lib/libsa/printf.c
+++ b/sys/lib/libsa/printf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: printf.c,v 1.28 2018/01/17 08:46:15 patrick Exp $ */
+/* $OpenBSD: printf.c,v 1.29 2019/05/11 16:56:47 deraadt Exp $ */
/* $NetBSD: printf.c,v 1.10 1996/11/30 04:19:21 gwr Exp $ */
/*-
@@ -132,7 +132,6 @@ reswitch: switch (ch) {
case 'l':
lflag++;
goto rflag;
-#ifndef STRIPPED
case 'b':
{
int set, n;
@@ -158,7 +157,6 @@ reswitch: switch (ch) {
put('>');
}
break;
-#endif
case 'c':
ch = va_arg(ap, int);
put(ch & 0x7f);
diff --git a/sys/lib/libsa/snprintf.c b/sys/lib/libsa/snprintf.c
index 047c1e6a494..d3ed5986873 100644
--- a/sys/lib/libsa/snprintf.c
+++ b/sys/lib/libsa/snprintf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: snprintf.c,v 1.6 2015/03/10 21:07:43 miod Exp $ */
+/* $OpenBSD: snprintf.c,v 1.7 2019/05/11 16:56:47 deraadt Exp $ */
/* $NetBSD: printf.c,v 1.10 1996/11/30 04:19:21 gwr Exp $ */
/*-
@@ -40,7 +40,6 @@
extern void kprintn(void (*)(int), u_long, int);
extern void kdoprnt(void (*)(int), const char *, va_list);
-#ifndef STRIPPED
static void sputchar(int);
static char *sbuf, *sbuf_end;
@@ -71,5 +70,3 @@ snprintf(char *buf, size_t len, const char *fmt, ...)
return sbuf - buf;
}
-
-#endif /* STRIPPED */