aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/json.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-06-30 17:29:45 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-06-30 17:29:45 -0400
commit4f1e0e402018c92030f33f2b48974c3a8ab212d1 (patch)
tree386257e99752dc84e999ae163b28c9304de369f7 /src/backend/utils/adt/json.c
parent52336a47024e8212be619fcfe28d384777ed7b72 (diff)
downloadpostgresql-4f1e0e402018c92030f33f2b48974c3a8ab212d1.tar.gz
postgresql-4f1e0e402018c92030f33f2b48974c3a8ab212d1.zip
Remove inappropriate semicolons after function definitions.
Solaris Studio warns about this, and some compilers might think it's an outright syntax error.
Diffstat (limited to 'src/backend/utils/adt/json.c')
-rw-r--r--src/backend/utils/adt/json.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/adt/json.c b/src/backend/utils/adt/json.c
index a7a7c2b3ade..0425ac6242f 100644
--- a/src/backend/utils/adt/json.c
+++ b/src/backend/utils/adt/json.c
@@ -1068,7 +1068,7 @@ array_to_json(PG_FUNCTION_ARGS)
array_to_json_internal(array, result, false);
PG_RETURN_TEXT_P(cstring_to_text(result->data));
-};
+}
/*
* SQL function array_to_json(row, prettybool)
@@ -1085,7 +1085,7 @@ array_to_json_pretty(PG_FUNCTION_ARGS)
array_to_json_internal(array, result, use_line_feeds);
PG_RETURN_TEXT_P(cstring_to_text(result->data));
-};
+}
/*
* SQL function row_to_json(row)
@@ -1101,7 +1101,7 @@ row_to_json(PG_FUNCTION_ARGS)
composite_to_json(array, result, false);
PG_RETURN_TEXT_P(cstring_to_text(result->data));
-};
+}
/*
* SQL function row_to_json(row, prettybool)
@@ -1118,7 +1118,7 @@ row_to_json_pretty(PG_FUNCTION_ARGS)
composite_to_json(array, result, use_line_feeds);
PG_RETURN_TEXT_P(cstring_to_text(result->data));
-};
+}
/*
* Produce a JSON string literal, properly escaping characters in the text.