From 53cb5a2a0d1540a37e6e5d1c1673e8354d5208a5 Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Sat, 26 Feb 2022 00:41:29 +0100 Subject: Migrate away from wchar_t, default to utf8 --- src/util.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 573eb27..42b413f 100644 --- a/src/util.h +++ b/src/util.h @@ -1,7 +1,6 @@ #pragma once #include -#include #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define MIN(a, b) ((a) > (b) ? (b) : (a)) @@ -15,10 +14,6 @@ #define LINK(p) (&(p)->link) #define UPCAST(iter, type) LINK_UPCAST(iter, type, link) -int strnwidth(const char *s, int n); - -const wchar_t *wcscasestr(const wchar_t *haystack, const wchar_t *needle); - void panic(const char *file, int line, const char *msg, ...); void assert(int cond, const char *file, int line, const char *condstr); void error(const char *fmtstr, ...); -- cgit v1.2.3-71-gd317