svn commit: samba r23539 - in branches/SAMBA_3_0/source/nsswitch: .

kai at samba.org kai at samba.org
Mon Jun 18 13:59:09 GMT 2007


Author: kai
Date: 2007-06-18 13:59:09 +0000 (Mon, 18 Jun 2007)
New Revision: 23539

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23539

Log:
Remove code duplication and unify behaviour of winbind_nss_*.h files

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbind_nss.h
   branches/SAMBA_3_0/source/nsswitch/winbind_nss_linux.h


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbind_nss.h
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbind_nss.h	2007-06-18 12:22:42 UTC (rev 23538)
+++ branches/SAMBA_3_0/source/nsswitch/winbind_nss.h	2007-06-18 13:59:09 UTC (rev 23539)
@@ -39,8 +39,7 @@
  * Linux (glibc)
  */
 
-#include <nss.h>
-typedef enum nss_status NSS_STATUS;
+#include "nsswitch/winbind_nss_linux.h"
 
 #elif HAVE_NS_API_H
 

Modified: branches/SAMBA_3_0/source/nsswitch/winbind_nss_linux.h
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbind_nss_linux.h	2007-06-18 12:22:42 UTC (rev 23538)
+++ branches/SAMBA_3_0/source/nsswitch/winbind_nss_linux.h	2007-06-18 13:59:09 UTC (rev 23539)
@@ -24,12 +24,8 @@
 #ifndef _WINBIND_NSS_LINUX_H
 #define _WINBIND_NSS_LINUX_H
 
-#if HAVE_NSS_H
-
 #include <nss.h>
 
 typedef enum nss_status NSS_STATUS;
 
-#endif /* HAVE_NSS_H */
-
 #endif /* _WINBIND_NSS_LINUX_H */



More information about the samba-cvs mailing list