diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2019-12-01 20:25:20 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2019-12-01 20:25:20 +0100 |
commit | a149dda0e3b1c4a37ba1e6019930952374a3992c (patch) | |
tree | 7bc554f73ef5b14d07aded5b96548b512a647d3f /util-src/hashes.c | |
parent | 8613dc17392a43ab434c6e5f8b431cb17d2cb9ea (diff) | |
download | prosody-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.c | 4 |
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++) { |