From: deraadt Date: Wed, 1 May 1996 12:56:18 +0000 (+0000) Subject: from netbsd: #define _verr* to verr*, to make these use prototypes X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4638bc80db0b660fd0b9b2e365958c230e001616;p=openbsd from netbsd: #define _verr* to verr*, to make these use prototypes correctly and compile in the "no indr_references" case. --- 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"