From 5719a7f7bc9a543a9aa575ae4590487a8bfb965e Mon Sep 17 00:00:00 2001 From: Martin Griffin Date: Fri, 19 Aug 2022 15:47:50 +0100 Subject: [PATCH] Use static inline instead of extern inline for modern --- include/palette.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/palette.h b/include/palette.h index b94cf6aa8..ed6256947 100644 --- a/include/palette.h +++ b/include/palette.h @@ -81,12 +81,12 @@ void TintPalette_GrayScale2(u16 *palette, u16 count); void TintPalette_SepiaTone(u16 *palette, u16 count); void TintPalette_CustomTone(u16 *palette, u16 count, u16 rTone, u16 gTone, u16 bTone); -extern inline void SetBackdropFromColor(u16 color) +static inline void SetBackdropFromColor(u16 color) { FillPalette(color, 0x00, PLTT_SIZEOF(1)); } -extern inline void SetBackdropFromPalette(const u16 *palette) +static inline void SetBackdropFromPalette(const u16 *palette) { LoadPalette(palette, 0x00, PLTT_SIZEOF(1)); }