Source-Changes-HG archive

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

[src/trunk]: src/lib/libcrypt make __crypt static



details:   https://anonhg.NetBSD.org/src/rev/320f7092555a
branches:  trunk
changeset: 772293:320f7092555a
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Dec 28 03:13:09 2011 +0000

description:
make __crypt static

diffstat:

 lib/libcrypt/crypt.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 21bafb6dff34 -r 320f7092555a lib/libcrypt/crypt.c
--- a/lib/libcrypt/crypt.c      Wed Dec 28 03:12:38 2011 +0000
+++ b/lib/libcrypt/crypt.c      Wed Dec 28 03:13:09 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crypt.c,v 1.32 2011/12/27 23:34:13 christos Exp $      */
+/*     $NetBSD: crypt.c,v 1.33 2011/12/28 03:13:09 christos Exp $      */
 
 /*
  * Copyright (c) 1989, 1993
@@ -37,7 +37,7 @@
 #if 0
 static char sccsid[] = "@(#)crypt.c    8.1.1.1 (Berkeley) 8/18/93";
 #else
-__RCSID("$NetBSD: crypt.c,v 1.32 2011/12/27 23:34:13 christos Exp $");
+__RCSID("$NetBSD: crypt.c,v 1.33 2011/12/28 03:13:09 christos Exp $");
 #endif
 #endif /* not lint */
 
@@ -501,8 +501,7 @@
  * Return a pointer to static data consisting of the "setting"
  * followed by an encryption produced by the "key" and "setting".
  */
-char *__crypt(const char *, const char *);
-char *
+static char *
 __crypt(const char *key, const char *setting)
 {
        char *encp;



Home | Main Index | Thread Index | Old Index