diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-04-16 19:39:00 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-04-16 19:39:00 +0000 |
commit | 14f5c8d764ab7429367feb407ab86191054e6a8a (patch) | |
tree | 2aa792b8a9d8f7af365c456f19f34a963236c26d /loginutils/passwd.c | |
parent | a77b4f39708306d44058d7ca1683f448f51c5fce (diff) | |
download | busybox-w32-14f5c8d764ab7429367feb407ab86191054e6a8a.tar.gz busybox-w32-14f5c8d764ab7429367feb407ab86191054e6a8a.tar.bz2 busybox-w32-14f5c8d764ab7429367feb407ab86191054e6a8a.zip |
Patch from Bernhard Fischer to make a bunch of symbols static
which were otherwise cluttering the global namespace.
Diffstat (limited to 'loginutils/passwd.c')
-rw-r--r-- | loginutils/passwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); | |||
21 | static void set_filesize_limit(int blocks); | 21 | static void set_filesize_limit(int blocks); |
22 | 22 | ||
23 | 23 | ||
24 | int get_algo(char *a) | 24 | static int get_algo(char *a) |
25 | { | 25 | { |
26 | int x = 1; /* standard: MD5 */ | 26 | int x = 1; /* standard: MD5 */ |
27 | 27 | ||
@@ -31,7 +31,7 @@ int get_algo(char *a) | |||
31 | } | 31 | } |
32 | 32 | ||
33 | 33 | ||
34 | extern int update_passwd(const struct passwd *pw, char *crypt_pw) | 34 | static int update_passwd(const struct passwd *pw, char *crypt_pw) |
35 | { | 35 | { |
36 | char filename[1024]; | 36 | char filename[1024]; |
37 | char buf[1025]; | 37 | char buf[1025]; |