mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
All external function definitions now have prototypes that are checked.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.2 1996/11/03 06:52:31 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/dest.c,v 1.3 1996/11/10 03:02:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -135,7 +135,7 @@ EndCommand(char *commandTag, CommandDest dest)
|
||||
*
|
||||
*/
|
||||
void
|
||||
SendCopyBegin()
|
||||
SendCopyBegin(void)
|
||||
{
|
||||
pq_putnchar("B", 1);
|
||||
/* pq_putint(0, 4); */
|
||||
@@ -143,7 +143,7 @@ SendCopyBegin()
|
||||
}
|
||||
|
||||
void
|
||||
ReceiveCopyBegin()
|
||||
ReceiveCopyBegin(void)
|
||||
{
|
||||
pq_putnchar("D", 1);
|
||||
/* pq_putint(0, 4); */
|
||||
@@ -316,7 +316,7 @@ BeginCommand(char *pname,
|
||||
static Oid AppendOid;
|
||||
|
||||
void
|
||||
ResetAppendOid()
|
||||
ResetAppendOid(void)
|
||||
{
|
||||
AppendOid = InvalidOid;
|
||||
}
|
||||
@@ -345,7 +345,7 @@ UpdateAppendOid(Oid newoid)
|
||||
}
|
||||
|
||||
Oid
|
||||
GetAppendOid()
|
||||
GetAppendOid(void)
|
||||
{
|
||||
if (AppendOid == MULTI_TUPLE_APPEND)
|
||||
return InvalidOid;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.16 1996/11/10 02:25:15 bryanh Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.17 1996/11/10 03:02:50 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* this is the "main" module of the postgres backend and
|
||||
@@ -54,6 +54,7 @@
|
||||
#include "tcop/tcopprot.h" /* where declarations for this file go */
|
||||
#include "optimizer/planner.h"
|
||||
|
||||
#include "tcop/tcopprot.h"
|
||||
#include "tcop/tcopdebug.h"
|
||||
|
||||
#include "executor/execdebug.h"
|
||||
@@ -1256,7 +1257,7 @@ PostgresMain(int argc, char *argv[])
|
||||
*/
|
||||
if (IsUnderPostmaster == false) {
|
||||
puts("\nPOSTGRES backend interactive interface");
|
||||
puts("$Revision: 1.16 $ $Date: 1996/11/10 02:25:15 $");
|
||||
puts("$Revision: 1.17 $ $Date: 1996/11/10 03:02:50 $");
|
||||
}
|
||||
|
||||
/* ----------------
|
||||
@@ -1464,7 +1465,7 @@ struct rusage Save_r;
|
||||
struct timeval Save_t;
|
||||
|
||||
void
|
||||
ResetUsage()
|
||||
ResetUsage(void)
|
||||
{
|
||||
struct timezone tz;
|
||||
getrusage(RUSAGE_SELF, &Save_r);
|
||||
@@ -1474,7 +1475,7 @@ ResetUsage()
|
||||
}
|
||||
|
||||
void
|
||||
ShowUsage()
|
||||
ShowUsage(void)
|
||||
{
|
||||
struct timeval user, sys;
|
||||
struct timeval elapse_t;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.4 1996/11/08 05:59:34 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.5 1996/11/10 03:02:54 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -65,7 +65,7 @@ CreateQueryDesc(Query *parsetree,
|
||||
* ----------------------------------------------------------------
|
||||
*/
|
||||
EState *
|
||||
CreateExecutorState()
|
||||
CreateExecutorState(void)
|
||||
{
|
||||
EState *state;
|
||||
extern int NBuffers;
|
||||
|
||||
Reference in New Issue
Block a user