Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/include gets -> unsafe_gets; nothing uses this...
details: https://anonhg.NetBSD.org/src/rev/7aa245bf7db7
branches: trunk
changeset: 345853:7aa245bf7db7
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Jun 11 06:38:18 2016 +0000
description:
gets -> unsafe_gets; nothing uses this but let's not start by accident.
(related to PR 51200)
diffstat:
sys/arch/pmax/include/dec_prom.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bc7921c52b39 -r 7aa245bf7db7 sys/arch/pmax/include/dec_prom.h
--- a/sys/arch/pmax/include/dec_prom.h Sat Jun 11 06:35:00 2016 +0000
+++ b/sys/arch/pmax/include/dec_prom.h Sat Jun 11 06:38:18 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dec_prom.h,v 1.23 2011/02/20 07:50:25 matt Exp $ */
+/* $NetBSD: dec_prom.h,v 1.24 2016/06/11 06:38:18 dholland Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -103,7 +103,7 @@
char *(*_strncpy)(char *, char *, int); /* 1c */
int (*_strncmp)(char *, char *, int); /* 20 */
int (*_getchar)(void); /* 24 */
- char *(*_gets)(char *); /* 28 */
+ char *(*_unsafe_gets)(char *); /* 28 */
int (*_puts)(char *); /* 2c */
int (*_printf)(const char *, ...); /* 30 */
int (*_sprintf)(char *, char *, ...); /* 34 */
@@ -162,7 +162,7 @@
#define strncpy (*callv -> _strncpy)
#define strncmp (*callv -> _strncmp)
#define getchar (*callv -> _getchar)
-#define gets (*callv -> _gets)
+#define unsafe_gets (*callv -> _unsafe_gets)
#define puts (*callv -> _puts)
#define printf (*callv -> _printf)
#define sprintf (*callv -> _sprintf)
Home |
Main Index |
Thread Index |
Old Index