aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-06-13 14:34:55 +0200
committerTharre <tharre3@gmail.com>2015-06-13 14:34:55 +0200
commit43b0098731d2b4a3b0a3191e5eee0ffce7493c30 (patch)
tree115845a10a0e0edaee8fb96ee142ed439d8147dc /src
parent2c2c0ffc8e456f35581744045cb5e90b9051b9c1 (diff)
downloadredo-43b0098731d2b4a3b0a3191e5eee0ffce7493c30.tar.gz
redo-43b0098731d2b4a3b0a3191e5eee0ffce7493c30.tar.xz
redo-43b0098731d2b4a3b0a3191e5eee0ffce7493c30.zip
Make sha1_to_hex static
Diffstat (limited to 'src')
-rw-r--r--src/build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.c b/src/build.c
index 5728155..e57e554 100644
--- a/src/build.c
+++ b/src/build.c
@@ -394,7 +394,7 @@ static unsigned char *hash_file(const char *target) {
return hash;
}
-void sha1_to_hex(const unsigned char *sha1, char *buf) {
+static void sha1_to_hex(const unsigned char *sha1, char *buf) {
static const char hex[] = "0123456789abcdef";
for (int i = 0; i < 20; ++i) {