aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
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 };
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 <name>[:<alias>] from nul-terminated p where p matches
<name>[:<alias>]: after leading whitespace.