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 /networking/wget.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 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c index 45acef4d6..59f30c06d 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -117,9 +117,9 @@ static char *safe_fgets(char *s, int size, FILE *stream) | |||
117 | /* | 117 | /* |
118 | * Base64-encode character string | 118 | * Base64-encode character string |
119 | * oops... isn't something similar in uuencode.c? | 119 | * oops... isn't something similar in uuencode.c? |
120 | * It would be better to use already existing code | 120 | * XXX: It would be better to use already existing code |
121 | */ | 121 | */ |
122 | char *base64enc(unsigned char *p, char *buf, int len) { | 122 | static char *base64enc(unsigned char *p, char *buf, int len) { |
123 | 123 | ||
124 | char al[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" | 124 | char al[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" |
125 | "0123456789+/"; | 125 | "0123456789+/"; |