Make streq static.
This commit is contained in:
parent
32339e5e28
commit
03f339328c
@ -4,7 +4,7 @@
|
||||
#include "sdbm.h"
|
||||
#include "hashtable.h"
|
||||
|
||||
bool streq(char* str1, size_t len1, char* str2, size_t len2) {
|
||||
static bool streq(char* str1, size_t len1, char* str2, size_t len2) {
|
||||
if (len1 == 0 && len2 == 0) {
|
||||
return !strcmp(str1, str2);
|
||||
} else if (len1 == len2) {
|
||||
|
Loading…
Reference in New Issue
Block a user