diff options
Diffstat (limited to 'nss')
-rw-r--r-- | nss/nss_files/files-XXX.c | 4 | ||||
-rw-r--r-- | nss/nss_files/files-alias.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/nss/nss_files/files-XXX.c b/nss/nss_files/files-XXX.c index b6b8cf8d34..fd000bfd9a 100644 --- a/nss/nss_files/files-XXX.c +++ b/nss/nss_files/files-XXX.c @@ -63,7 +63,7 @@ __libc_lock_define_initialized (static, lock) static FILE *stream; static fpos_t position; -static enum { none, getent, getby } last_use; +static enum { nouse, getent, getby } last_use; static int keep_stream; /* Open database file if not already opened. */ @@ -265,7 +265,7 @@ CONCAT(_nss_files_get,ENTNAME_r) (struct STRUCTURE *result, char *buffer, fgetpos (stream, &position); else /* We must make sure we reposition the stream the next call. */ - last_use = none; + last_use = nouse; } } diff --git a/nss/nss_files/files-alias.c b/nss/nss_files/files-alias.c index a2ef511901..8ee54f121f 100644 --- a/nss/nss_files/files-alias.c +++ b/nss/nss_files/files-alias.c @@ -1,5 +1,5 @@ /* Mail alias file parser in nss_files module. - Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1996,97,98,99,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. @@ -36,7 +36,7 @@ __libc_lock_define_initialized (static, lock) static FILE *stream; static fpos_t position; -static enum { none, getent, getby } last_use; +static enum { nouse, getent, getby } last_use; static enum nss_status @@ -408,7 +408,7 @@ _nss_files_getaliasent_r (struct aliasent *result, char *buffer, size_t buflen, if (status == NSS_STATUS_SUCCESS) fgetpos (stream, &position); else - last_use = none; + last_use = nouse; } } |