diff options
Diffstat (limited to 'nscd/grpcache.c')
-rw-r--r-- | nscd/grpcache.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/nscd/grpcache.c b/nscd/grpcache.c index ce84668900..41a36dc674 100644 --- a/nscd/grpcache.c +++ b/nscd/grpcache.c @@ -37,38 +37,38 @@ /* This is the standard reply in case the service is disabled. */ static const gr_response_header disabled = { - version: NSCD_VERSION, - found: -1, - gr_name_len: 0, - gr_passwd_len: 0, - gr_gid: -1, - gr_mem_cnt: 0, + .version = NSCD_VERSION, + .found = -1, + .gr_name_len = 0, + .gr_passwd_len = 0, + .gr_gid = -1, + .gr_mem_cnt = 0, }; /* This is the struct describing how to write this record. */ const struct iovec grp_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 gr_response_header notfound = { - version: NSCD_VERSION, - found: 0, - gr_name_len: 0, - gr_passwd_len: 0, - gr_gid: -1, - gr_mem_cnt: 0, + .version = NSCD_VERSION, + .found = 0, + .gr_name_len = 0, + .gr_passwd_len = 0, + .gr_gid = -1, + .gr_mem_cnt = 0, }; /* This is the struct describing how to write this record. */ static const struct iovec iov_notfound = { - iov_base: (void *) ¬found, - iov_len: sizeof (notfound) + .iov_base = (void *) ¬found, + .iov_len = sizeof (notfound) }; |