From 136eb768505a2506265c13d2f8f983caa7ff50a8 Mon Sep 17 00:00:00 2001 From: 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. git-svn-id: svn://busybox.net/trunk/busybox@10121 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/hash_fd.c | 2 +- libbb/interface.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb') 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 }; static uint32_t bits[4] = { 0x80000000, 0x00800000, 0x00008000, 0x00000080 }; # endif /* __BYTE_ORDER */ -void sha1_end(unsigned char hval[], struct sha1_ctx_t *ctx) +static void sha1_end(unsigned char hval[], struct sha1_ctx_t *ctx) { uint32_t i, cnt = (uint32_t) (ctx->count[0] & SHA1_MASK); 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) return err; } -char *get_name(char *name, char *p) +static char *get_name(char *name, char *p) { /* Extract [:] from nul-terminated p where p matches [:]: after leading whitespace. -- cgit v1.2.3-55-g6feb