diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-02-19 12:07:44 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-02-19 12:07:44 -0500 |
commit | 524d64ea8e3e49b4fda41ff9b2f048b697384058 (patch) | |
tree | d6b40bcebf91ebdad805aac2fd91ea001e04e495 /contrib/postgres_fdw/deparse.c | |
parent | 8c44802b6ed4846accb08e2ffe93040b8b42aae9 (diff) | |
download | postgresql-524d64ea8e3e49b4fda41ff9b2f048b697384058.tar.gz postgresql-524d64ea8e3e49b4fda41ff9b2f048b697384058.zip |
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
Diffstat (limited to 'contrib/postgres_fdw/deparse.c')
-rw-r--r-- | contrib/postgres_fdw/deparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/postgres_fdw/deparse.c b/contrib/postgres_fdw/deparse.c index 02894a7e354..8cd5843885e 100644 --- a/contrib/postgres_fdw/deparse.c +++ b/contrib/postgres_fdw/deparse.c @@ -927,7 +927,7 @@ build_tlist_to_deparse(RelOptInfo *foreignrel) * * List of columns selected is returned in retrieved_attrs. */ -extern void +void deparseSelectStmtForRel(StringInfo buf, PlannerInfo *root, RelOptInfo *rel, List *tlist, List *remote_conds, List *pathkeys, bool is_subquery, List **retrieved_attrs, @@ -1313,7 +1313,7 @@ appendConditions(List *exprs, deparse_expr_cxt *context) } /* Output join name for given join type */ -extern const char * +const char * get_jointype_name(JoinType jointype) { switch (jointype) |