From 14f5c8d764ab7429367feb407ab86191054e6a8a Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sat, 16 Apr 2005 19:39:00 +0000 Subject: Patch from Bernhard Fischer to make a bunch of symbols static which were otherwise cluttering the global namespace. --- loginutils/passwd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'loginutils/passwd.c') diff --git a/loginutils/passwd.c b/loginutils/passwd.c index 9c4b4ddfb..c8940eed7 100644 --- a/loginutils/passwd.c +++ b/loginutils/passwd.c @@ -21,7 +21,7 @@ static int new_password(const struct passwd *pw, int amroot, int algo); static void set_filesize_limit(int blocks); -int get_algo(char *a) +static int get_algo(char *a) { int x = 1; /* standard: MD5 */ @@ -31,7 +31,7 @@ int get_algo(char *a) } -extern int update_passwd(const struct passwd *pw, char *crypt_pw) +static int update_passwd(const struct passwd *pw, char *crypt_pw) { char filename[1024]; char buf[1025]; -- cgit v1.2.3