Remove inappropriate semicolons after function definitions.

Solaris Studio warns about this, and some compilers might think it's an
outright syntax error.
pull/3/head
Tom Lane 13 years ago
parent 81e8264383
commit fa188b5ef5
  1. 8
      src/backend/utils/adt/json.c

@ -1068,7 +1068,7 @@ array_to_json(PG_FUNCTION_ARGS)
array_to_json_internal(array, result, false); array_to_json_internal(array, result, false);
PG_RETURN_TEXT_P(cstring_to_text(result->data)); PG_RETURN_TEXT_P(cstring_to_text(result->data));
}; }
/* /*
* SQL function array_to_json(row, prettybool) * 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); array_to_json_internal(array, result, use_line_feeds);
PG_RETURN_TEXT_P(cstring_to_text(result->data)); PG_RETURN_TEXT_P(cstring_to_text(result->data));
}; }
/* /*
* SQL function row_to_json(row) * SQL function row_to_json(row)
@ -1101,7 +1101,7 @@ row_to_json(PG_FUNCTION_ARGS)
composite_to_json(array, result, false); composite_to_json(array, result, false);
PG_RETURN_TEXT_P(cstring_to_text(result->data)); PG_RETURN_TEXT_P(cstring_to_text(result->data));
}; }
/* /*
* SQL function row_to_json(row, prettybool) * 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); composite_to_json(array, result, use_line_feeds);
PG_RETURN_TEXT_P(cstring_to_text(result->data)); PG_RETURN_TEXT_P(cstring_to_text(result->data));
}; }
/* /*
* Produce a JSON string literal, properly escaping characters in the text. * Produce a JSON string literal, properly escaping characters in the text.

Loading…
Cancel
Save