1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-25 13:17:41 +03:00

Fix prototypes so they don't look like function definitions.

This commit is contained in:
Bruce Momjian
1998-01-24 22:50:57 +00:00
parent 27317a0d7c
commit 7229513943
82 changed files with 289 additions and 499 deletions

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: command.h,v 1.7 1997/09/08 21:51:34 momjian Exp $
* $Id: command.h,v 1.8 1998/01/24 22:48:44 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -26,8 +26,7 @@ extern MemoryContext PortalExecutorHeapMemory;
* BadArg if forward invalid.
* "WARN" if portal not found.
*/
extern void
PerformPortalFetch(char *name, bool forward, int count,
extern void PerformPortalFetch(char *name, bool forward, int count,
char *tag, CommandDest dest);
/*
@@ -42,8 +41,7 @@ extern void PortalCleanup(Portal portal);
* PerformAddAttribute --
* Performs the POSTQUEL function ADD.
*/
extern void
PerformAddAttribute(char *relationName, char *userName,
extern void PerformAddAttribute(char *relationName, char *userName,
bool inh, ColumnDef *colDef);
#endif /* COMMAND_H */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: defrem.h,v 1.10 1997/09/08 21:51:36 momjian Exp $
* $Id: defrem.h,v 1.11 1998/01/24 22:48:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,8 +19,7 @@
/*
* prototypes in defind.c
*/
extern void
DefineIndex(char *heapRelationName,
extern void DefineIndex(char *heapRelationName,
char *indexRelationName,
char *accessMethodName,
List *attributeList,
@@ -28,8 +27,7 @@ DefineIndex(char *heapRelationName,
bool unique,
Expr *predicate,
List *rangetable);
extern void
ExtendIndex(char *indexRelationName,
extern void ExtendIndex(char *indexRelationName,
Expr *predicate,
List *rangetable);
extern void RemoveIndex(char *name);
@@ -47,8 +45,7 @@ extern void CreateFunction(ProcedureStmt *stmt, CommandDest dest);
* prototypes in remove.c
*/
extern void RemoveFunction(char *functionName, int nargs, List *argNameList);
extern void
RemoveOperator(char *operatorName,
extern void RemoveOperator(char *operatorName,
char *typeName1, char *typeName2);
extern void RemoveType(char *typeName);
extern void RemoveAggregate(char *aggName, char *aggType);

View File

@@ -6,21 +6,19 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: rename.h,v 1.2 1997/09/07 04:57:30 momjian Exp $
* $Id: rename.h,v 1.3 1998/01/24 22:48:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RENAME_H
#define RENAME_H
extern void
renameatt(char *relname,
extern void renameatt(char *relname,
char *oldattname,
char *newattname,
char *userName, int recurse);
extern void
renamerel(char *oldrelname,
extern void renamerel(char *oldrelname,
char *newrelname);
#endif /* RENAME_H */