summaryrefslogtreecommitdiff
path: root/src/include/utils/spccache.h
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-05-12 09:17:14 -0700
committerAndres Freund <andres@anarazel.de>2022-05-12 12:39:33 -0700
commit905c020bef99e16b37529203084cd93932e73805 (patch)
treefe51727d480ebbf10b6bcb0d1cee4faf75d9a82a /src/include/utils/spccache.h
parentc2f436151edc818601c2499e400e1ad53d0da66f (diff)
downloadpostgresql-905c020bef99e16b37529203084cd93932e73805.tar.gz
Add missing 'extern' to function prototypes.
Postgres style is to spell out extern. Noticed while scripting adding PGDLLIMPORT markers to functions. Discussion: https://postgr.es/m/20220512164513.vaheofqp2q24l65r@alap3.anarazel.de
Diffstat (limited to 'src/include/utils/spccache.h')
-rw-r--r--src/include/utils/spccache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/spccache.h b/src/include/utils/spccache.h
index 68cc0aed7c..5163eeedbd 100644
--- a/src/include/utils/spccache.h
+++ b/src/include/utils/spccache.h
@@ -13,9 +13,9 @@
#ifndef SPCCACHE_H
#define SPCCACHE_H
-void get_tablespace_page_costs(Oid spcid, float8 *spc_random_page_cost,
+extern void get_tablespace_page_costs(Oid spcid, float8 *spc_random_page_cost,
float8 *spc_seq_page_cost);
-int get_tablespace_io_concurrency(Oid spcid);
-int get_tablespace_maintenance_io_concurrency(Oid spcid);
+extern int get_tablespace_io_concurrency(Oid spcid);
+extern int get_tablespace_maintenance_io_concurrency(Oid spcid);
#endif /* SPCCACHE_H */