Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/krb4/lib/des ifdef out redundant declaration of ...



details:   https://anonhg.NetBSD.org/src/rev/6f6c81635651
branches:  trunk
changeset: 503291:6f6c81635651
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 04 18:01:48 2001 +0000

description:
ifdef out redundant declaration of crypt(3); we don't need it.

diffstat:

 crypto/dist/krb4/lib/des/des.h |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 9e16debcbc2b -r 6f6c81635651 crypto/dist/krb4/lib/des/des.h
--- a/crypto/dist/krb4/lib/des/des.h    Sun Feb 04 18:00:31 2001 +0000
+++ b/crypto/dist/krb4/lib/des/des.h    Sun Feb 04 18:01:48 2001 +0000
@@ -202,6 +202,7 @@
 #ifdef PERL5
 char *des_crypt(const char *buf,const char *salt);
 #else
+#ifndef __NetBSD__
 /* some stupid compilers complain because I have declared char instead
  * of const char */
 #ifdef HEADER_DES_LOCL_H
@@ -210,6 +211,7 @@
 char *crypt();
 #endif
 #endif
+#endif
 void DES_LIB_FUNCTION des_ofb_encrypt(unsigned char *in,unsigned char *out,
        int numbits,long length,des_key_schedule schedule,des_cblock *ivec);
 void DES_LIB_FUNCTION des_pcbc_encrypt(des_cblock *input,des_cblock *output,long length,



Home | Main Index | Thread Index | Old Index