Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit031f471

Browse files
committed
Prototypes for new funcs.
1 parentd8949ad commit031f471

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

‎src/bin/pg_dump/pg_dump.c

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
*
2222
*
2323
* IDENTIFICATION
24-
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.58 1997/12/06 22:57:28 momjian Exp $
24+
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.59 1997/12/26 08:45:27 vadim Exp $
2525
*
2626
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
2727
*
@@ -81,6 +81,10 @@ static intfindLastBuiltinOid(void);
8181
staticboolisViewRule(char*relname);
8282
staticvoidsetMaxOid(FILE*fout);
8383

84+
staticchar*AddAcl(char*s,constchar*add);
85+
staticchar*GetPrivledges(char*s);
86+
staticACL*ParseACL(constchar*acls,int*count);
87+
8488
externchar*optarg;
8589
externintoptind,
8690
opterr;
@@ -2146,7 +2150,8 @@ dumpAggs(FILE *fout, AggInfo *agginfo, int numAggs,
21462150
/*
21472151
* This will return a new string: "s,add"
21482152
*/
2149-
char*AddAcl(char*s,constchar*add)
2153+
staticchar*
2154+
AddAcl(char*s,constchar*add)
21502155
{
21512156
char*t;
21522157

@@ -2162,7 +2167,8 @@ char *AddAcl(char *s, const char *add)
21622167
* This will take a string of 'arwR' and return a
21632168
* comma delimited string of SELECT,INSERT,UPDATE,DELETE,RULE
21642169
*/
2165-
char*GetPrivledges(char*s)
2170+
staticchar*
2171+
GetPrivledges(char*s)
21662172
{
21672173
char*acls=NULL;
21682174

@@ -2195,7 +2201,8 @@ char *GetPrivledges(char *s)
21952201
* So to reset the acls I need to grant these priviledges
21962202
* to user
21972203
*/
2198-
ACL*ParseACL(constchar*acls,int*count)
2204+
staticACL*
2205+
ParseACL(constchar*acls,int*count)
21992206
{
22002207
ACL*ParsedAcl=NULL;
22012208
inti,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp