summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/des_soft.c
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-12-03 17:40:58 +0000
committerngie <ngie@FreeBSD.org>2016-12-03 17:40:58 +0000
commit00d4d99f42dec74c25f3c62a6e99bdd29795aea5 (patch)
treee77298498fb9b1286727812673794591f7f7fbbe /lib/libc/rpc/des_soft.c
parent7ad09ff71a567bdfdff6996f7b64c4367bd44f17 (diff)
downloadFreeBSD-src-00d4d99f42dec74c25f3c62a6e99bdd29795aea5.zip
FreeBSD-src-00d4d99f42dec74c25f3c62a6e99bdd29795aea5.tar.gz
MFC r287341,r287342,r287348:
r287341 (by rodrigc): Use ANSI C prototypes. Eliminates gcc 4.9 warnings. r287342 (by rodrigc): Mark unused parameters to reduce gcc 4.9 warnings. r287348 (by rodrigc): Use correct function prototype for signal handler. Eliminates gcc 4.9 warning.
Diffstat (limited to 'lib/libc/rpc/des_soft.c')
-rw-r--r--lib/libc/rpc/des_soft.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/rpc/des_soft.c b/lib/libc/rpc/des_soft.c
index 80d8c52..5eb9915 100644
--- a/lib/libc/rpc/des_soft.c
+++ b/lib/libc/rpc/des_soft.c
@@ -58,8 +58,7 @@ static char partab[128] = {
* Add odd parity to low bit of 8 byte key
*/
void
-des_setparity(p)
- char *p;
+des_setparity(char *p)
{
int i;
OpenPOWER on IntegriCloud