[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r4149 - in /trunk/libc: ChangeLog.eglibc nss/gen-fixed-nsswitch.c



Author: sandra
Date: Fri Nov  9 06:26:54 2007
New Revision: 4149

Log:
2007-11-09  Sandra Loosemore  <sandra@xxxxxxxxxxxxxxxx>

	* nss/gen-fixed-nsswitch.c (internal_function):  Provide a fallback
	definition.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/nss/gen-fixed-nsswitch.c

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Fri Nov  9 06:26:54 2007
@@ -1,3 +1,8 @@
+2007-11-09  Sandra Loosemore  <sandra@xxxxxxxxxxxxxxxx>
+
+	* nss/gen-fixed-nsswitch.c (internal_function):  Provide a fallback
+	definition.
+
 2007-10-29  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>
 
 	* Makeconfig ($(common-objpfx)gnu/option-groups.h): New generated

Modified: trunk/libc/nss/gen-fixed-nsswitch.c
==============================================================================
--- trunk/libc/nss/gen-fixed-nsswitch.c (original)
+++ trunk/libc/nss/gen-fixed-nsswitch.c Fri Nov  9 06:26:54 2007
@@ -29,6 +29,12 @@
 
 #include "gnu/lib-names.h"
 #include "nss.h"
+
+/* Provide a fallback definition to allow this file to be compiled outside
+   libc.  */
+#ifndef internal_function
+# define internal_function
+#endif
 
 
 /* Simple utilities.  */