aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'src/tutorial')
-rw-r--r--src/tutorial/complex.c17
-rw-r--r--src/tutorial/funcs_new.c9
2 files changed, 0 insertions, 26 deletions
diff --git a/src/tutorial/complex.c b/src/tutorial/complex.c
index a263110cd2d..ea7051bdebd 100644
--- a/src/tutorial/complex.c
+++ b/src/tutorial/complex.c
@@ -20,23 +20,6 @@ typedef struct Complex
double y;
} Complex;
-/*
- * Since we use V1 function calling convention, all these functions have
- * the same signature as far as C is concerned. We provide these prototypes
- * just to forestall warnings when compiled with gcc -Wmissing-prototypes.
- */
-Datum complex_in(PG_FUNCTION_ARGS);
-Datum complex_out(PG_FUNCTION_ARGS);
-Datum complex_recv(PG_FUNCTION_ARGS);
-Datum complex_send(PG_FUNCTION_ARGS);
-Datum complex_add(PG_FUNCTION_ARGS);
-Datum complex_abs_lt(PG_FUNCTION_ARGS);
-Datum complex_abs_le(PG_FUNCTION_ARGS);
-Datum complex_abs_eq(PG_FUNCTION_ARGS);
-Datum complex_abs_ge(PG_FUNCTION_ARGS);
-Datum complex_abs_gt(PG_FUNCTION_ARGS);
-Datum complex_abs_cmp(PG_FUNCTION_ARGS);
-
/*****************************************************************************
* Input/Output functions
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 */