summaryrefslogtreecommitdiff
path: root/contrib/isn/UPC.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/UPC.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/UPC.h')
-rw-r--r--contrib/isn/UPC.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/isn/UPC.h b/contrib/isn/UPC.h
index b95473e12df..01b9f155925 100644
--- a/contrib/isn/UPC.h
+++ b/contrib/isn/UPC.h
@@ -11,7 +11,7 @@
*/
/* where the digit set begins, and how many of them are in the table */
-const unsigned UPC_index[10][2] = {
+static const unsigned UPC_index[10][2] = {
{0, 0},
{0, 0},
{0, 0},
@@ -23,6 +23,6 @@ const unsigned UPC_index[10][2] = {
{0, 0},
{0, 0},
};
-const char *UPC_range[][2] = {
+static const char *UPC_range[][2] = {
{NULL, NULL}
};