summaryrefslogtreecommitdiff
path: root/src/include/utils/pgstat_internal.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/pgstat_internal.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/pgstat_internal.h')
-rw-r--r--src/include/utils/pgstat_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/pgstat_internal.h b/src/include/utils/pgstat_internal.h
index 0ee60b2f2a..0eccaea6c1 100644
--- a/src/include/utils/pgstat_internal.h
+++ b/src/include/utils/pgstat_internal.h
@@ -488,7 +488,7 @@ static inline void *pgstat_get_entry_data(PgStat_Kind kind, PgStatShared_Common
* Functions in pgstat.c
*/
-const PgStat_KindInfo *pgstat_get_kind_info(PgStat_Kind kind);
+extern const PgStat_KindInfo *pgstat_get_kind_info(PgStat_Kind kind);
#ifdef USE_ASSERT_CHECKING
extern void pgstat_assert_is_up(void);