krb4: make a few functions static

This commit is contained in:
Daniel Stenberg
2010-10-18 10:00:37 +02:00
parent 2261ddf9db
commit 0152dbbe23
3 changed files with 18 additions and 23 deletions

View File

@@ -399,16 +399,8 @@ int Curl_sec_read_msg(struct connectdata *conn, char *buffer, int level)
return ret_code;
}
enum protection_level
Curl_set_command_prot(struct connectdata *conn, enum protection_level level)
{
enum protection_level old = conn->command_prot;
conn->command_prot = level;
return old;
}
/* FIXME: The error code returned here is never checked. */
int Curl_sec_set_protection_level(struct connectdata *conn)
static int sec_set_protection_level(struct connectdata *conn)
{
int code;
char* pbsz;
@@ -551,7 +543,7 @@ static CURLcode choose_mech(struct connectdata *conn)
conn->command_prot = prot_safe;
/* Set the requested protection level */
/* BLOCKING */
Curl_sec_set_protection_level(conn);
(void)sec_set_protection_level(conn);
break;
}