From a757607d82e91654986355a6509b6c3e7cc7c0b8 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 3 Aug 2002 12:59:33 +0000 Subject: * 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. --- stdlib/bsearch.c | 3 ++- stdlib/exit.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'stdlib') diff --git a/stdlib/bsearch.c b/stdlib/bsearch.c index 95668ff3df..1bc6c4ba43 100644 --- a/stdlib/bsearch.c +++ b/stdlib/bsearch.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1991,92,97,2000,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 @@ -46,3 +46,4 @@ bsearch (const void *key, const void *base, size_t nmemb, size_t size, return NULL; } +libc_hidden_def (bsearch) diff --git a/stdlib/exit.c b/stdlib/exit.c index a4a51dca19..ac247a1233 100644 --- a/stdlib/exit.c +++ b/stdlib/exit.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991,1995,1996,1997,1999,2001 Free Software Foundation, Inc. +/* Copyright (C) 1991,95,96,97,99,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 @@ -81,3 +81,4 @@ exit (int status) _exit (status); } +libc_hidden_def (exit) -- cgit v1.2.3