Functionally back out namespace.h revision 1.7 and perror.c revision 1.15;

perror() is an identifier reserved by ANSI/ISO C, and in case of a redefition
the behavior is undefined.
This commit is contained in:
kleink 1999-03-09 13:14:36 +00:00
parent fb6b53bfe4
commit 55cb8b09ce
2 changed files with 3 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: namespace.h,v 1.36 1999/02/06 15:04:05 kleink Exp $ */
/* $NetBSD: namespace.h,v 1.37 1999/03/09 13:14:36 kleink Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -268,7 +268,6 @@
#define openlog _openlog
#define pause _pause
#define pclose _pclose
#define perror _perror
#define pmap_getmaps _pmap_getmaps
#define pmap_getport _pmap_getport
#define pmap_rmtcall _pmap_rmtcall

View File

@ -1,4 +1,4 @@
/* $NetBSD: perror.c,v 1.19 1999/01/28 20:13:40 kleink Exp $ */
/* $NetBSD: perror.c,v 1.20 1999/03/09 13:14:36 kleink Exp $ */
/*
* Copyright (c) 1988, 1993
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)perror.c 8.1 (Berkeley) 6/4/93";
#else
__RCSID("$NetBSD: perror.c,v 1.19 1999/01/28 20:13:40 kleink Exp $");
__RCSID("$NetBSD: perror.c,v 1.20 1999/03/09 13:14:36 kleink Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@ -54,10 +54,6 @@ __RCSID("$NetBSD: perror.c,v 1.19 1999/01/28 20:13:40 kleink Exp $");
* internal function __strerror().
*/
#ifdef __weak_alias
__weak_alias(perror,_perror);
#endif
void
perror(s)
const char *s;