diff options
Diffstat (limited to 'src/tutorial/C-code')
-rw-r--r-- | src/tutorial/C-code/complex.c | 2 | ||||
-rw-r--r-- | src/tutorial/C-code/funcs.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tutorial/C-code/complex.c b/src/tutorial/C-code/complex.c index 8efbf553918..e5bea2d1134 100644 --- a/src/tutorial/C-code/complex.c +++ b/src/tutorial/C-code/complex.c @@ -62,7 +62,7 @@ complex_in(char *str) * pointer. POSTGRES thinks all output functions are: * char *out_func(char *); */ -char * +char * complex_out(Complex * complex) { char *result; diff --git a/src/tutorial/C-code/funcs.c b/src/tutorial/C-code/funcs.c index 5a70262f070..71371f51609 100644 --- a/src/tutorial/C-code/funcs.c +++ b/src/tutorial/C-code/funcs.c @@ -33,7 +33,7 @@ add_one(int arg) return (arg + 1); } -char16 * +char16 * concat16(char16 *arg1, char16 *arg2) { char16 *new_c16 = (char16 *) palloc(sizeof(char16)); @@ -43,7 +43,7 @@ concat16(char16 *arg1, char16 *arg2) return (char16 *) (strncat((char *) new_c16, (char *) arg2, 16)); } -text * +text * copytext(text *t) { |