diff options
author | Roland McGrath <roland@gnu.org> | 2002-12-15 23:23:24 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-12-15 23:23:24 +0000 |
commit | c2e131128be262e38f086465f3561c2faeaaef78 (patch) | |
tree | 64d75322683e9004b0fbb2e241c937ec9f0cd641 /nscd/connections.c | |
parent | 67d27eba63f00cb00fb448ec1d2cc43dd4181196 (diff) | |
download | glibc-c2e131128be262e38f086465f3561c2faeaaef78.tar glibc-c2e131128be262e38f086465f3561c2faeaaef78.tar.gz glibc-c2e131128be262e38f086465f3561c2faeaaef78.tar.bz2 glibc-c2e131128be262e38f086465f3561c2faeaaef78.zip |
* sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.
* sysdeps/unix/sysv/linux/wait.c: Don't include <nptl/pthreadP.h> or
<tls.h> here, no need for it.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): Take ARG as void *
parameter, not varargs parameter.
* sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_RESET): Evaluate the
argument so it's not an unused variable.
* resolv/resolv.h (__p_key_syms, __p_cert_syms, __p_class_syms,
__p_type_syms, __p_rcode_syms): Remove decls, never really intended
for users.
* resolv/Versions (libresolv: GLIBC_2.3.2): New set, add __p_rcode.
2002-12-15 Art Haas <ahaas@airmail.net>
* nscd/connections.c: C99 initializer conversion.
* nscd/grpcache.c: Same.
* nscd/hstcache.c: Same.
* nscd/pwdcache.c: Same.
Diffstat (limited to 'nscd/connections.c')
-rw-r--r-- | nscd/connections.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/nscd/connections.c b/nscd/connections.c index 58e05018d3..3abbdc2ff1 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -90,34 +90,34 @@ const char *serv2str[LASTREQ] = static struct database dbs[lastdb] = { [pwddb] = { - lock: PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, - enabled: 0, - check_file: 1, - filename: "/etc/passwd", - module: 211, - disabled_iov: &pwd_iov_disabled, - postimeout: 3600, - negtimeout: 20 + .lock = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, + .enabled = 0, + .check_file = 1, + .filename = "/etc/passwd", + .module = 211, + .disabled_iov = &pwd_iov_disabled, + .postimeout = 3600, + .negtimeout = 20 }, [grpdb] = { - lock: PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, - enabled: 0, - check_file: 1, - filename: "/etc/group", - module: 211, - disabled_iov: &grp_iov_disabled, - postimeout: 3600, - negtimeout: 60 + .lock = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, + .enabled = 0, + .check_file = 1, + .filename = "/etc/group", + .module = 211, + .disabled_iov = &grp_iov_disabled, + .postimeout = 3600, + .negtimeout = 60 }, [hstdb] = { - lock: PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, - enabled: 0, - check_file: 1, - filename: "/etc/hosts", - module: 211, - disabled_iov: &hst_iov_disabled, - postimeout: 3600, - negtimeout: 20 + .lock = PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP, + .enabled = 0, + .check_file = 1, + .filename = "/etc/hosts", + .module = 211, + .disabled_iov = &hst_iov_disabled, + .postimeout = 3600, + .negtimeout = 20 } }; |