summaryrefslogtreecommitdiff
path: root/src/include/tsearch
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/tsearch
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/tsearch')
-rw-r--r--src/include/tsearch/dicts/regis.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/tsearch/dicts/regis.h b/src/include/tsearch/dicts/regis.h
index c72f2702ca..c7c3d9fb34 100644
--- a/src/include/tsearch/dicts/regis.h
+++ b/src/include/tsearch/dicts/regis.h
@@ -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