diff options
author | des <des@FreeBSD.org> | 2002-02-06 15:26:07 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-02-06 15:26:07 +0000 |
commit | d7b064e238d98e1c9942cfb6e53c0767893310b1 (patch) | |
tree | 9c2a46d61c0b1ec2538854e870b6861acfd2ee7a /lib/librpcsvc | |
parent | 0f2cb9b020b907000a28323fc57a82fdb7d6626d (diff) | |
download | FreeBSD-src-d7b064e238d98e1c9942cfb6e53c0767893310b1.zip FreeBSD-src-d7b064e238d98e1c9942cfb6e53c0767893310b1.tar.gz |
ANSIfy and remove some dead code.
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'lib/librpcsvc')
-rw-r--r-- | lib/librpcsvc/yp_passwd.c | 5 | ||||
-rw-r--r-- | lib/librpcsvc/yp_update.c | 10 |
2 files changed, 4 insertions, 11 deletions
diff --git a/lib/librpcsvc/yp_passwd.c b/lib/librpcsvc/yp_passwd.c index b43669c..1c6e6aa 100644 --- a/lib/librpcsvc/yp_passwd.c +++ b/lib/librpcsvc/yp_passwd.c @@ -50,9 +50,8 @@ __FBSDID("$FreeBSD$"); * fooling gcc. */ -int _yppasswd(oldpass, newpw) - char *oldpass; - struct x_passwd *newpw; +int +_yppasswd(char *oldpass, struct x_passwd *newpw) { char *server; char *domain; diff --git a/lib/librpcsvc/yp_update.c b/lib/librpcsvc/yp_update.c index bfa1bb1..5f1c7db 100644 --- a/lib/librpcsvc/yp_update.c +++ b/lib/librpcsvc/yp_update.c @@ -55,14 +55,8 @@ __FBSDID("$FreeBSD$"); #endif int -yp_update(domain, map, ypop, key, keylen, data, datalen) - char *domain; - char *map; - unsigned int ypop; - char *key; - int keylen; - char *data; - int datalen; +yp_update(char *domain, char *map, unsigned int ypop, char *key, int keylen, + char *data, int datalen) { char *master; int rval; |