diff --git a/src/passcheck.c b/src/passcheck.c index 9e4f76f..9364cce 100644 --- a/src/passcheck.c +++ b/src/passcheck.c @@ -81,7 +81,7 @@ static const char *passcheck_shmem_name = "pgtle_passcheck"; /* This should match crypt.h */ -char *pass_types[3] = {"PASSWORD_TYPE_PLAINTEXT", "PASSWORD_TYPE_MD5", "PASSWORD_TYPE_SCRAM_SHA_256"}; +static char *pass_types[3] = {"PASSWORD_TYPE_PLAINTEXT", "PASSWORD_TYPE_MD5", "PASSWORD_TYPE_SCRAM_SHA_256"}; /* Represents password_check_hook parameters. */ typedef struct PasswordCheckHookData diff --git a/src/tleextension.c b/src/tleextension.c index 91b92d1..d1b1439 100644 --- a/src/tleextension.c +++ b/src/tleextension.c @@ -139,10 +139,10 @@ typedef struct ExtensionVersionInfo } ExtensionVersionInfo; /* callback to cleanup on abort */ -bool cb_registered = false; +static bool cb_registered = false; /* global indicator we are manipulating pg_tle artifacts */ -bool tleart = false; +static bool tleart = false; #define SET_TLEART \ do { \ if (!cb_registered) \ @@ -158,7 +158,7 @@ bool tleart = false; } while (0) /* global indicator to use tle strings rather than files */ -bool tleext = false; +static bool tleext = false; #define SET_TLEEXT \ do { \ if (!cb_registered) \