aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/jsonb.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-05-24 12:20:23 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-05-24 12:20:23 -0400
commit91e79260f636ab4d5a43910b6a38bc75651ad14c (patch)
tree10a3d8b52b29ba4529aba393f5371dbd545bdfbb /src/include/utils/jsonb.h
parent807b9e0dff663c5da875af7907a5106c0ff90673 (diff)
downloadpostgresql-91e79260f636ab4d5a43910b6a38bc75651ad14c.tar.gz
postgresql-91e79260f636ab4d5a43910b6a38bc75651ad14c.zip
Remove no-longer-required function declarations.
Remove a bunch of "extern Datum foo(PG_FUNCTION_ARGS);" declarations that are no longer needed now that PG_FUNCTION_INFO_V1(foo) provides that. Some of these were evidently missed in commit e7128e8dbb305059, but others were cargo-culted in in code added since then. Possibly that can be blamed in part on the fact that we'd not fixed relevant documentation examples, which I've now done.
Diffstat (limited to 'src/include/utils/jsonb.h')
-rw-r--r--src/include/utils/jsonb.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/utils/jsonb.h b/src/include/utils/jsonb.h
index 4d614430ce1..026ed55a3c9 100644
--- a/src/include/utils/jsonb.h
+++ b/src/include/utils/jsonb.h
@@ -401,9 +401,9 @@ extern Datum jsonb_pretty(PG_FUNCTION_ARGS);
extern Datum jsonb_concat(PG_FUNCTION_ARGS);
/* deletion */
-Datum jsonb_delete(PG_FUNCTION_ARGS);
-Datum jsonb_delete_idx(PG_FUNCTION_ARGS);
-Datum jsonb_delete_path(PG_FUNCTION_ARGS);
+extern Datum jsonb_delete(PG_FUNCTION_ARGS);
+extern Datum jsonb_delete_idx(PG_FUNCTION_ARGS);
+extern Datum jsonb_delete_path(PG_FUNCTION_ARGS);
/* replacement */
extern Datum jsonb_replace(PG_FUNCTION_ARGS);