fix missing static for functions

This commit is contained in:
akallabeth 2024-09-04 22:12:32 +02:00
parent 9ae37b094f
commit 798421e883

View File

@ -127,8 +127,8 @@ static void replace_char(char* buffer, size_t buffer_len, const char* toreplace)
} }
} }
char* freerdp_passphrase_read_tty(rdpContext* context, const char* prompt, char* buf, size_t bufsiz, static char* freerdp_passphrase_read_tty(rdpContext* context, const char* prompt, char* buf,
int from_stdin) size_t bufsiz, int from_stdin)
{ {
BOOL terminal_needs_reset = FALSE; BOOL terminal_needs_reset = FALSE;
char term_name[L_ctermid] = { 0 }; char term_name[L_ctermid] = { 0 };
@ -213,8 +213,8 @@ error:
} }
} }
char* freerdp_passphrase_read_askpass(const char* prompt, char* buf, size_t bufsiz, static char* freerdp_passphrase_read_askpass(const char* prompt, char* buf, size_t bufsiz,
char const* askpass_env) char const* askpass_env)
{ {
char command[4096] = { 0 }; char command[4096] = { 0 };