From b95bad7b696a18c96f83934fb8c30b4b4cec6446 Mon Sep 17 00:00:00 2001 From: millert <> Date: Thu, 19 Jul 2001 14:08:33 +0000 Subject: [PATCH] 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. --- src/include/err.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/include/err.h b/src/include/err.h index e552939c..f761c912 100644 --- a/src/include/err.h +++ b/src/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