diff options
| author | mikel <mikel@NetBSD.org> | 1997-10-10 08:22:30 +0000 |
|---|---|---|
| committer | mikel <mikel@NetBSD.org> | 1997-10-10 08:22:30 +0000 |
| commit | cd0a22a42b7e4f479ef4e7be77a18a578cc370d2 (patch) | |
| tree | 7076c96129dd72b0f6285f86b2791a2b92cc746c /lib/libcrypt/crypt.c | |
| parent | 61a9f1c6a6c947487a90dc34f6a5a92e455f9650 (diff) | |
don't let prototypes disappear if LARGEDATA is defined
Diffstat (limited to 'lib/libcrypt/crypt.c')
| -rw-r--r-- | lib/libcrypt/crypt.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libcrypt/crypt.c b/lib/libcrypt/crypt.c index 1e959b3f849..faa971f5e33 100644 --- a/lib/libcrypt/crypt.c +++ b/lib/libcrypt/crypt.c @@ -1,4 +1,4 @@ -/* $NetBSD: crypt.c,v 1.7 1997/10/09 10:28:43 lukem Exp $ */ +/* $NetBSD: crypt.c,v 1.8 1997/10/10 08:22:30 mikel Exp $ */ /* * Copyright (c) 1989, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)crypt.c 8.1.1.1 (Berkeley) 8/18/93"; #else -__RCSID("$NetBSD: crypt.c,v 1.7 1997/10/09 10:28:43 lukem Exp $"); +__RCSID("$NetBSD: crypt.c,v 1.8 1997/10/10 08:22:30 mikel Exp $"); #endif #endif /* not lint */ @@ -283,16 +283,19 @@ typedef union { { C_block tblk; permute(cpp,&tblk,p,8); LOAD (d,d0,d1,tblk); } #define PERM3264(d,d0,d1,cpp,p) \ { C_block tblk; permute(cpp,&tblk,p,4); LOAD (d,d0,d1,tblk); } - +#endif /* LARGEDATA */ STATIC init_des __P((void)); STATIC init_perm __P((C_block [][], unsigned char [], int, int)); +#ifndef LARGEDATA STATIC permute __P((unsigned char *, C_block *, C_block *, int)); +#endif #ifdef DEBUG STATIC prtab __P((char *, unsigned char *, int)); #endif +#ifndef LARGEDATA STATIC permute(cp, out, p, chars_in) unsigned char *cp; |
