diff options
author | Kai Blin <kai@samba.org> | 2007-06-18 13:59:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:26 -0500 |
commit | fb2246f3030ba23d598ac2fdbb4f43fcb9373f76 (patch) | |
tree | 1cdc9db98d522e51885aa8403146a647b5341592 | |
parent | 8908bd64eab93e763d8b943732bc19ed9d276eb2 (diff) | |
download | samba-fb2246f3030ba23d598ac2fdbb4f43fcb9373f76.tar.gz samba-fb2246f3030ba23d598ac2fdbb4f43fcb9373f76.tar.bz2 samba-fb2246f3030ba23d598ac2fdbb4f43fcb9373f76.zip |
r23539: Remove code duplication and unify behaviour of winbind_nss_*.h files
(This used to be commit 13c6eacff02b55b9fd6201406802f271dcf13e8e)
-rw-r--r-- | source3/nsswitch/winbind_nss.h | 3 | ||||
-rw-r--r-- | source3/nsswitch/winbind_nss_linux.h | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/source3/nsswitch/winbind_nss.h b/source3/nsswitch/winbind_nss.h index 3bef6ca595..c9331d9166 100644 --- a/source3/nsswitch/winbind_nss.h +++ b/source3/nsswitch/winbind_nss.h @@ -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 diff --git a/source3/nsswitch/winbind_nss_linux.h b/source3/nsswitch/winbind_nss_linux.h index 1c7e830037..456bfa5c14 100644 --- a/source3/nsswitch/winbind_nss_linux.h +++ b/source3/nsswitch/winbind_nss_linux.h @@ -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 */ |