This file is also compiled into libnss_hesiod by #include.
2004-10-25 Roland McGrath <roland@redhat.com>
* nss/nss_files/files-parse.c (nss_files_parse_hidden_def): Define to
- libnss_files_hidden_def, not hidden_def. This file is also compiled
- into libnss_hesiod by #include.
+ either libc_hidden_def or libnss_files_hidden_def, not hidden_def.
+ This file is also compiled into libnss_hesiod by #include.
2004-10-25 Roland McGrath <roland@frob.com>
/* Export the line parser function so it can be used in nss_db. */
# define parser_stclass /* Global */
# define parse_line CONCAT(_nss_files_parse_,ENTNAME)
-# define nss_files_parse_hidden_def(name) libnss_files_hidden_def (name)
+# ifdef IS_IN_libc
+/* We are defining one of the functions that actually lives in libc
+ because it is used to implement fget*ent and suchlike. */
+# define nss_files_parse_hidden_def(name) libc_hidden_def (name)
+# else
+# define nss_files_parse_hidden_def(name) libnss_files_hidden_def (name)
+# endif
#endif