From 94b20e3128eaac566abfd7c0c773bb4c076c453e Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 3 Apr 2025 10:46:27 +0800 Subject: git2d: Use extern inline for utf8_decode --- git2d/utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git2d/utf8.h') diff --git a/git2d/utf8.h b/git2d/utf8.h index 894cbd5..56c6285 100644 --- a/git2d/utf8.h +++ b/git2d/utf8.h @@ -26,7 +26,7 @@ * occurs, this pointer will be a guess that depends on the particular * error, but it will always advance at least one byte. */ -static void * +inline void * utf8_decode(void *buf, uint32_t *c, int *e) { static const char lengths[] = { -- cgit v1.2.3