diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-04-16 19:39:00 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-04-16 19:39:00 +0000 |
commit | 136eb768505a2506265c13d2f8f983caa7ff50a8 (patch) | |
tree | 2aa792b8a9d8f7af365c456f19f34a963236c26d /libbb | |
parent | 70ebeba228b7a2a8318613aefc110e6f0eaf663e (diff) | |
download | busybox-w32-136eb768505a2506265c13d2f8f983caa7ff50a8.tar.gz busybox-w32-136eb768505a2506265c13d2f8f983caa7ff50a8.tar.bz2 busybox-w32-136eb768505a2506265c13d2f8f983caa7ff50a8.zip |
Patch from Bernhard Fischer to make a bunch of symbols static
which were otherwise cluttering the global namespace.
git-svn-id: svn://busybox.net/trunk/busybox@10121 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/hash_fd.c | 2 | ||||
-rw-r--r-- | libbb/interface.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libbb/hash_fd.c b/libbb/hash_fd.c index e37ac549a..5f12259b3 100644 --- a/libbb/hash_fd.c +++ b/libbb/hash_fd.c | |||
@@ -197,7 +197,7 @@ static uint32_t mask[4] = { 0x00000000, 0xff000000, 0xffff0000, 0xffffff00 }; | |||
197 | static uint32_t bits[4] = { 0x80000000, 0x00800000, 0x00008000, 0x00000080 }; | 197 | static uint32_t bits[4] = { 0x80000000, 0x00800000, 0x00008000, 0x00000080 }; |
198 | # endif /* __BYTE_ORDER */ | 198 | # endif /* __BYTE_ORDER */ |
199 | 199 | ||
200 | void sha1_end(unsigned char hval[], struct sha1_ctx_t *ctx) | 200 | static void sha1_end(unsigned char hval[], struct sha1_ctx_t *ctx) |
201 | { | 201 | { |
202 | uint32_t i, cnt = (uint32_t) (ctx->count[0] & SHA1_MASK); | 202 | uint32_t i, cnt = (uint32_t) (ctx->count[0] & SHA1_MASK); |
203 | 203 | ||
diff --git a/libbb/interface.c b/libbb/interface.c index db18b9ad9..37a5f6405 100644 --- a/libbb/interface.c +++ b/libbb/interface.c | |||
@@ -986,7 +986,7 @@ static int if_readconf(void) | |||
986 | return err; | 986 | return err; |
987 | } | 987 | } |
988 | 988 | ||
989 | char *get_name(char *name, char *p) | 989 | static char *get_name(char *name, char *p) |
990 | { | 990 | { |
991 | /* Extract <name>[:<alias>] from nul-terminated p where p matches | 991 | /* Extract <name>[:<alias>] from nul-terminated p where p matches |
992 | <name>[:<alias>]: after leading whitespace. | 992 | <name>[:<alias>]: after leading whitespace. |