From 388151741be9622a80a8161dd2cbea1be8bd18a2 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sun, 19 Sep 2021 21:25:09 +0200 Subject: remove the unused static_strcmp macro --- src/kernel/util.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/kernel/util.h') diff --git a/src/kernel/util.h b/src/kernel/util.h index 0aa2c4c..b50810d 100644 --- a/src/kernel/util.h +++ b/src/kernel/util.h @@ -8,7 +8,3 @@ void *memcpy(void *dest, const void *src, size_t n); void *memset(void *s, int c, size_t n); int memcmp(const void *s1, const void *s2, size_t n); - -// s1 MUST be a string known at compiletime -#define static_strcmp(s1, s2) \ - memcmp(s1, s2, sizeof(s1)) -- cgit v1.2.3