]> granicus.if.org Git - postgresql/commitdiff
Prototypes for new funcs.
authorVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 26 Dec 1997 08:45:27 +0000 (08:45 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Fri, 26 Dec 1997 08:45:27 +0000 (08:45 +0000)
src/bin/pg_dump/pg_dump.c

index 53755af0991df6406b26f4080ffe2e509aad4ce1..ea463e32c6544a9ca8231fd406851a8cc86f7206 100644 (file)
@@ -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,