1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Make parser functions static where possible.

This commit is contained in:
Bruce Momjian
1997-11-26 03:43:18 +00:00
parent 97ad0b1cd4
commit b704426618
18 changed files with 179 additions and 181 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.2 1997/11/26 01:11:22 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_node.c,v 1.3 1997/11/26 03:42:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -28,6 +28,12 @@
#include "utils/builtins.h"
#include "utils/syscache.h"
static void disallow_setop(char *op, Type optype, Node *operand);
static Node *make_operand(char *opname,
Node *tree,
Oid orig_typeId,
Oid true_typeId);
/*
* make_parsestate() --
* allocate and initialize a new ParseState.
@ -56,7 +62,7 @@ make_parsestate(void)
return (pstate);
}
Node *
static Node *
make_operand(char *opname,
Node *tree,
Oid orig_typeId,
@ -110,7 +116,7 @@ make_operand(char *opname,
}
void
static void
disallow_setop(char *op, Type optype, Node *operand)
{
if (operand == NULL)