diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2006-11-10 11:51:44 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2006-11-10 11:51:44 +0000 |
commit | 1d1d54c0f25b59a360a61f411232e9716b70a20f (patch) | |
tree | ad81bdd95c6da49fe8ebb5b3d8f74723b0f713ee | |
parent | 8a9ea2cf45daf3efdb013a2d8c321cbf8324281d (diff) |
use better names for our thread-local file pointer
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/libnss_ldapd@77 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | nss/aliases.c | 4 | ||||
-rw-r--r-- | nss/group.c | 4 | ||||
-rw-r--r-- | nss/hosts.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/nss/aliases.c b/nss/aliases.c index 5a72b1f..dfc05d3 100644 --- a/nss/aliases.c +++ b/nss/aliases.c @@ -61,8 +61,8 @@ enum nss_status _nss_ldap_getaliasbyname_r( } /* thread-local file pointer to an ongoing request */ -static __thread FILE *pwentfp; -#define fp pwentfp +static __thread FILE *aliasentfp; +#define fp aliasentfp enum nss_status _nss_ldap_setaliasent(void) { diff --git a/nss/group.c b/nss/group.c index 0dcfd38..584b633 100644 --- a/nss/group.c +++ b/nss/group.c @@ -137,8 +137,8 @@ enum nss_status _nss_ldap_initgroups_dyn( } /* thread-local file pointer to an ongoing request */ -static __thread FILE *pwentfp; -#define fp pwentfp +static __thread FILE *grentfp; +#define fp grentfp enum nss_status _nss_ldap_setgrent(void) { diff --git a/nss/hosts.c b/nss/hosts.c index 4ec2923..2894300 100644 --- a/nss/hosts.c +++ b/nss/hosts.c @@ -179,8 +179,8 @@ enum nss_status _nss_ldap_gethostbyaddr_r( } /* thread-local file pointer to an ongoing request */ -static __thread FILE *pwentfp; -#define fp pwentfp +static __thread FILE *hostentfp; +#define fp hostentfp enum nss_status _nss_ldap_sethostent(void) { |