diff options
author | Bruce Momjian <bruce@momjian.us> | 1996-11-10 03:06:38 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1996-11-10 03:06:38 +0000 |
commit | aaeef4d17db9ded501fa02c9ca6c00f86258b171 (patch) | |
tree | 7f27c0c7519886eda3b9ddd6fe1eb4a9d628dacb /src/backend/parser/catalog_utils.c | |
parent | bf5cbbf7895aa16b2e18dbe29462a4fd8baf4293 (diff) | |
download | postgresql-aaeef4d17db9ded501fa02c9ca6c00f86258b171.tar.gz postgresql-aaeef4d17db9ded501fa02c9ca6c00f86258b171.zip |
All external function definitions now have prototypes that are checked.
Diffstat (limited to 'src/backend/parser/catalog_utils.c')
-rw-r--r-- | src/backend/parser/catalog_utils.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/parser/catalog_utils.c b/src/backend/parser/catalog_utils.c index 00745e32c48..dcc754c12ba 100644 --- a/src/backend/parser/catalog_utils.c +++ b/src/backend/parser/catalog_utils.c @@ -6,7 +6,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/parser/Attic/catalog_utils.c,v 1.8 1996/11/08 05:57:29 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/Attic/catalog_utils.c,v 1.9 1996/11/10 03:01:23 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -83,10 +83,6 @@ static char *attnum_type[SPECIALS] = { #define MAXFARGS 8 /* max # args to a c or postquel function */ -static Oid **argtype_inherit(); -static Oid **genxprod(); - -static int findsupers(Oid relid, Oid **supervec); /* * This structure is used to explore the inheritance hierarchy above * nodes in the type tree in order to disambiguate among polymorphic @@ -108,6 +104,10 @@ typedef struct _CandidateList { struct _CandidateList *next; } *CandidateList; +static Oid **argtype_inherit(int nargs, Oid *oid_array); +static Oid **genxprod(InhPaths *arginh, int nargs); +static int findsupers(Oid relid, Oid **supervec); + /* check to see if a type id is valid, * returns true if it is. By using this call before calling * get_id_type or get_id_typname, more meaningful error messages @@ -241,7 +241,7 @@ tbyvalue(Type t) } /* given a type, return its typetype ('c' for 'c'atalog types) */ -char +static char typetypetype(Type t) { TypeTupleForm typ; |