diff options
Diffstat (limited to 'nss/nsswitch.h')
| -rw-r--r-- | nss/nsswitch.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/nss/nsswitch.h b/nss/nsswitch.h index fd37379377..9799627aa2 100644 --- a/nss/nsswitch.h +++ b/nss/nsswitch.h @@ -184,10 +184,9 @@ libc_hidden_proto (__nss_hostname_digits_dots) #define MAX_NR_ADDRS 48 /* Prototypes for __nss_*_lookup2 functions. */ -#define DEFINE_DATABASE(arg) \ - extern struct nss_action *__nss_##arg##_database attribute_hidden; \ - int __nss_##arg##_lookup2 (struct nss_action **, const char *, \ - const char *, void **); \ +#define DEFINE_DATABASE(arg) \ + int __nss_##arg##_lookup2 (struct nss_action **, const char *, \ + const char *, void **); \ libc_hidden_proto (__nss_##arg##_lookup2) #include "databases.def" #undef DEFINE_DATABASE |
