diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-01 12:56:20 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-01 12:56:20 +0000 |
commit | 70d31a8d58e114fde40f8c5b9c8b32689bf924e7 (patch) | |
tree | 153488bd9f45e3e691e3439e665896de17e97278 | |
parent | 21cbb627a66af881f6a54712bcdf64b4bf8a8fb4 (diff) |
from netbsd: #define _verr* to verr*, to make these use prototypes
correctly and compile in the "no indr_references" case.
-rw-r--r-- | lib/libc/gen/_err.c | 3 | ||||
-rw-r--r-- | lib/libc/gen/_errx.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/_err.c b/lib/libc/gen/_err.c index 032ee4b1bfd..2d68fb415f2 100644 --- a/lib/libc/gen/_err.c +++ b/lib/libc/gen/_err.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _err.c,v 1.2 1996/04/21 23:39:04 deraadt Exp $ */ +/* $OpenBSD: _err.c,v 1.3 1996/05/01 12:56:18 deraadt Exp $ */ /* * J.T. Conklin, December 12, 1994 @@ -12,6 +12,7 @@ __indr_reference(_err, err); #else #define _err err +#define _verr verr #define rcsid _rcsid #include "err.c" diff --git a/lib/libc/gen/_errx.c b/lib/libc/gen/_errx.c index 739ed17ec60..d98c3a69d18 100644 --- a/lib/libc/gen/_errx.c +++ b/lib/libc/gen/_errx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: _errx.c,v 1.2 1996/04/21 23:39:05 deraadt Exp $ */ +/* $OpenBSD: _errx.c,v 1.3 1996/05/01 12:56:19 deraadt Exp $ */ /* * J.T. Conklin, December 12, 1994 @@ -12,6 +12,7 @@ __indr_reference(_errx, errx); #else #define _errx errx +#define _verrx verrx #define rcsid _rcsid #include "errx.c" |