diff options
author | bde <bde@FreeBSD.org> | 1998-04-15 17:47:40 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-04-15 17:47:40 +0000 |
commit | b598f559b2947bb9582b53221185bb27d86cd68f (patch) | |
tree | f0a3b1121a7c68f5b6b630a3981fb3a4fbbc9c43 /sys/kern/md5c.c | |
parent | 37b60f29dd0d528b8bc950b0b559f304b73db9ec (diff) | |
download | FreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.zip FreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.tar.gz |
Support compiling with `gcc -ansi'.
Diffstat (limited to 'sys/kern/md5c.c')
-rw-r--r-- | sys/kern/md5c.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/md5c.c b/sys/kern/md5c.c index ff2fd57..f300fa1 100644 --- a/sys/kern/md5c.c +++ b/sys/kern/md5c.c @@ -22,7 +22,7 @@ * These notices must be retained in any copies of any part of this * documentation and/or software. * - * $Id: md5c.c,v 1.11 1998/03/27 10:23:00 phk Exp $ + * $Id: md5c.c,v 1.12 1998/03/29 11:54:52 phk Exp $ * * This code is the same as the code published by RSA Inc. It has been * edited for clarity and style only. @@ -44,16 +44,17 @@ #define memcpy(x,y,z) bcopy(y, x, z) #endif -#ifdef i386 +#ifdef __i386 #define Encode memcpy #define Decode memcpy -#else /* i386 */ +#else /* __i386 */ /* * Encodes input (u_int32_t) into output (unsigned char). Assumes len is * a multiple of 4. */ +/* XXX not prototyped, and not compatible with memcpy(). */ static void Encode (output, input, len) unsigned char *output; |