diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-05-24 12:20:23 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-05-24 12:20:23 -0400 |
commit | 91e79260f636ab4d5a43910b6a38bc75651ad14c (patch) | |
tree | 10a3d8b52b29ba4529aba393f5371dbd545bdfbb /src/tutorial/funcs_new.c | |
parent | 807b9e0dff663c5da875af7907a5106c0ff90673 (diff) | |
download | postgresql-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/tutorial/funcs_new.c')
-rw-r--r-- | src/tutorial/funcs_new.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/tutorial/funcs_new.c b/src/tutorial/funcs_new.c index abe409b8591..f668d281bb1 100644 --- a/src/tutorial/funcs_new.c +++ b/src/tutorial/funcs_new.c @@ -18,15 +18,6 @@ PG_MODULE_MAGIC; -/* These prototypes just prevent possible warnings from gcc. */ - -Datum add_one(PG_FUNCTION_ARGS); -Datum add_one_float8(PG_FUNCTION_ARGS); -Datum makepoint(PG_FUNCTION_ARGS); -Datum copytext(PG_FUNCTION_ARGS); -Datum concat_text(PG_FUNCTION_ARGS); -Datum c_overpaid(PG_FUNCTION_ARGS); - /* By Value */ |