summaryrefslogtreecommitdiff
path: root/contrib/isn/ISSN.h
diff options
context:
space:
mode:
authorPeter Eisentraut2024-07-02 04:53:19 +0000
committerPeter Eisentraut2024-07-02 05:26:22 +0000
commit720b0eaae9b8a8326b2b6a6ff88fca4f47c631d4 (patch)
tree9e398e3bb3e6a229ed1007cff5f79192230dea71 /contrib/isn/ISSN.h
parenta4c87df43a45a407a1f3fd584a7ffb32342628cc (diff)
Convert some extern variables to static
These probably should have been static all along, it was only forgotten out of sloppiness. Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org
Diffstat (limited to 'contrib/isn/ISSN.h')
-rw-r--r--contrib/isn/ISSN.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/isn/ISSN.h b/contrib/isn/ISSN.h
index 585f0e26741..fe6fc7fb988 100644
--- a/contrib/isn/ISSN.h
+++ b/contrib/isn/ISSN.h
@@ -31,7 +31,7 @@
*/
/* where the digit set begins, and how many of them are in the table */
-const unsigned ISSN_index[10][2] = {
+static const unsigned ISSN_index[10][2] = {
{0, 1},
{0, 1},
{0, 1},
@@ -43,7 +43,7 @@ const unsigned ISSN_index[10][2] = {
{0, 1},
{0, 1},
};
-const char *ISSN_range[][2] = {
+static const char *ISSN_range[][2] = {
{"0000-000", "9999-999"},
{NULL, NULL}
};