PERFORCE change 93246 for review

soc-bushman soc-bushman at FreeBSD.org
Mon Mar 13 12:56:00 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=93246

Change 93246 by soc-bushman at soc-bushman_stinger on 2006/03/13 12:55:15

	fixed an issue, that resulted in compile error when compiling with NO_NIS=yes

Affected files ...

.. //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/getservent.c#19 edit

Differences ...

==== //depot/projects/soc2005/nsswitch_cached/src/lib/libc/net/getservent.c#19 (text+ko) ====

@@ -96,6 +96,7 @@
 static	int	files_servent(void *, void *, va_list);
 static	int	files_setservent(void *, void *, va_list);
 
+#ifdef YP
 /* nis backend declarations */
 static 	int 	nis_servent(void *, void *, va_list);
 static 	int 	nis_setservent(void *, void *, va_list);
@@ -112,6 +113,7 @@
 
 static	int	nis_servent(void *, void *, va_list);
 static	int	nis_setservent(void *, void *, va_list);
+#endif
 
 /* compat backend declarations */
 static	int	compat_setservent(void *, void *, va_list);


More information about the p4-projects mailing list