aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-04-16 19:39:00 +0000
committerEric Andersen <andersen@codepoet.org>2005-04-16 19:39:00 +0000
commit14f5c8d764ab7429367feb407ab86191054e6a8a (patch)
tree2aa792b8a9d8f7af365c456f19f34a963236c26d /libbb
parenta77b4f39708306d44058d7ca1683f448f51c5fce (diff)
downloadbusybox-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 'libbb')
-rw-r--r--libbb/hash_fd.c2
-rw-r--r--libbb/interface.c2
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 };
197static uint32_t bits[4] = { 0x80000000, 0x00800000, 0x00008000, 0x00000080 }; 197static uint32_t bits[4] = { 0x80000000, 0x00800000, 0x00008000, 0x00000080 };
198# endif /* __BYTE_ORDER */ 198# endif /* __BYTE_ORDER */
199 199
200void sha1_end(unsigned char hval[], struct sha1_ctx_t *ctx) 200static 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
989char *get_name(char *name, char *p) 989static 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.