diff options
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 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 <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 */ |