diff options
| author | Andres Freund | 2022-07-18 00:29:32 +0000 |
|---|---|---|
| committer | Andres Freund | 2022-07-18 00:29:32 +0000 |
| commit | fd4bad1655391582f639527c325fc4a99680cc64 (patch) | |
| tree | 5e59a7fcf0bbe666e0d64532dc2fe57a0eade6b8 /src/pl | |
| parent | f2b73c8d75d583adcdd3562adca335d31f430ac5 (diff) | |
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
Diffstat (limited to 'src/pl')
| -rw-r--r-- | src/pl/plperl/plperl.c | 1 | ||||
| -rw-r--r-- | src/pl/plpgsql/src/plpgsql.h | 5 | ||||
| -rw-r--r-- | src/pl/plpython/plpy_main.c | 2 | ||||
| -rw-r--r-- | src/pl/tcl/pltcl.c | 1 |
4 files changed, 0 insertions, 9 deletions
diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c index edb93ec1c4c..af354a68ccd 100644 --- a/src/pl/plperl/plperl.c +++ b/src/pl/plperl/plperl.c @@ -245,7 +245,6 @@ static plperl_call_data *current_call_data = NULL; /********************************************************************** * Forward declarations **********************************************************************/ -void _PG_init(void); static PerlInterpreter *plperl_init_interp(void); static void plperl_destroy_interp(PerlInterpreter **); diff --git a/src/pl/plpgsql/src/plpgsql.h b/src/pl/plpgsql/src/plpgsql.h index 4e6ee1c6198..19141602729 100644 --- a/src/pl/plpgsql/src/plpgsql.h +++ b/src/pl/plpgsql/src/plpgsql.h @@ -1265,11 +1265,6 @@ extern int plpgsql_add_initdatums(int **varnos); extern void plpgsql_HashTableInit(void); /* - * Functions in pl_handler.c - */ -extern void _PG_init(void); - -/* * Functions in pl_exec.c */ extern Datum plpgsql_exec_function(PLpgSQL_function *func, diff --git a/src/pl/plpython/plpy_main.c b/src/pl/plpython/plpy_main.c index 0bce1064951..a4d66f3057f 100644 --- a/src/pl/plpython/plpy_main.c +++ b/src/pl/plpython/plpy_main.c @@ -28,8 +28,6 @@ * exported functions */ -extern void _PG_init(void); - PG_MODULE_MAGIC; PG_FUNCTION_INFO_V1(plpython3_validator); diff --git a/src/pl/tcl/pltcl.c b/src/pl/tcl/pltcl.c index 0dd6d8ab2c2..eaa98d42c2e 100644 --- a/src/pl/tcl/pltcl.c +++ b/src/pl/tcl/pltcl.c @@ -261,7 +261,6 @@ static const TclExceptionNameMap exception_name_map[] = { /********************************************************************** * Forward declarations **********************************************************************/ -void _PG_init(void); static void pltcl_init_interp(pltcl_interp_desc *interp_desc, Oid prolang, bool pltrusted); |
