krb5: add prototype to silence clang warnings on mvsnprintf()

"error: format string is not a string literal"

Follow-up to 0923012758 which made the warning appear

Assisted-by: Viktor Szakats
Closes #12803
This commit is contained in:
Daniel Stenberg 2024-01-26 10:46:17 +01:00
parent 641257ea08
commit aee4ebe591
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -434,6 +434,9 @@ static char level_to_char(int level)
/* Send an FTP command defined by |message| and the optional arguments. The
function returns the ftp_code. If an error occurs, -1 is returned. */
static int ftp_send_command(struct Curl_easy *data, const char *message, ...)
CURL_PRINTF(2, 3);
static int ftp_send_command(struct Curl_easy *data, const char *message, ...)
{
int ftp_code;