about summary refs log tree commit diff
path: root/misc/err.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-03 12:59:33 +0000
committerRoland McGrath <roland@gnu.org>2002-08-03 12:59:33 +0000
commita757607d82e91654986355a6509b6c3e7cc7c0b8 (patch)
tree1a3be4c5a6c5014410426dec6d9c15bf98fd9556 /misc/err.c
parentc5598d4721655c8654e3f419d12b671e2a92c0ce (diff)
downloadglibc-a757607d82e91654986355a6509b6c3e7cc7c0b8.tar.gz
glibc-a757607d82e91654986355a6509b6c3e7cc7c0b8.tar.xz
glibc-a757607d82e91654986355a6509b6c3e7cc7c0b8.zip
* include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog.
	* include/err.h: Use libc_hidden_proto for warn, warnx, vwarn, vwarn,
	verr, verrx.
	* include/stdlib.h: Use libc_hidden_proto for exit, getenv, bsearch.
	* misc/syslog.c: Add libc_hidden_def.
	* misc/err.c: Likewise.
	* stdlib/exit.c: Likewise.
	* stdlib/bsearch.c: Likewise.
	* sysdeps/generic/getenv.c: Likewise.
Diffstat (limited to 'misc/err.c')
-rw-r--r--misc/err.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/err.c b/misc/err.c
index 1e681b399d..05406276d0 100644
--- a/misc/err.c
+++ b/misc/err.c
@@ -1,5 +1,5 @@
 /* 4.4BSD utility functions for error messages.
-   Copyright (C) 1995, 1996, 1998, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1995,96,98,2001,02 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -108,6 +108,7 @@ vwarnx (const char *format, __gnuc_va_list ap)
     }
   funlockfile (stderr);
 }
+libc_hidden_def (warnx)
 
 void
 vwarn (const char *format, __gnuc_va_list ap)
@@ -141,6 +142,7 @@ vwarn (const char *format, __gnuc_va_list ap)
     }
   funlockfile (stderr);
 }
+libc_hidden_def (warnx)
 
 
 void
@@ -148,12 +150,14 @@ warn (const char *format, ...)
 {
   VA (vwarn (format, ap))
 }
+libc_hidden_def (warn)
 
 void
 warnx (const char *format, ...)
 {
   VA (vwarnx (format, ap))
 }
+libc_hidden_def (warnx)
 
 void
 verr (int status, const char *format, __gnuc_va_list ap)
@@ -161,6 +165,7 @@ verr (int status, const char *format, __gnuc_va_list ap)
   vwarn (format, ap);
   exit (status);
 }
+libc_hidden_def (verr)
 
 void
 verrx (int status, const char *format, __gnuc_va_list ap)
@@ -168,6 +173,7 @@ verrx (int status, const char *format, __gnuc_va_list ap)
   vwarnx (format, ap);
   exit (status);
 }
+libc_hidden_def (verrx)
 
 void
 err (int status, const char *format, ...)