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/krb remove/avoid redundand declarations.



details:   https://anonhg.NetBSD.org/src/rev/c8b70cb6b628
branches:  trunk
changeset: 503294:c8b70cb6b628
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 04 18:04:03 2001 +0000

description:
remove/avoid redundand declarations.

diffstat:

 crypto/dist/krb4/lib/krb/krb-archaeology.h |  6 +-----
 crypto/dist/krb4/lib/krb/krb.h             |  4 +++-
 crypto/dist/krb4/lib/krb/mk_safe.c         |  3 +--
 3 files changed, 5 insertions(+), 8 deletions(-)

diffs (61 lines):

diff -r dd39e6ea55c6 -r c8b70cb6b628 crypto/dist/krb4/lib/krb/krb-archaeology.h
--- a/crypto/dist/krb4/lib/krb/krb-archaeology.h        Sun Feb 04 18:03:03 2001 +0000
+++ b/crypto/dist/krb4/lib/krb/krb-archaeology.h        Sun Feb 04 18:04:03 2001 +0000
@@ -1,5 +1,5 @@
 /*
- * $Id: krb-archaeology.h,v 1.1.1.2 2000/12/29 01:43:14 assar Exp $
+ * $Id: krb-archaeology.h,v 1.2 2001/02/04 18:04:03 christos Exp $
  *
  * Most of the cruft in this file is probably:
  *
@@ -19,10 +19,6 @@
 
 #define krb_lsb_antinet_ushort_less(x, y) (((x) == (y)) ? 0 : krb_lsb_antinet_ushort_cmp(x, y))
 
-int krb_lsb_antinet_ulong_cmp(u_int32_t x, u_int32_t y);
-int krb_lsb_antinet_ushort_cmp(u_int16_t x, u_int16_t y);
-u_int32_t lsb_time(time_t t, struct sockaddr_in *src, struct sockaddr_in *dst);
-
 /* Macro's to obtain various fields from a packet */
 
 #define pkt_version(packet)  (unsigned int) *(packet->dat)
diff -r dd39e6ea55c6 -r c8b70cb6b628 crypto/dist/krb4/lib/krb/krb.h
--- a/crypto/dist/krb4/lib/krb/krb.h    Sun Feb 04 18:03:03 2001 +0000
+++ b/crypto/dist/krb4/lib/krb/krb.h    Sun Feb 04 18:04:03 2001 +0000
@@ -1,5 +1,5 @@
 /*
- * $Id: krb.h,v 1.2 2000/06/19 22:40:17 thorpej Exp $
+ * $Id: krb.h,v 1.3 2001/02/04 18:04:03 christos Exp $
  *
  * Copyright 1987, 1988 by the Massachusetts Institute of Technology. 
  *
@@ -336,7 +336,9 @@
 #define KRB_VERIFY_SECURE      1
 #define KRB_VERIFY_SECURE_FAIL 2
 
+#ifndef krb4_version
 extern const char *krb4_version;
+#endif
 
 typedef int (*key_proc_t) __P((const char *name,
                               char *instance, /* INOUT parameter */
diff -r dd39e6ea55c6 -r c8b70cb6b628 crypto/dist/krb4/lib/krb/mk_safe.c
--- a/crypto/dist/krb4/lib/krb/mk_safe.c        Sun Feb 04 18:03:03 2001 +0000
+++ b/crypto/dist/krb4/lib/krb/mk_safe.c        Sun Feb 04 18:04:03 2001 +0000
@@ -33,7 +33,7 @@
 
 #include "krb_locl.h"
 
-RCSID("$Id: mk_safe.c,v 1.1.1.2 2000/12/29 01:43:17 assar Exp $");
+RCSID("$Id: mk_safe.c,v 1.2 2001/02/04 18:04:03 christos Exp $");
 
 /* application include files */
 #include "krb-archaeology.h"
@@ -50,7 +50,6 @@
 
 /* from rd_safe.c */
 extern int dqc_type;
-void fixup_quad_cksum(void*, size_t, des_cblock*, void*, void*, int);
 
 /*
  * krb_mk_safe() constructs an AUTH_MSG_SAFE message.  It takes some



Home | Main Index | Thread Index | Old Index