aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/hashes.c
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-12-01 20:25:20 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2019-12-01 20:25:20 +0100
commita149dda0e3b1c4a37ba1e6019930952374a3992c (patch)
tree7bc554f73ef5b14d07aded5b96548b512a647d3f /util-src/hashes.c
parent8613dc17392a43ab434c6e5f8b431cb17d2cb9ea (diff)
downloadprosody-a149dda0e3b1c4a37ba1e6019930952374a3992c.tar.gz
prosody-a149dda0e3b1c4a37ba1e6019930952374a3992c.zip
util.*.c: Add static qualifiers everywhere
Diffstat (limited to 'util-src/hashes.c')
-rw-r--r--util-src/hashes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util-src/hashes.c b/util-src/hashes.c
index 4c48b26f..51c7611c 100644
--- a/util-src/hashes.c
+++ b/util-src/hashes.c
@@ -35,8 +35,8 @@ typedef unsigned __int32 uint32_t;
#define HMAC_IPAD 0x36363636
#define HMAC_OPAD 0x5c5c5c5c
-const char *hex_tab = "0123456789abcdef";
-void toHex(const unsigned char *in, int length, unsigned char *out) {
+static const char *hex_tab = "0123456789abcdef";
+static void toHex(const unsigned char *in, int length, unsigned char *out) {
int i;
for(i = 0; i < length; i++) {