mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user