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:
parent
fb6b53bfe4
commit
55cb8b09ce
|
@ -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.
|
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
|
||||||
|
@ -268,7 +268,6 @@
|
||||||
#define openlog _openlog
|
#define openlog _openlog
|
||||||
#define pause _pause
|
#define pause _pause
|
||||||
#define pclose _pclose
|
#define pclose _pclose
|
||||||
#define perror _perror
|
|
||||||
#define pmap_getmaps _pmap_getmaps
|
#define pmap_getmaps _pmap_getmaps
|
||||||
#define pmap_getport _pmap_getport
|
#define pmap_getport _pmap_getport
|
||||||
#define pmap_rmtcall _pmap_rmtcall
|
#define pmap_rmtcall _pmap_rmtcall
|
||||||
|
|
|
@ -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
|
* Copyright (c) 1988, 1993
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)perror.c 8.1 (Berkeley) 6/4/93";
|
static char sccsid[] = "@(#)perror.c 8.1 (Berkeley) 6/4/93";
|
||||||
#else
|
#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
|
||||||
#endif /* LIBC_SCCS and not lint */
|
#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().
|
* internal function __strerror().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __weak_alias
|
|
||||||
__weak_alias(perror,_perror);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void
|
void
|
||||||
perror(s)
|
perror(s)
|
||||||
const char *s;
|
const char *s;
|
||||||
|
|
Loading…
Reference in New Issue