mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +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:
@@ -1082,7 +1082,7 @@ init_spin_delay(SpinDelayStatus *status,
|
||||
}
|
||||
|
||||
#define init_local_spin_delay(status) init_spin_delay(status, __FILE__, __LINE__, PG_FUNCNAME_MACRO)
|
||||
void perform_spin_delay(SpinDelayStatus *status);
|
||||
void finish_spin_delay(SpinDelayStatus *status);
|
||||
extern void perform_spin_delay(SpinDelayStatus *status);
|
||||
extern void finish_spin_delay(SpinDelayStatus *status);
|
||||
|
||||
#endif /* S_LOCK_H */
|
||||
|
||||
Reference in New Issue
Block a user