mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-11 19:20:40 +08:00
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.
This commit is contained in:
parent
4e3b1e2389
commit
b1145ca198
@ -294,7 +294,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, const char
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
static void
|
||||
get_restricted_token(const char *progname)
|
||||
{
|
||||
#ifdef WIN32
|
||||
|
@ -1147,7 +1147,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, const char
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
static void
|
||||
get_restricted_token(const char *progname)
|
||||
{
|
||||
#ifdef WIN32
|
||||
|
Loading…
Reference in New Issue
Block a user