diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-04-07 16:56:21 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-04-07 16:56:21 -0400 |
commit | c68b06356dd75230df18a763b87736f717e13b5c (patch) | |
tree | 87e6539a2258996b110f1d6f8fc2e50c12a38fbd /src | |
parent | 53e97a69e0d1329d6ec08d0f39d87a29364e882f (diff) |
Fix assorted inconsistent function declarations.
While gcc doesn't complain if you declare a function "static" and then
define it not-static, other compilers do; and in any case the code is
highly misleading this way. Add the missing "static" keywords to a
couple of recent patches. Per buildfarm member pademelon.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_resetxlog/pg_resetxlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_resetxlog/pg_resetxlog.c b/src/bin/pg_resetxlog/pg_resetxlog.c index 02f5993bb0d..e8ae2aeacb2 100644 --- a/src/bin/pg_resetxlog/pg_resetxlog.c +++ b/src/bin/pg_resetxlog/pg_resetxlog.c @@ -1149,7 +1149,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, const char } #endif -void +static void get_restricted_token(const char *progname) { #ifdef WIN32 |