1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-03 09:13:20 +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

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-dumpdata.c,v 1.3 1996/11/06 08:48:24 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-dumpdata.c,v 1.4 1996/11/10 03:00:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -61,7 +61,7 @@ static Dllist *be_portalstack;
* ----------------
*/
void
be_portalinit()
be_portalinit(void)
{
be_portalstack = DLNewList();
}
@@ -85,7 +85,7 @@ be_portalpush(PortalEntry *entry)
* ----------------
*/
PortalEntry *
be_portalpop()
be_portalpop(void)
{
PortalEntry *p;
Dlelem* elt;
@@ -105,7 +105,7 @@ be_portalpop()
* ----------------
*/
PortalEntry *
be_currentportal()
be_currentportal(void)
{
Dlelem* elt;
elt = DLGetTail(be_portalstack);
@@ -128,7 +128,7 @@ static Oid be_portaloid;
static u_int be_portalcnt = 0;
PortalEntry *
be_newportal()
be_newportal(void)
{
PortalEntry *entry;
char buf[PortalNameLength];

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.10 1996/11/06 08:48:27 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.11 1996/11/10 03:00:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -59,7 +59,7 @@ enum Userauth {Trust, Ident};
/* Some standard C libraries, including GNU, have an isblank() function.
Others, including Solaris, do not. So we have our own.
*/
bool
static bool
isblank(const char c) {
return(c == ' ' || c == 9 /* tab */);
}