From 116e851db5b3e51c962cc3468ba3055291cd8697 Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Sat, 29 Mar 2025 10:48:59 -0400 Subject: [PATCH] =?utf8?q?Fix=20"=E2=80=98static=E2=80=99=20is=20not=20at?= =?utf8?q?=20beginning=20of=20declaration"=20warning?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit b98be8a2a2a used "const static" instead of "static const". We normally use the latter form. Discussion: https://postgr.es/m/z4mc2hzecahyq3paupfsouhuupmzmgum45md3k5my6bmo7gvn7@z5j26doqamqy --- src/port/pg_localeconv_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/port/pg_localeconv_r.c b/src/port/pg_localeconv_r.c index 89e5ccbd23a..938b4f82e12 100644 --- a/src/port/pg_localeconv_r.c +++ b/src/port/pg_localeconv_r.c @@ -60,7 +60,7 @@ struct lconv_member_info * column is the name of the nl_item, if translating from nl_langinfo_l() (it's * always the member name, in upper case). */ -const static struct lconv_member_info table[] = { +static const struct lconv_member_info table[] = { /* String fields. */ LCONV_S(LC_NUMERIC, decimal_point, DECIMAL_POINT), LCONV_S(LC_NUMERIC, thousands_sep, THOUSANDS_SEP), -- 2.39.5