From 0ac6b52f5231c1b18dd0a2766cc29bd97a5f41aa Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 19 Jul 2001 14:08:34 +0000 Subject: Expose protos for _{err,warn}{,x} regardless of __indr_reference being defined since in the notdef __indr_reference case they are still present, just as real functions. Fixes some alpha warnings. --- include/err.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/err.h') diff --git a/include/err.h b/include/err.h index e552939cce1..f761c91210d 100644 --- a/include/err.h +++ b/include/err.h @@ -1,4 +1,4 @@ -/* $OpenBSD: err.h,v 1.4 2000/12/06 17:18:42 deraadt Exp $ */ +/* $OpenBSD: err.h,v 1.5 2001/07/19 14:08:33 millert Exp $ */ /* $NetBSD: err.h,v 1.11 1994/10/26 00:55:52 cgd Exp $ */ /*- @@ -68,7 +68,6 @@ void warnx __P((const char *, ...)) void vwarnx __P((const char *, _BSD_VA_LIST_)) __attribute__((__format__ (printf, 1, 0))); -#ifdef __indr_reference /* * The _* versios are for use in library functions so user-defined * versions of err*,warn* do not get used. @@ -89,7 +88,6 @@ void _warnx __P((const char *, ...)) __attribute__((__format__ (printf, 1, 2))); void _vwarnx __P((const char *, _BSD_VA_LIST_)) __attribute__((__format__ (printf, 1, 0))); -#endif __END_DECLS -- cgit v1.2.3