diff options
| author | Andres Freund <andres@anarazel.de> | 2022-05-12 09:17:14 -0700 |
|---|---|---|
| committer | Andres Freund <andres@anarazel.de> | 2022-05-12 12:39:33 -0700 |
| commit | 905c020bef99e16b37529203084cd93932e73805 (patch) | |
| tree | fe51727d480ebbf10b6bcb0d1cee4faf75d9a82a /src/include/utils/spccache.h | |
| parent | c2f436151edc818601c2499e400e1ad53d0da66f (diff) | |
| download | postgresql-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.h | 6 |
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 */ |
