diff options
author | dfr <dfr@FreeBSD.org> | 1998-06-07 17:13:14 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-06-07 17:13:14 +0000 |
commit | 1d5f38ac2264102518a09c66a7b285f57e81e67e (patch) | |
tree | 83ce2f0e2b8041d2c933d3beffc1f4465ea5b929 /sys/kern/md5c.c | |
parent | 83423d0e5a4ad035e44392f0427cb39232031e45 (diff) | |
download | FreeBSD-src-1d5f38ac2264102518a09c66a7b285f57e81e67e.zip FreeBSD-src-1d5f38ac2264102518a09c66a7b285f57e81e67e.tar.gz |
This commit fixes various 64bit portability problems required for
FreeBSD/alpha. The most significant item is to change the command
argument to ioctl functions from int to u_long. This change brings us
inline with various other BSD versions. Driver writers may like to
use (__FreeBSD_version == 300003) to detect this change.
The prototype FreeBSD/alpha machdep will follow in a couple of days
time.
Diffstat (limited to 'sys/kern/md5c.c')
-rw-r--r-- | sys/kern/md5c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/md5c.c b/sys/kern/md5c.c index 2b23ac7..d6175ee 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.13 1998/04/15 17:46:21 bde Exp $ + * $Id: md5c.c,v 1.14 1998/05/01 16:40:19 bde Exp $ * * This code is the same as the code published by RSA Inc. It has been * edited for clarity and style only. @@ -44,7 +44,7 @@ #define memcpy(x,y,z) bcopy(y, x, z) #endif -#ifdef __i386__ +#if defined(__i386__) || defined(__alpha__) #define Encode memcpy #define Decode memcpy #else /* __i386__ */ |