From d8cf93f489282ed4dd0b727e9efd9efef192e952 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 31 Dec 1999 18:51:25 +0000 Subject: Update. 1999-12-31 Andreas Jaeger * libio/strfile.h: Remove K&R compatibility. * locale/langinfo.h: Likewise. * locale/localeconv.c (localeconv): Likewise. * locale/programs/simple-hash.h: Likewise. * nis/nis_xdr.h: Likewise. * nis/rpcsvc/nislib.h: Likewise. * nis/rpcsvc/nis_callback.h: Likewise. * nis/rpcsvc/nis.h: Likewise. * nis/ypclnt.c: Likewise. * nscd/nscd_proto.h: Likewise. * nscd/nscd.c: Likewise. * sysdeps/generic/inttypes.h: Likewise. * sysdeps/gnu/utmpx.h: Likewise. * nis/nis_intern.h: Remove K&R compatibility; add missing ints. * sunrpc/rpcsvc/rusers.x: Likewise. * nis/rpcsvc/ypclnt.h: Remove K&R compatibility; reformat. * elf/dl-misc.c: Remove __libc_write prototype since it's already in include/unistd.h. * elf/dl-profile.c: Likewise. * elf/dl-load.c: Likewise for __libc_read. * elf/dl-profile.c: Remove __P. * elf/sprof.c: Likewise. * elf/sln.c: Likewise. --- nscd/nscd.c | 2 +- nscd/nscd_proto.h | 42 +++++++++++++++++++++--------------------- 2 files changed, 22 insertions(+), 22 deletions(-) (limited to 'nscd') diff --git a/nscd/nscd.c b/nscd/nscd.c index c4187f1..45928f0 100644 --- a/nscd/nscd.c +++ b/nscd/nscd.c @@ -94,7 +94,7 @@ static const struct argp_option options[] = static const char doc[] = N_("Name Service Cache Daemon."); /* Prototype for option handler. */ -static error_t parse_opt __P ((int key, char *arg, struct argp_state *state)); +static error_t parse_opt (int key, char *arg, struct argp_state *state); /* Data structure to communicate with argp functions. */ static struct argp argp = diff --git a/nscd/nscd_proto.h b/nscd/nscd_proto.h index d9b92bf..8af9065 100644 --- a/nscd/nscd_proto.h +++ b/nscd/nscd_proto.h @@ -1,6 +1,6 @@ /* Copyright (C) 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. - Contributed by Thorsten Kukuk , 1998. + Contributed by Thorsten Kukuk , 1998. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as @@ -29,25 +29,25 @@ extern int __nss_not_use_nscd_passwd; extern int __nss_not_use_nscd_group; extern int __nss_not_use_nscd_hosts; -extern int __nscd_getpwnam_r __P ((const char *name, struct passwd *resultbuf, - char *buffer, size_t buflen)); -extern int __nscd_getpwuid_r __P ((uid_t uid, struct passwd *resultbuf, - char *buffer, size_t buflen)); -extern int __nscd_getgrnam_r __P ((const char *name, struct group *resultbuf, - char *buffer, size_t buflen)); -extern int __nscd_getgrgid_r __P ((uid_t uid, struct group *resultbuf, - char *buffer, size_t buflen)); -extern int __nscd_gethostbyname_r __P ((const char *name, - struct hostent *resultbuf, - char *buffer, size_t buflen, - int *h_errnop)); -extern int __nscd_gethostbyname2_r __P ((const char *name, int af, - struct hostent *resultbuf, - char *buffer, size_t buflen, - int *h_errnop)); -extern int __nscd_gethostbyaddr_r __P ((const char *addr, size_t len, int type, - struct hostent *resultbuf, - char *buffer, size_t buflen, - int *h_errnop)); +extern int __nscd_getpwnam_r (const char *name, struct passwd *resultbuf, + char *buffer, size_t buflen); +extern int __nscd_getpwuid_r (uid_t uid, struct passwd *resultbuf, + char *buffer, size_t buflen); +extern int __nscd_getgrnam_r (const char *name, struct group *resultbuf, + char *buffer, size_t buflen); +extern int __nscd_getgrgid_r (uid_t uid, struct group *resultbuf, + char *buffer, size_t buflen); +extern int __nscd_gethostbyname_r (const char *name, + struct hostent *resultbuf, + char *buffer, size_t buflen, + int *h_errnop); +extern int __nscd_gethostbyname2_r (const char *name, int af, + struct hostent *resultbuf, + char *buffer, size_t buflen, + int *h_errnop); +extern int __nscd_gethostbyaddr_r (const char *addr, size_t len, int type, + struct hostent *resultbuf, + char *buffer, size_t buflen, + int *h_errnop); #endif /* _NSCD_PROTO_H */ -- cgit v1.1