Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd4bad1

Browse files
committed
Remove now superfluous declarations of dlsym()ed symbols.
The prior commit declared them centrally.Author: Andres Freund <andres@anarazel.de>Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/20211101020311.av6hphdl6xbjbuif@alap3.anarazel.de
1 parentf2b73c8 commitfd4bad1

File tree

31 files changed

+0
-64
lines changed

31 files changed

+0
-64
lines changed

‎contrib/auth_delay/auth_delay.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020

2121
PG_MODULE_MAGIC;
2222

23-
void_PG_init(void);
24-
2523
/* GUC Variables */
2624
staticintauth_delay_milliseconds;
2725

‎contrib/auto_explain/auto_explain.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ static ExecutorRun_hook_type prev_ExecutorRun = NULL;
7878
staticExecutorFinish_hook_typeprev_ExecutorFinish=NULL;
7979
staticExecutorEnd_hook_typeprev_ExecutorEnd=NULL;
8080

81-
void_PG_init(void);
82-
8381
staticvoidexplain_ExecutorStart(QueryDesc*queryDesc,inteflags);
8482
staticvoidexplain_ExecutorRun(QueryDesc*queryDesc,
8583
ScanDirectiondirection,

‎contrib/basebackup_to_shell/basebackup_to_shell.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ typedef struct bbsink_shell
3737
FILE*pipe;
3838
}bbsink_shell;
3939

40-
void_PG_init(void);
41-
4240
staticvoid*shell_check_detail(char*target,char*target_detail);
4341
staticbbsink*shell_get_sink(bbsink*next_sink,void*detail_arg);
4442

‎contrib/basic_archive/basic_archive.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@
4040

4141
PG_MODULE_MAGIC;
4242

43-
void_PG_init(void);
44-
void_PG_archive_module_init(ArchiveModuleCallbacks*cb);
45-
4643
staticchar*archive_directory=NULL;
4744
staticMemoryContextbasic_archive_context;
4845

‎contrib/bloom/bloom.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ typedef struct BloomScanOpaqueData
175175
typedefBloomScanOpaqueData*BloomScanOpaque;
176176

177177
/* blutils.c */
178-
externvoid_PG_init(void);
179178
externvoidinitBloomState(BloomState*state,Relationindex);
180179
externvoidBloomFillMetapage(Relationindex,PagemetaPage);
181180
externvoidBloomInitMetapage(Relationindex);

‎contrib/hstore_plperl/hstore_plperl.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
PG_MODULE_MAGIC;
99

10-
externvoid_PG_init(void);
11-
1210
/* Linkage to functions in hstore module */
1311
typedefHStore*(*hstoreUpgrade_t) (Datumorig);
1412
statichstoreUpgrade_thstoreUpgrade_p;

‎contrib/hstore_plpython/hstore_plpython.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
PG_MODULE_MAGIC;
99

10-
externvoid_PG_init(void);
11-
1210
/* Linkage to functions in plpython module */
1311
typedefchar*(*PLyObject_AsString_t) (PyObject*plrv);
1412
staticPLyObject_AsString_tPLyObject_AsString_p;

‎contrib/isn/isn.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -924,8 +924,6 @@ string2ean(const char *str, bool errorOK, ean13 *result,
924924
* Exported routines.
925925
*---------------------------------------------------------*/
926926

927-
void_PG_init(void);
928-
929927
void
930928
_PG_init(void)
931929
{

‎contrib/jsonb_plpython/jsonb_plpython.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99

1010
PG_MODULE_MAGIC;
1111

12-
void_PG_init(void);
13-
1412
/* for PLyObject_AsString in plpy_typeio.c */
1513
typedefchar*(*PLyObject_AsString_t) (PyObject*plrv);
1614
staticPLyObject_AsString_tPLyObject_AsString_p;

‎contrib/ltree_plpython/ltree_plpython.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
PG_MODULE_MAGIC;
88

9-
externvoid_PG_init(void);
10-
119
/* Linkage to functions in plpython module */
1210
typedefPyObject*(*PLyUnicode_FromStringAndSize_t) (constchar*s,Py_ssize_tsize);
1311
staticPLyUnicode_FromStringAndSize_tPLyUnicode_FromStringAndSize_p;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp