diff options
-rw-r--r-- | nss/nss_module.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nss/nss_module.c b/nss/nss_module.c index 7b42c58..7ea5ad9 100644 --- a/nss/nss_module.c +++ b/nss/nss_module.c @@ -114,14 +114,16 @@ static const function_name nss_function_name_array[] = static bool module_load_nss_files (struct nss_module *module) { +#ifdef USE_NSCD if (is_nscd) { void (*cb) (size_t, struct traced_file *) = nscd_init_cb; -# ifdef PTR_DEMANGLE +# ifdef PTR_DEMANGLE PTR_DEMANGLE (cb); -# endif +# endif _nss_files_init (cb); } +#endif /* Initialize the function pointers, following the double-checked locking idiom. */ |