]> granicus.if.org Git - curl/commitdiff
NTLM: header inclusion cleanup follow-up
authorYang Tse <yangsita@gmail.com>
Sun, 28 Aug 2011 09:29:09 +0000 (11:29 +0200)
committerYang Tse <yangsita@gmail.com>
Sun, 28 Aug 2011 09:29:09 +0000 (11:29 +0200)
lib/gtls.h
lib/nssg.h
lib/ssluse.h

index 6275b49a3617ce3cc2047570adf6684ee3fc162c..733122e6c282250dc29ecff3e34995b35aa346fe 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __GTLS_H
-#define __GTLS_H
+#ifndef HEADER_CURL_GTLS_H
+#define HEADER_CURL_GTLS_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
  *
  ***************************************************************************/
 
+#include "setup.h"
+
 #ifdef USE_GNUTLS
 
+#include "urldata.h"
+
 int Curl_gtls_init(void);
 int Curl_gtls_cleanup(void);
 CURLcode Curl_gtls_connect(struct connectdata *conn, int sockindex);
@@ -60,4 +64,4 @@ int Curl_gtls_seed(struct SessionHandle *data);
 #define curlssl_data_pending(x,y) (x=x, y=y, 0)
 
 #endif /* USE_GNUTLS */
-#endif
+#endif /* HEADER_CURL_GTLS_H */
index 438d5a6367211708ca9ad85a920932f4468c7ef0..5f557c8d7cc7615e9d2e998c490026bf87901f57 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __NSSG_H
-#define __NSSG_H
+#ifndef HEADER_CURL_NSSG_H
+#define HEADER_CURL_NSSG_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -28,6 +28,7 @@
  */
 
 #include "urldata.h"
+
 CURLcode Curl_nss_connect(struct connectdata *conn, int sockindex);
 CURLcode Curl_nss_connect_nonblocking(struct connectdata *conn,
                                       int sockindex,
@@ -68,4 +69,4 @@ CURLcode Curl_nss_force_init(struct SessionHandle *data);
 #define curlssl_data_pending(x,y) (x=x, y=y, 0)
 
 #endif /* USE_NSS */
-#endif
+#endif /* HEADER_CURL_NSSG_H */
index 2ac0ad2ec630c2e269e94cfa1e94ec38ba1bcde9..732ec7c72d81ba5bbf528824fcde70e2aa63f4a6 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __SSLUSE_H
-#define __SSLUSE_H
+#ifndef HEADER_CURL_SSLUSE_H
+#define HEADER_CURL_SSLUSE_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
  *
  ***************************************************************************/
 
+#include "setup.h"
+
 #ifdef USE_SSLEAY
 /*
  * This header should only be needed to get included by sslgen.c and ssluse.c
  */
 
 #include "urldata.h"
+
 CURLcode Curl_ossl_connect(struct connectdata *conn, int sockindex);
 CURLcode Curl_ossl_connect_nonblocking(struct connectdata *conn,
                                        int sockindex,
@@ -81,4 +84,4 @@ bool Curl_ossl_data_pending(const struct connectdata *conn,
 #define curlssl_data_pending(x,y) Curl_ossl_data_pending(x,y)
 
 #endif /* USE_SSLEAY */
-#endif /* __SSLUSE_H */
+#endif /* HEADER_CURL_SSLUSE_H */