diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-07-19 14:08:34 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-07-19 14:08:34 +0000 |
commit | 0ac6b52f5231c1b18dd0a2766cc29bd97a5f41aa (patch) | |
tree | 56b4ff2de8ed57f385592b9a06857520dc7d73f4 /include/err.h | |
parent | 44fb58a001f94410ac61011a3f248989d0ca2441 (diff) |
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.
Diffstat (limited to 'include/err.h')
-rw-r--r-- | include/err.h | 4 |
1 files changed, 1 insertions, 3 deletions
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 |