Commit 031f471f authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

Prototypes for new funcs.

parent d8949adc
......@@ -21,7 +21,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.58 1997/12/06 22:57:28 momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.59 1997/12/26 08:45:27 vadim Exp $
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
......@@ -81,6 +81,10 @@ static int findLastBuiltinOid(void);
static bool isViewRule(char *relname);
static void setMaxOid(FILE *fout);
static char *AddAcl(char *s, const char *add);
static char *GetPrivledges(char *s);
static ACL *ParseACL(const char *acls,int *count);
extern char *optarg;
extern int optind,
opterr;
......@@ -2146,7 +2150,8 @@ dumpAggs(FILE *fout, AggInfo *agginfo, int numAggs,
/*
* This will return a new string: "s,add"
*/
char *AddAcl(char *s, const char *add)
static char *
AddAcl(char *s, const char *add)
{
char *t;
......@@ -2162,7 +2167,8 @@ char *AddAcl(char *s, const char *add)
* This will take a string of 'arwR' and return a
* comma delimited string of SELECT,INSERT,UPDATE,DELETE,RULE
*/
char *GetPrivledges(char *s)
static char *
GetPrivledges(char *s)
{
char *acls=NULL;
......@@ -2195,7 +2201,8 @@ char *GetPrivledges(char *s)
* So to reset the acls I need to grant these priviledges
* to user
*/
ACL *ParseACL(const char *acls,int *count)
static ACL *
ParseACL(const char *acls,int *count)
{
ACL *ParsedAcl=NULL;
int i,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment