mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Cosmetic improvements/code cleanup:
- replace some function signatures of the form "some_type foo()" with "some_type foo(void)" - replace a few instances of a literal 0 being used as a NULL pointer; there are more instances of this in the code, but I just fixed a few - in src/backend/utils/mb/wstrncmp.c, replace K&R style function declarations with ANSI style, remove use of 'register' keyword - remove an "extern" modifier that was applied to a function definition (rather than a declaration)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* procedural language
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_funcs.c,v 1.37 2004/09/14 23:46:46 neilc Exp $
|
||||
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_funcs.c,v 1.38 2004/10/10 23:37:45 neilc Exp $
|
||||
*
|
||||
* This software is copyrighted by Jan Wieck - Hamburg.
|
||||
*
|
||||
@@ -166,7 +166,7 @@ plpgsql_ns_push(char *label)
|
||||
* ----------
|
||||
*/
|
||||
void
|
||||
plpgsql_ns_pop()
|
||||
plpgsql_ns_pop(void)
|
||||
{
|
||||
int i;
|
||||
PLpgSQL_ns *old;
|
||||
@@ -503,7 +503,7 @@ static void dump_expr(PLpgSQL_expr *expr);
|
||||
|
||||
|
||||
static void
|
||||
dump_ind()
|
||||
dump_ind(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
Reference in New Issue
Block a user