1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-30 06:01:21 +03:00

All external function definitions now have prototypes that are checked.

This commit is contained in:
Bruce Momjian
1996-11-10 03:06:38 +00:00
parent bf5cbbf789
commit aaeef4d17d
99 changed files with 551 additions and 322 deletions

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.5 1996/11/05 11:12:28 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/transam.c,v 1.6 1996/11/10 02:59:11 momjian Exp $
*
* NOTES
* This file contains the high level access-method interface to the
@@ -96,7 +96,7 @@ extern bool BuildingBtree;
* ----------------
*/
int
RecoveryCheckingEnabled()
RecoveryCheckingEnabled(void)
{
return RecoveryCheckingEnableState;
}
@@ -453,7 +453,7 @@ TransRecover(Relation logRelation)
* Initializes transaction logging.
*/
void
InitializeTransactionLog()
InitializeTransactionLog(void)
{
Relation logRelation;
Relation timeRelation;

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.4 1996/11/05 11:12:32 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.5 1996/11/10 02:59:16 momjian Exp $
*
* NOTES
* Transaction aborts can now occur two ways:
@@ -218,7 +218,7 @@ bool AMI_OVERRIDE = false;
static int TransactionFlushState = 1;
int
TransactionFlushEnabled()
TransactionFlushEnabled(void)
{
return TransactionFlushState;
}
@@ -237,7 +237,7 @@ SetTransactionFlushEnabled(bool state)
* --------------------------------
*/
bool
IsTransactionState()
IsTransactionState(void)
{
TransactionState s = CurrentTransactionState;
@@ -1113,7 +1113,7 @@ AbortCurrentTransaction()
* --------------------------------
*/
void
BeginTransactionBlock()
BeginTransactionBlock(void)
{
TransactionState s = CurrentTransactionState;
@@ -1151,7 +1151,7 @@ BeginTransactionBlock()
* --------------------------------
*/
void
EndTransactionBlock()
EndTransactionBlock(void)
{
TransactionState s = CurrentTransactionState;
@@ -1205,7 +1205,7 @@ EndTransactionBlock()
* --------------------------------
*/
void
AbortTransactionBlock()
AbortTransactionBlock(void)
{
TransactionState s = CurrentTransactionState;

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/xid.c,v 1.4 1996/11/05 11:12:33 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/access/transam/Attic/xid.c,v 1.5 1996/11/10 02:59:19 momjian Exp $
*
* OLD COMMENTS
* XXX WARNING
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <postgres.h>
#include <access/xact.h>
extern TransactionId NullTransactionId;
extern TransactionId DisabledTransactionId;