SDL: Fixed error: 'static' is not at beginning of declaration [-Werror=old-style-declaration]

From dfe1a37babb78e8cd338a05a0ec7c6a631727ead Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 29 Dec 2023 19:40:45 -0800
Subject: [PATCH] Fixed error: 'static' is not at beginning of declaration
 [-Werror=old-style-declaration]

---
 src/events/SDL_pen.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/events/SDL_pen.c b/src/events/SDL_pen.c
index ba5d1098ea22..b77a92b5f83c 100644
--- a/src/events/SDL_pen.c
+++ b/src/events/SDL_pen.c
@@ -866,7 +866,7 @@ SDL_bool SDL_PenPerformHitTest(void)
 #define PEN_NAME_LAST PEN_NAME_STROKE
 #define PEN_NUM_NAMES (PEN_NAME_LAST + 1)
 
-const static char *default_pen_names[PEN_NUM_NAMES] = {
+static const char *default_pen_names[] = {
     /* PEN_NAME_AES */
     "AES Pen",
     /* PEN_NAME_ART */
@@ -892,6 +892,7 @@ const static char *default_pen_names[PEN_NUM_NAMES] = {
     /* PEN_NAME_STROKE */
     "Stroke Pen"
 };
+SDL_COMPILE_TIME_ASSERT(default_pen_names, SDL_arraysize(default_pen_names) == PEN_NUM_NAMES);
 
 #define PEN_SPEC_TYPE_SHIFT    0
 #define PEN_SPEC_TYPE_MASK     0x0000000fu