]> git.meshlink.io Git - meshlink/blobdiff - src/utils.c
sparse fixup: warning: symbol '...' was not declared. Should it be static?
[meshlink] / src / utils.c
index dd7e4de25c53548a709258bbf79626b35bb08d43..4aed59f5cbd8de5674abcbb040365e0fb5cf9d7e 100644 (file)
@@ -23,9 +23,9 @@
 #include "../src/logger.h"
 #include "utils.h"
 
-const char hexadecimals[] = "0123456789ABCDEF";
+static const char hexadecimals[] = "0123456789ABCDEF";
 
-int charhex2bin(char c) {
+static int charhex2bin(char c) {
        if(isdigit(c))
                return c - '0';
        else