Module Name: xsrc
Committed By: tsutsui
Date: Wed May 18 21:00:27 UTC 2011
Modified Files:
xsrc/xfree/xc/lib/Xdmcp: Wraphelp.c
Log Message:
Fix implicit type declarations for -std=gnu99.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/xfree/xc/lib/Xdmcp/Wraphelp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/xfree/xc/lib/Xdmcp/Wraphelp.c
diff -u xsrc/xfree/xc/lib/Xdmcp/Wraphelp.c:1.2 xsrc/xfree/xc/lib/Xdmcp/Wraphelp.c:1.3
--- xsrc/xfree/xc/lib/Xdmcp/Wraphelp.c:1.2 Fri Mar 18 15:51:29 2005
+++ xsrc/xfree/xc/lib/Xdmcp/Wraphelp.c Wed May 18 21:00:27 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: Wraphelp.c,v 1.2 2005/03/18 15:51:29 tron Exp $ */
+/* $NetBSD: Wraphelp.c,v 1.3 2011/05/18 21:00:27 tsutsui Exp $ */
/* Export of this software from the United States of America is assumed
* to require a specific license from the United States Government.
@@ -118,7 +118,7 @@
* Set up the key schedule from the key.
*/
-static
+static void
setkey(key)
char *key;
{
@@ -257,12 +257,13 @@
* The payoff: encrypt a block.
*/
-static
+static void
encrypt (block, edflag)
char *block;
+int edflag;
{
int i, ii;
- register t, j, k;
+ register int t, j, k;
/*
* First, permute the bits in the input
@@ -347,7 +348,7 @@
block[j] = L[FP[j]-1];
}
-static
+static void
bytes_to_bits (bytes, bits)
unsigned char *bytes;
char *bits;
@@ -362,7 +363,7 @@
}
}
-static
+static void
bits_to_bytes (bits, bytes)
char *bits;
unsigned char *bytes;