about summary refs log tree commit diff
path: root/nscd/pwdcache.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-12-15 23:23:24 +0000
committerRoland McGrath <roland@gnu.org>2002-12-15 23:23:24 +0000
commitc2e131128be262e38f086465f3561c2faeaaef78 (patch)
tree64d75322683e9004b0fbb2e241c937ec9f0cd641 /nscd/pwdcache.c
parent67d27eba63f00cb00fb448ec1d2cc43dd4181196 (diff)
downloadglibc-c2e131128be262e38f086465f3561c2faeaaef78.tar.gz
glibc-c2e131128be262e38f086465f3561c2faeaaef78.tar.xz
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/pwdcache.c')
-rw-r--r--nscd/pwdcache.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c
index 9d88c88a37..a52c7e3355 100644
--- a/nscd/pwdcache.c
+++ b/nscd/pwdcache.c
@@ -37,44 +37,44 @@
 /* This is the standard reply in case the service is disabled.  */
 static const pw_response_header disabled =
 {
-  version: NSCD_VERSION,
-  found: -1,
-  pw_name_len: 0,
-  pw_passwd_len: 0,
-  pw_uid: -1,
-  pw_gid: -1,
-  pw_gecos_len: 0,
-  pw_dir_len: 0,
-  pw_shell_len: 0
+  .version = NSCD_VERSION,
+  .found = -1,
+  .pw_name_len = 0,
+  .pw_passwd_len = 0,
+  .pw_uid = -1,
+  .pw_gid = -1,
+  .pw_gecos_len = 0,
+  .pw_dir_len = 0,
+  .pw_shell_len = 0
 };
 
 /* This is the struct describing how to write this record.  */
 const struct iovec pwd_iov_disabled =
 {
-  iov_base: (void *) &disabled,
-  iov_len: sizeof (disabled)
+  .iov_base = (void *) &disabled,
+  .iov_len = sizeof (disabled)
 };
 
 
 /* This is the standard reply in case we haven't found the dataset.  */
 static const pw_response_header notfound =
 {
-  version: NSCD_VERSION,
-  found: 0,
-  pw_name_len: 0,
-  pw_passwd_len: 0,
-  pw_uid: -1,
-  pw_gid: -1,
-  pw_gecos_len: 0,
-  pw_dir_len: 0,
-  pw_shell_len: 0
+  .version = NSCD_VERSION,
+  .found = 0,
+  .pw_name_len = 0,
+  .pw_passwd_len = 0,
+  .pw_uid = -1,
+  .pw_gid = -1,
+  .pw_gecos_len = 0,
+  .pw_dir_len = 0,
+  .pw_shell_len = 0
 };
 
 /* This is the struct describing how to write this record.  */
 static const struct iovec iov_notfound =
 {
-  iov_base: (void *) &notfound,
-  iov_len: sizeof (notfound)
+  .iov_base = (void *) &notfound,
+  .iov_len = sizeof (notfound)
 };