projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0192ad6
)
security.h: Fixed compilation warning
author
Steve Holme
<steve_holme@hotmail.com>
Mon, 26 Aug 2013 09:14:16 +0000
(10:14 +0100)
committer
Steve 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
patch
|
blob
|
history
diff --git
a/lib/security.h
b/lib/security.h
index 4f24477c91c338f9a488ab85b76bdad14039f85e..82151e9c78ebba5346ba745e34af75b8ac21ad64 100644
(file)
--- a/
lib/security.h
+++ b/
lib/security.h
@@
-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