OSDN Git Service

Avoid the redundant declaration of the function prototypes.
authorMasaoFujii <masao.fujii@gmail.com>
Thu, 5 Feb 2015 10:24:14 +0000 (19:24 +0900)
committerMasaoFujii <masao.fujii@gmail.com>
Thu, 5 Feb 2015 10:26:42 +0000 (19:26 +0900)
commit22f9a672ad9063ad50955cd3c52f08459dc3573c
tree86a526fc860da660411f90f5daa32df509579a9e
parent029ab21b78c61a958db1ca2740fcebe60b6aabd5
Avoid the redundant declaration of the function prototypes.

When the server version is 9.4 or later, PG_FUNCTION_INFO_V1 macro
always creates the prototype of its given function, so we avoid
declaring the prototypes of all the global functions for pg_bigm.
IOW, the function prototypes are there only when the server version
is 9.3 or before.

This commit is inspired by the change of pg_trgm:
e7128e8dbb305059c30ec085461297e619bcbff4

Back-patch to 1.1 where 9.4 is supported.

Beena Emerson
bigm_gin.c
bigm_op.c