summaryrefslogtreecommitdiff
path: root/sys/arch/octeon/stand
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-11-16 19:33:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-11-16 19:33:53 +0000
commit3e5ba3a87697f1d75a384fba7d33282b0efbc56d (patch)
tree596acb56b9a6671617dadbd62f984b37f808e5eb /sys/arch/octeon/stand
parent36e49efc8023dbd9e7ceb0d59d483be68658ce63 (diff)
Replace unbounded gets() in libsa with getln() which takes a buffer size,
and convert all gets() users. ok deraadt@
Diffstat (limited to 'sys/arch/octeon/stand')
-rw-r--r--sys/arch/octeon/stand/libsa/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/stand/libsa/Makefile b/sys/arch/octeon/stand/libsa/Makefile
index 3b8c9eff256..ed14a0e2aba 100644
--- a/sys/arch/octeon/stand/libsa/Makefile
+++ b/sys/arch/octeon/stand/libsa/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2014/07/13 09:26:08 jasper Exp $
+# $OpenBSD: Makefile,v 1.5 2015/11/16 19:33:52 miod Exp $
.include "${.CURDIR}/../Makefile.inc"
@@ -16,7 +16,7 @@ CFLAGS+= ${CEXTRAFLAGS} ${SAABI} -nostdinc -mno-abicalls -D_NO_ABICALLS \
-I${.OBJDIR}
# stand routines
-SRCS= alloc.c cons.c ctime.c exit.c getchar.c getfile.c gets.c globals.c \
+SRCS= alloc.c cons.c ctime.c exit.c getchar.c getfile.c getln.c globals.c \
memcmp.c memcpy.c memset.c printf.c putchar.c \
snprintf.c strchr.c strcmp.c strerror.c strncmp.c strncpy.c strtol.c