mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +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:
@ -38,12 +38,12 @@ typedef struct Regis
|
||||
unused:15;
|
||||
} Regis;
|
||||
|
||||
bool RS_isRegis(const char *str);
|
||||
extern bool RS_isRegis(const char *str);
|
||||
|
||||
void RS_compile(Regis *r, bool issuffix, const char *str);
|
||||
void RS_free(Regis *r);
|
||||
extern void RS_compile(Regis *r, bool issuffix, const char *str);
|
||||
extern void RS_free(Regis *r);
|
||||
|
||||
/*returns true if matches */
|
||||
bool RS_execute(Regis *r, char *str);
|
||||
extern bool RS_execute(Regis *r, char *str);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user