Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libcrypt fix nested extern declaration.
details: https://anonhg.NetBSD.org/src/rev/70d7340979ac
branches: trunk
changeset: 501707:70d7340979ac
user: christos <christos%NetBSD.org@localhost>
date: Fri Jan 05 23:11:13 2001 +0000
description:
fix nested extern declaration.
diffstat:
lib/libcrypt/crypt.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 1cb2418ae2ca -r 70d7340979ac lib/libcrypt/crypt.c
--- a/lib/libcrypt/crypt.c Fri Jan 05 23:05:08 2001 +0000
+++ b/lib/libcrypt/crypt.c Fri Jan 05 23:11:13 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: crypt.c,v 1.16 2000/07/06 11:13:49 ad Exp $ */
+/* $NetBSD: crypt.c,v 1.17 2001/01/05 23:11:13 christos 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.16 2000/07/06 11:13:49 ad Exp $");
+__RCSID("$NetBSD: crypt.c,v 1.17 2001/01/05 23:11:13 christos Exp $");
#endif
#endif /* not lint */
@@ -471,6 +471,8 @@
static C_block constdatablock; /* encryption constant */
static char cryptresult[1+4+4+11+1]; /* encrypted result */
+extern char *__md5crypt(const char *, const char *); /* XXX */
+
/*
* Return a pointer to static data consisting of the "setting"
* followed by an encryption produced by the "key" and "setting".
@@ -480,7 +482,6 @@
const char *key;
const char *setting;
{
- extern char *__md5crypt(const char *, const char *); /* XXX */
char *encp;
int32_t i;
int t;
Home |
Main Index |
Thread Index |
Old Index