diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-12-31 18:51:25 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-12-31 18:51:25 +0000 |
commit | d8cf93f489282ed4dd0b727e9efd9efef192e952 (patch) | |
tree | 18872eaa470b0651e1071fb9c2b187cc1745f566 /nscd | |
parent | 3216711f5d4cdfcafd10377f479937cf360e2c69 (diff) | |
download | glibc-d8cf93f489282ed4dd0b727e9efd9efef192e952.tar.gz |
Update.
1999-12-31 Andreas Jaeger <aj@suse.de>
* 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.
Diffstat (limited to 'nscd')
-rw-r--r-- | nscd/nscd.c | 2 | ||||
-rw-r--r-- | nscd/nscd_proto.h | 42 |
2 files changed, 22 insertions, 22 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c index c4187f13bc..45928f0f67 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 d9b92bf066..8af906503f 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 <kukuk@uni-paderborn.de>, 1998. + Contributed by Thorsten Kukuk <kukuk@suse.de>, 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 */ |