From 4638bc80db0b660fd0b9b2e365958c230e001616 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 1 May 1996 12:56:18 +0000 Subject: [PATCH] from netbsd: #define _verr* to verr*, to make these use prototypes correctly and compile in the "no indr_references" case. --- lib/libc/gen/_err.c | 3 ++- 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" -- 2.20.1