From 03f339328c7a18fe87402207f2444661b10c1f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?b=CA=B0edoh=E2=82=82=20sw=C3=A9?= Date: Fri, 18 Oct 2024 00:05:00 +0500 Subject: [PATCH] Make streq static. --- hashtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashtable.c b/hashtable.c index f225ce3..d8bf25d 100644 --- a/hashtable.c +++ b/hashtable.c @@ -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) {