mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Remove redundant shared library function prototypes
From PostgreSQL 9.4 (commit e7128e8d), explicit function prototypes are not required as they will be generated by the PG_FUNCTION_INFO_V1 macro. (We were supporting PostgreSQL 9.3 until relatively recently, so there was nothing particular to gain by removing these earlier).
This commit is contained in:
35
repmgr.c
35
repmgr.c
@@ -88,58 +88,23 @@ void _PG_fini(void);
|
||||
|
||||
static void repmgr_shmem_startup(void);
|
||||
|
||||
Datum repmgr_set_local_node_id(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_set_local_node_id);
|
||||
|
||||
Datum repmgr_get_local_node_id(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_get_local_node_id);
|
||||
|
||||
Datum repmgr_standby_set_last_updated(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_standby_set_last_updated);
|
||||
|
||||
Datum repmgr_standby_get_last_updated(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_standby_get_last_updated);
|
||||
|
||||
Datum repmgr_set_upstream_last_seen(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_set_upstream_last_seen);
|
||||
|
||||
Datum repmgr_get_upstream_last_seen(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_get_upstream_last_seen);
|
||||
|
||||
Datum repmgr_get_upstream_node_id(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_get_upstream_node_id);
|
||||
|
||||
Datum repmgr_set_upstream_node_id(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_set_upstream_node_id);
|
||||
|
||||
Datum repmgr_notify_follow_primary(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_notify_follow_primary);
|
||||
|
||||
Datum repmgr_get_new_primary(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_get_new_primary);
|
||||
|
||||
Datum repmgr_reset_voting_status(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_reset_voting_status);
|
||||
|
||||
Datum set_repmgrd_pid(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(set_repmgrd_pid);
|
||||
|
||||
Datum get_repmgrd_pid(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(get_repmgrd_pid);
|
||||
|
||||
Datum get_repmgrd_pidfile(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(get_repmgrd_pidfile);
|
||||
|
||||
Datum repmgrd_is_running(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgrd_is_running);
|
||||
|
||||
Datum repmgrd_pause(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgrd_pause);
|
||||
|
||||
Datum repmgrd_is_paused(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgrd_is_paused);
|
||||
|
||||
Datum repmgr_get_wal_receiver_pid(PG_FUNCTION_ARGS);
|
||||
PG_FUNCTION_INFO_V1(repmgr_get_wal_receiver_pid);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user