diff options
author | Andres Freund | 2025-03-29 14:48:59 +0000 |
---|---|---|
committer | Andres Freund | 2025-03-29 14:48:59 +0000 |
commit | 116e851db5b3e51c962cc3468ba3055291cd8697 (patch) | |
tree | 68f56a88fcfc20ccd206c4a1e9f4e56fb5cad1d3 | |
parent | 14ffaece0fb53fed8ddbc46d2b353e1c4834863a (diff) |
Fix "‘static’ is not at beginning of declaration" warning
b98be8a2a2a used "const static" instead of "static const". We normally use the
latter form.
Discussion: https://postgr.es/m/z4mc2hzecahyq3paupfsouhuupmzmgum45md3k5my6bmo7gvn7@z5j26doqamqy
-rw-r--r-- | src/port/pg_localeconv_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
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), |