From 0152dbbe237928b9ebab9c47b4bcb17a4ae98190 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 18 Oct 2010 10:00:37 +0200 Subject: krb4: make a few functions static --- lib/security.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'lib/security.c') diff --git a/lib/security.c b/lib/security.c index 73a554016..244ab6fee 100644 --- a/lib/security.c +++ b/lib/security.c @@ -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; } -- cgit v1.2.3