From e01300b36e295a9440c6e3df00c240f06d5800a8 Mon Sep 17 00:00:00 2001 From: markm Date: Fri, 18 Oct 2002 16:22:13 +0000 Subject: ISOfy functions, sort headers and mark unused arguments. --- lib/libc/gen/crypt.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/gen/crypt.c b/lib/libc/gen/crypt.c index 5c05685..fd952c8 100644 --- a/lib/libc/gen/crypt.c +++ b/lib/libc/gen/crypt.c @@ -37,12 +37,13 @@ #if defined(LIBC_SCCS) && !defined(lint) /* from static char sccsid[] = "@(#)crypt.c 5.11 (Berkeley) 6/25/91"; */ #endif /* LIBC_SCCS and not lint */ + #include __FBSDID("$FreeBSD$"); -#include #include #include +#include /* * UNIX password, and DES, encryption. @@ -55,8 +56,7 @@ __warn_references(des_setkey, "WARNING! des_setkey(3) not present in the system!"); int -des_setkey(key) - const char *key; +des_setkey(const char *key __unused) { fprintf(stderr, "WARNING! des_setkey(3) not present in the system!\n"); return (0); @@ -66,11 +66,7 @@ __warn_references(des_cipher, "WARNING! des_cipher(3) not present in the system!"); int -des_cipher(in, out, salt, num_iter) - const char *in; - char *out; - long salt; - int num_iter; +des_cipher(const char *in, char *out, long salt __unused, int num_iter __unused) { fprintf(stderr, "WARNING! des_cipher(3) not present in the system!\n"); bcopy(in, out, 8); @@ -81,8 +77,7 @@ __warn_references(setkey, "WARNING! setkey(3) not present in the system!"); int -setkey(key) - const char *key; +setkey(const char *key __unused) { fprintf(stderr, "WARNING! setkey(3) not present in the system!\n"); return (0); @@ -92,9 +87,7 @@ __warn_references(encrypt, "WARNING! encrypt(3) not present in the system!"); int -encrypt(block, flag) - char *block; - int flag; +encrypt(char *block __unused, int flag __unused) { fprintf(stderr, "WARNING! encrypt(3) not present in the system!\n"); return (0); -- cgit v1.1