1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +03:00

Remove bogus "extern" annotations on function definitions.

While this is not illegal C, project style is to put "extern" only on
declarations not definitions.

David Rowley

Discussion: https://postgr.es/m/CAKJS1f9RKLWXcMBQhvDYhmsMEo+ALuNgA-NE+AX5Uoke9DJ2Xg@mail.gmail.com
This commit is contained in:
Tom Lane
2018-02-19 12:07:44 -05:00
parent 8c44802b6e
commit 524d64ea8e
7 changed files with 15 additions and 15 deletions

View File

@ -1843,7 +1843,7 @@ add_json(Datum val, bool is_null, StringInfo result,
/*
* SQL function array_to_json(row)
*/
extern Datum
Datum
array_to_json(PG_FUNCTION_ARGS)
{
Datum array = PG_GETARG_DATUM(0);
@ -1859,7 +1859,7 @@ array_to_json(PG_FUNCTION_ARGS)
/*
* SQL function array_to_json(row, prettybool)
*/
extern Datum
Datum
array_to_json_pretty(PG_FUNCTION_ARGS)
{
Datum array = PG_GETARG_DATUM(0);
@ -1876,7 +1876,7 @@ array_to_json_pretty(PG_FUNCTION_ARGS)
/*
* SQL function row_to_json(row)
*/
extern Datum
Datum
row_to_json(PG_FUNCTION_ARGS)
{
Datum array = PG_GETARG_DATUM(0);
@ -1892,7 +1892,7 @@ row_to_json(PG_FUNCTION_ARGS)
/*
* SQL function row_to_json(row, prettybool)
*/
extern Datum
Datum
row_to_json_pretty(PG_FUNCTION_ARGS)
{
Datum array = PG_GETARG_DATUM(0);