Browse Source

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.
OPENBSD_3_0
millert 23 years ago
parent
commit
b95bad7b69
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/include/err.h

+ 1
- 3
src/include/err.h View File

@ -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


Loading…
Cancel
Save