mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
util.*.c: Add static qualifiers everywhere
This commit is contained in:
parent
8613dc1739
commit
a149dda0e3
6 changed files with 47 additions and 52 deletions
|
@ -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++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue