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:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/bootstrap/bootparse.y,v 1.73 2004/08/31 17:10:36 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/bootstrap/bootparse.y,v 1.74 2004/10/10 23:37:16 neilc Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -52,7 +52,7 @@
|
||||
|
||||
|
||||
static void
|
||||
do_start()
|
||||
do_start(void)
|
||||
{
|
||||
StartTransactionCommand();
|
||||
elog(DEBUG4, "start transaction");
|
||||
@@ -60,7 +60,7 @@ do_start()
|
||||
|
||||
|
||||
static void
|
||||
do_end()
|
||||
do_end(void)
|
||||
{
|
||||
CommitTransactionCommand();
|
||||
elog(DEBUG4, "commit transaction");
|
||||
|
Reference in New Issue
Block a user