security.h: Fixed compilation warning
authorSteve Holme <steve_holme@hotmail.com>
Mon, 26 Aug 2013 09:14:16 +0000 (10:14 +0100)
committerSteve Holme <steve_holme@hotmail.com>
Mon, 26 Aug 2013 09:14:16 +0000 (10:14 +0100)
ISO C forbids forward references to 'enum' types

lib/security.h

index 4f24477..82151e9 100644 (file)
@@ -38,13 +38,13 @@ struct Curl_sec_client_mech {
 #define AUTH_CONTINUE   1
 #define AUTH_ERROR      2
 
+#ifdef HAVE_GSSAPI
 int Curl_sec_read_msg (struct connectdata *conn, char *,
                        enum protection_level);
 void Curl_sec_end (struct connectdata *);
 CURLcode Curl_sec_login (struct connectdata *);
 int Curl_sec_request_prot (struct connectdata *conn, const char *level);
 
-#ifdef HAVE_GSSAPI
 extern struct Curl_sec_client_mech Curl_krb5_client_mech;
 #endif