Make streq static.

This commit is contained in:
bʰedoh₂ swé 2024-10-18 00:05:00 +05:00
parent 32339e5e28
commit 03f339328c

View File

@ -4,7 +4,7 @@
#include "sdbm.h" #include "sdbm.h"
#include "hashtable.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) { if (len1 == 0 && len2 == 0) {
return !strcmp(str1, str2); return !strcmp(str1, str2);
} else if (len1 == len2) { } else if (len1 == len2) {