mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Remove unnecessary prototypes
Prototypes for functions implementing V1-callable functions are no longer necessary. Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi> Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>
This commit is contained in:
parent
a5da81359d
commit
0665023b44
@ -174,7 +174,6 @@ typedef BloomScanOpaqueData *BloomScanOpaque;
|
||||
|
||||
/* blutils.c */
|
||||
extern void _PG_init(void);
|
||||
extern Datum blhandler(PG_FUNCTION_ARGS);
|
||||
extern void initBloomState(BloomState *state, Relation index);
|
||||
extern void BloomFillMetapage(Relation index, Page metaPage);
|
||||
extern void BloomInitMetapage(Relation index);
|
||||
|
@ -34,14 +34,4 @@ enum gbtree_type
|
||||
gbt_t_inet
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Generic btree functions
|
||||
*/
|
||||
|
||||
Datum gbtreekey_in(PG_FUNCTION_ARGS);
|
||||
|
||||
Datum gbtreekey_out(PG_FUNCTION_ARGS);
|
||||
|
||||
#endif
|
||||
|
@ -36,28 +36,4 @@
|
||||
|
||||
#include "fmgr.h"
|
||||
|
||||
/*
|
||||
* External declarations
|
||||
*/
|
||||
extern Datum dblink_connect(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_disconnect(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_open(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_close(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_fetch(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_record(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_send_query(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_get_result(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_get_connections(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_is_busy(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_cancel_query(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_error_message(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_exec(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_get_pkey(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_build_sql_insert(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_build_sql_delete(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_build_sql_update(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_current_query(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_get_notify(PG_FUNCTION_ARGS);
|
||||
extern Datum dblink_fdw_validator(PG_FUNCTION_ARGS);
|
||||
|
||||
#endif /* DBLINK_H */
|
||||
|
@ -30,25 +30,6 @@ typedef uint64 ean13;
|
||||
#define PG_GETARG_EAN13(n) PG_GETARG_INT64(n)
|
||||
#define PG_RETURN_EAN13(x) PG_RETURN_INT64(x)
|
||||
|
||||
extern Datum isn_out(PG_FUNCTION_ARGS);
|
||||
extern Datum ean13_out(PG_FUNCTION_ARGS);
|
||||
extern Datum ean13_in(PG_FUNCTION_ARGS);
|
||||
extern Datum isbn_in(PG_FUNCTION_ARGS);
|
||||
extern Datum ismn_in(PG_FUNCTION_ARGS);
|
||||
extern Datum issn_in(PG_FUNCTION_ARGS);
|
||||
extern Datum upc_in(PG_FUNCTION_ARGS);
|
||||
|
||||
extern Datum isbn_cast_from_ean13(PG_FUNCTION_ARGS);
|
||||
extern Datum ismn_cast_from_ean13(PG_FUNCTION_ARGS);
|
||||
extern Datum issn_cast_from_ean13(PG_FUNCTION_ARGS);
|
||||
extern Datum upc_cast_from_ean13(PG_FUNCTION_ARGS);
|
||||
|
||||
extern Datum is_valid(PG_FUNCTION_ARGS);
|
||||
extern Datum make_valid(PG_FUNCTION_ARGS);
|
||||
|
||||
extern Datum accept_weak_input(PG_FUNCTION_ARGS);
|
||||
extern Datum weak_input_status(PG_FUNCTION_ARGS);
|
||||
|
||||
extern void initialize(void);
|
||||
|
||||
#endif /* ISN_H */
|
||||
|
@ -34,17 +34,4 @@
|
||||
|
||||
#include "fmgr.h"
|
||||
|
||||
/* exported functions */
|
||||
Datum pg_digest(PG_FUNCTION_ARGS);
|
||||
Datum pg_hmac(PG_FUNCTION_ARGS);
|
||||
Datum pg_gen_salt(PG_FUNCTION_ARGS);
|
||||
Datum pg_gen_salt_rounds(PG_FUNCTION_ARGS);
|
||||
Datum pg_crypt(PG_FUNCTION_ARGS);
|
||||
Datum pg_encrypt(PG_FUNCTION_ARGS);
|
||||
Datum pg_decrypt(PG_FUNCTION_ARGS);
|
||||
Datum pg_encrypt_iv(PG_FUNCTION_ARGS);
|
||||
Datum pg_decrypt_iv(PG_FUNCTION_ARGS);
|
||||
Datum pg_random_bytes(PG_FUNCTION_ARGS);
|
||||
Datum pg_random_uuid(PG_FUNCTION_ARGS);
|
||||
|
||||
#endif
|
||||
|
@ -36,13 +36,4 @@
|
||||
|
||||
#include "fmgr.h"
|
||||
|
||||
/*
|
||||
* External declarations
|
||||
*/
|
||||
extern Datum normal_rand(PG_FUNCTION_ARGS);
|
||||
extern Datum crosstab(PG_FUNCTION_ARGS);
|
||||
extern Datum crosstab_hash(PG_FUNCTION_ARGS);
|
||||
extern Datum connectby_text(PG_FUNCTION_ARGS);
|
||||
extern Datum connectby_text_serial(PG_FUNCTION_ARGS);
|
||||
|
||||
#endif /* TABLEFUNC_H */
|
||||
|
Loading…
Reference in New Issue
Block a user