Constify prtab() argument, fixes MKDEBUGLIB build.
This commit is contained in:
parent
c68404728d
commit
782d524f80
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: crypt.c,v 1.24 2006/10/27 19:39:11 drochner Exp $ */
|
/* $NetBSD: crypt.c,v 1.25 2006/11/25 17:55:48 freza Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1989, 1993
|
* Copyright (c) 1989, 1993
|
||||||
@ -37,7 +37,7 @@
|
|||||||
#if 0
|
#if 0
|
||||||
static char sccsid[] = "@(#)crypt.c 8.1.1.1 (Berkeley) 8/18/93";
|
static char sccsid[] = "@(#)crypt.c 8.1.1.1 (Berkeley) 8/18/93";
|
||||||
#else
|
#else
|
||||||
__RCSID("$NetBSD: crypt.c,v 1.24 2006/10/27 19:39:11 drochner Exp $");
|
__RCSID("$NetBSD: crypt.c,v 1.25 2006/11/25 17:55:48 freza Exp $");
|
||||||
#endif
|
#endif
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
@ -294,7 +294,7 @@ STATIC init_perm __P((C_block [64/CHUNKBITS][1<<CHUNKBITS],
|
|||||||
STATIC permute __P((const unsigned char *, C_block *, C_block *, int));
|
STATIC permute __P((const unsigned char *, C_block *, C_block *, int));
|
||||||
#endif
|
#endif
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
STATIC prtab __P((char *, unsigned char *, int));
|
STATIC prtab __P((const char *, unsigned char *, int));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@ -973,7 +973,7 @@ encrypt(block, flag)
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
STATIC
|
STATIC
|
||||||
prtab(s, t, num_rows)
|
prtab(s, t, num_rows)
|
||||||
char *s;
|
const char *s;
|
||||||
unsigned char *t;
|
unsigned char *t;
|
||||||
int num_rows;
|
int num_rows;
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user