diff --git a/ChangeLog b/ChangeLog index 3d46e001e3..d1bb0aabee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-05-10 Ulrich Drepper + + * nis/nss-nis.h: Mark __yperr2nss_tab and __yperr2nss_count as hidden. + + * nis/nss-nisplus.h: Mark __niserr2nss_tab and __niserr2nss_count + as hidden. + 2006-05-10 Jakub Jelinek * misc/sys/queue.h: Remove uses of all QUEUEDEBUG_* macros. diff --git a/nis/nss-nis.h b/nis/nss-nis.h index 5ac968e28e..a02583d14c 100644 --- a/nis/nss-nis.h +++ b/nis/nss-nis.h @@ -25,8 +25,8 @@ /* Convert YP error number to NSS error number. */ -extern const enum nss_status __yperr2nss_tab[]; -extern const unsigned int __yperr2nss_count; +extern const enum nss_status __yperr2nss_tab[] attribute_hidden; +extern const unsigned int __yperr2nss_count attribute_hidden; static inline enum nss_status yperr2nss (int errval) diff --git a/nis/nss-nisplus.h b/nis/nss-nisplus.h index 7235c355b0..ad7f444440 100644 --- a/nis/nss-nisplus.h +++ b/nis/nss-nisplus.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Thorsten Kukuk , 1997. @@ -26,8 +26,8 @@ /* Convert NIS+ error number to NSS error number. */ -extern const enum nss_status __niserr2nss_tab[]; -extern const unsigned int __niserr2nss_count; +extern const enum nss_status __niserr2nss_tab[] attribute_hidden; +extern const unsigned int __niserr2nss_count attribute_hidden; static inline enum nss_status niserr2nss (int errval)