From 20ad43b576d9360b0e9ce9bd868c989443cf9d36 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 8 Jun 2000 22:38:00 +0000 Subject: Mark functions as static and ifdef NOT_USED as appropriate. --- src/include/parser/parse_relation.h | 4 +--- src/include/parser/parse_type.h | 6 +----- 2 files changed, 2 insertions(+), 8 deletions(-) (limited to 'src/include/parser') diff --git a/src/include/parser/parse_relation.h b/src/include/parser/parse_relation.h index 15945680bc7..4f89bcc65c3 100644 --- a/src/include/parser/parse_relation.h +++ b/src/include/parser/parse_relation.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parse_relation.h,v 1.17 2000/06/03 04:41:33 momjian Exp $ + * $Id: parse_relation.h,v 1.18 2000/06/08 22:37:53 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -32,8 +32,6 @@ extern List *expandAll(ParseState *pstate, char *relname, Attr *ref, int *this_resno); extern int attnameAttNum(Relation rd, char *a); extern int specialAttNum(char *a); -extern bool attnameIsSet(Relation rd, char *name); -extern int attnumAttNelems(Relation rd, int attid); extern Oid attnumTypeId(Relation rd, int attid); extern void warnAutoRange(ParseState *pstate, char *refname); diff --git a/src/include/parser/parse_type.h b/src/include/parser/parse_type.h index 190d65db4d8..e2cfd7f4a2d 100644 --- a/src/include/parser/parse_type.h +++ b/src/include/parser/parse_type.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: parse_type.h,v 1.13 2000/03/16 06:35:06 tgl Exp $ + * $Id: parse_type.h,v 1.14 2000/06/08 22:37:53 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -30,10 +30,6 @@ extern char typeTypeFlag(Type t); extern Datum stringTypeDatum(Type tp, char *string, int32 atttypmod); extern Oid typeidTypeRelid(Oid type_id); extern Oid typeTypeRelid(Type typ); -extern Oid typeTypElem(Type typ); -extern Oid GetArrayElementType(Oid typearray); -extern Oid typeInfunc(Type typ); -extern Oid typeOutfunc(Type typ); #define ISCOMPLEX(typeid) (typeidTypeRelid(typeid) != InvalidOid) -- cgit v1.2.3