diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-07-02 06:53:19 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-07-02 07:26:22 +0200 |
commit | 720b0eaae9b8a8326b2b6a6ff88fca4f47c631d4 (patch) | |
tree | 9e398e3bb3e6a229ed1007cff5f79192230dea71 /src/backend/commands/user.c | |
parent | a4c87df43a45a407a1f3fd584a7ffb32342628cc (diff) |
Convert some extern variables to static
These probably should have been static all along, it was only
forgotten out of sloppiness.
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://www.postgresql.org/message-id/flat/e0a62134-83da-4ba4-8cdb-ceb0111c95ce@eisentraut.org
Diffstat (limited to 'src/backend/commands/user.c')
-rw-r--r-- | src/backend/commands/user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/user.c b/src/backend/commands/user.c index c75cde2e8e1..104b66e4b43 100644 --- a/src/backend/commands/user.c +++ b/src/backend/commands/user.c @@ -84,8 +84,8 @@ typedef struct /* GUC parameters */ int Password_encryption = PASSWORD_TYPE_SCRAM_SHA_256; char *createrole_self_grant = ""; -bool createrole_self_grant_enabled = false; -GrantRoleOptions createrole_self_grant_options; +static bool createrole_self_grant_enabled = false; +static GrantRoleOptions createrole_self_grant_options; /* Hook to check passwords in CreateRole() and AlterRole() */ check_password_hook_type check_password_hook = NULL; |