]> granicus.if.org Git - curl/commitdiff
lib/*.h: use our standard naming scheme for header inclusion guards
authorYang Tse <yangsita@gmail.com>
Fri, 28 Dec 2012 11:03:09 +0000 (12:03 +0100)
committerYang Tse <yangsita@gmail.com>
Fri, 28 Dec 2012 17:21:40 +0000 (18:21 +0100)
35 files changed:
lib/axtls.h
lib/bundles.h
lib/config-dos.h
lib/config-vms.h
lib/curl_ldap.h
lib/curlx.h
lib/easyif.h
lib/escape.h
lib/file.h
lib/hash.h
lib/hostcheck.h
lib/http.h
lib/http_chunks.h
lib/imap.h
lib/inet_ntop.h
lib/inet_pton.h
lib/krb4.h
lib/llist.h
lib/multiif.h
lib/nonblock.h
lib/parsedate.h
lib/progress.h
lib/rawstr.h
lib/rtsp.h
lib/select.h
lib/setup_once.h
lib/slist.h
lib/smtp.h
lib/sockaddr.h
lib/socks.h
lib/strequal.h
lib/telnet.h
lib/tftp.h
lib/timeval.h
lib/transfer.h

index 967f90930b854a68efbbb4409337084b21a554a0..8d33b1c7a73eeecae9685f01bc9728f57b21eba2 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __AXTLS_H
-#define __AXTLS_H
+#ifndef HEADER_CURL_AXTLS_H
+#define HEADER_CURL_AXTLS_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -59,4 +59,5 @@ int Curl_axtls_check_cxn(struct connectdata *conn);
 #define curlssl_data_pending(x,y) (x=x, y=y, 0)
 
 #endif /* USE_AXTLS */
-#endif
+#endif /* HEADER_CURL_AXTLS_H */
+
index e9e257fc955b41b830ff03995002e9b3e0c1f74f..3816c40655edf39cb945aad5ca5670f31cd21f3a 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __BUNDLES_H
-#define __BUNDLES_H
+#ifndef HEADER_CURL_BUNDLES_H
+#define HEADER_CURL_BUNDLES_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -41,4 +41,5 @@ int Curl_bundle_remove_conn(struct connectbundle *cb_ptr,
                             struct connectdata *conn);
 
 
-#endif /* __BUNDLES_H */
+#endif /* HEADER_CURL_BUNDLES_H */
+
index 694a30465da3e7cf7f08fc75c63a03c62e638642..68614e8f45d9a44818347672c728c8ed73d0aa18 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef HEADER_CONFIG_DOS_H
-#define HEADER_CONFIG_DOS_H
+#ifndef HEADER_CURL_CONFIG_DOS_H
+#define HEADER_CURL_CONFIG_DOS_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
 #undef word
 #undef byte
 
-#endif /* HEADER_CONFIG_DOS_H */
+#endif /* HEADER_CURL_CONFIG_DOS_H */
 
index 75c77d1b1494730d40b0af3f43eee0c94de3d29a..e6e638e20f3c2f278a82a6510bbbdc53fbc278df 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef HEADER_CONFIG_VMS_H
-#define HEADER_CONFIG_VMS_H
+#ifndef HEADER_CURL_CONFIG_VMS_H
+#define HEADER_CURL_CONFIG_VMS_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
 /* Define to hide dollar sign from compilers in strict ansi mode. */
 #define decc_translate_vms(__s) decc$translate_vms(__s)
 
-#endif /* HEADER_CONFIG_VMS_H */
+#endif /* HEADER_CURL_CONFIG_VMS_H */
+
index 4cd13cfd269953147c482013e22b79217d607543..93fb4b07af94b8a15efbf6f1da20d41799b92d09 100644 (file)
@@ -1,6 +1,5 @@
-#ifndef __CURL_LDAP_H
-#define __CURL_LDAP_H
-
+#ifndef HEADER_CURL_LDAP_H
+#define HEADER_CURL_LDAP_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -32,4 +31,5 @@ extern const struct Curl_handler Curl_handler_ldaps;
 #endif
 
 #endif
-#endif /* __CURL_LDAP_H */
+#endif /* HEADER_CURL_LDAP_H */
+
index a1df669023dd0eee495a8f36d44c4036e730fe5c..9dc90a004bd0871b14e83441a1beb40de8aaf3ff 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __CURLX_H
-#define __CURLX_H
+#ifndef HEADER_CURL_CURLX_H
+#define HEADER_CURL_CURLX_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
 # define vaprintf curlx_mvaprintf
 #endif /* ENABLE_CURLX_PRINTF */
 
-#endif /* __CURLX_H */
+#endif /* HEADER_CURL_CURLX_H */
+
index d05b7d6103259d743a670c75185759b40e4e98b0..1f521689f6be8cdda9b9ae3129a8a0a9838524cc 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __EASYIF_H
-#define __EASYIF_H
+#ifndef HEADER_CURL_EASYIF_H
+#define HEADER_CURL_EASYIF_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -29,4 +29,5 @@ void Curl_easy_addmulti(struct SessionHandle *data, void *multi);
 
 void Curl_easy_initHandleData(struct SessionHandle *data);
 
-#endif /* __EASYIF_H */
+#endif /* HEADER_CURL_EASYIF_H */
+
index 4c7f84133b6c5677586fa1258c2a09d2ba8fef20..731b13655f2871d988347f3ce770e860b965dbed 100644 (file)
@@ -1,6 +1,5 @@
 #ifndef HEADER_CURL_ESCAPE_H
 #define HEADER_CURL_ESCAPE_H
-
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -30,4 +29,5 @@ CURLcode Curl_urldecode(struct SessionHandle *data,
                         char **ostring, size_t *olen,
                         bool reject_crlf);
 
-#endif
+#endif /* HEADER_CURL_ESCAPE_H */
+
index 5e3bd75647f68a06726ab6b4efe5e2024688b6a3..997474bc75a412d195188c9952158f620c27657b 100644 (file)
@@ -1,6 +1,5 @@
-#ifndef __FILE_H
-#define __FILE_H
-
+#ifndef HEADER_CURL_FILE_H
+#define HEADER_CURL_FILE_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -37,4 +36,6 @@ struct FILEPROTO {
 #ifndef CURL_DISABLE_FILE
 extern const struct Curl_handler Curl_handler_file;
 #endif
-#endif
+
+#endif /* HEADER_CURL_FILE_H */
+
index 5f7c2bf566ffc43547bbf1adbf34cda5040fadec..3fa621cb1d333c77d2c91a7ecc70787ea4408379 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __HASH_H
-#define __HASH_H
+#ifndef HEADER_CURL_HASH_H
+#define HEADER_CURL_HASH_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -103,4 +103,5 @@ void Curl_hash_print(struct curl_hash *h,
                      void (*func)(void *));
 
 
-#endif
+#endif /* HEADER_CURL_HASH_H */
+
index 51cc4aa82cce15ddb802728478dbf9d15e7f243d..f4a517a8e83c3e7046db408b5a28e8b26fc85945 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __HOSTCHECK_H
-#define __HOSTCHECK_H
+#ifndef HEADER_CURL_HOSTCHECK_H
+#define HEADER_CURL_HOSTCHECK_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -28,4 +28,5 @@
 #define CURL_HOST_MATCH   1
 int Curl_cert_hostcheck(const char *match_pattern, const char *hostname);
 
-#endif
+#endif /* HEADER_CURL_HOSTCHECK_H */
+
index cfe8b84552c7598836720e32e490cdf22b52dbb0..7236dd88cacb825c05010e080b85e6d342855442 100644 (file)
@@ -1,6 +1,5 @@
-#ifndef __HTTP_H
-#define __HTTP_H
-
+#ifndef HEADER_CURL_HTTP_H
+#define HEADER_CURL_HTTP_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -168,4 +167,5 @@ Curl_http_output_auth(struct connectdata *conn,
                       bool proxytunnel); /* TRUE if this is the request setting
                                             up the proxy tunnel */
 
-#endif
+#endif /* HEADER_CURL_HTTP_H */
+
index 6056e188c9c18b313f28300848eace0c465108a5..b999ab53b8886668bf7d7934953e913a98567117 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __HTTP_CHUNKS_H
-#define __HTTP_CHUNKS_H
+#ifndef HEADER_CURL_HTTP_CHUNKS_H
+#define HEADER_CURL_HTTP_CHUNKS_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -104,4 +104,5 @@ struct Curl_chunker {
   size_t dataleft; /* untouched data amount at the end of the last buffer */
 };
 
-#endif
+#endif /* HEADER_CURL_HTTP_CHUNKS_H */
+
index e56c7643e569af1788cad83465099fc86e4c5939..02ea346ad0aa02128d7dca7d4940e1811575e90e 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __IMAP_H
-#define __IMAP_H
+#ifndef HEADER_CURL_IMAP_H
+#define HEADER_CURL_IMAP_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -55,4 +55,5 @@ struct imap_conn {
 extern const struct Curl_handler Curl_handler_imap;
 extern const struct Curl_handler Curl_handler_imaps;
 
-#endif /* __IMAP_H */
+#endif /* HEADER_CURL_IMAP_H */
+
index 8db9775c8f1aa6fa1a06c3c28630f410cd4bb856..dbc146d918e0e111bb40ba0e42d3cfbe4e1b9cba 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __INET_NTOP_H
-#define __INET_NTOP_H
+#ifndef HEADER_CURL_INET_NTOP_H
+#define HEADER_CURL_INET_NTOP_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -34,4 +34,5 @@ char *Curl_inet_ntop(int af, const void *addr, char *buf, size_t size);
         inet_ntop(af,addr,buf,(curl_socklen_t)size)
 #endif
 
-#endif /* __INET_NTOP_H */
+#endif /* HEADER_CURL_INET_NTOP_H */
+
index d53fddff88d0210ba7b137026159773ec88a5442..f991473d6b38dd297f1adb6fb3fc6b934efef164 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __INET_PTON_H
-#define __INET_PTON_H
+#ifndef HEADER_CURL_INET_PTON_H
+#define HEADER_CURL_INET_PTON_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -33,4 +33,5 @@ int Curl_inet_pton(int, const char *, void *);
 #define Curl_inet_pton(x,y,z) inet_pton(x,y,z)
 #endif
 
-#endif /* __INET_PTON_H */
+#endif /* HEADER_CURL_INET_PTON_H */
+
index b0307122c43e8e2aff0fbbe17807017c3c486a8c..3e29b25882d68295264d8e0f8b7d89b3834e9462 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __KRB4_H
-#define __KRB4_H
+#ifndef HEADER_CURL_KRB4_H
+#define HEADER_CURL_KRB4_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -53,4 +53,5 @@ void Curl_sec_end (struct connectdata *);
 CURLcode Curl_sec_login (struct connectdata *);
 int Curl_sec_request_prot (struct connectdata *conn, const char *level);
 
-#endif
+#endif /* HEADER_CURL_KRB4_H */
+
index c33912a4babb9205922b0271e4c5cbffabadf9a3..b4ca82a4450f57b624dbc8a7a23fd0a2b9a13485 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __LLIST_H
-#define __LLIST_H
+#ifndef HEADER_CURL_LLIST_H
+#define HEADER_CURL_LLIST_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -53,4 +53,5 @@ void Curl_llist_destroy(struct curl_llist *, void *);
 int Curl_llist_move(struct curl_llist *, struct curl_llist_element *,
                     struct curl_llist *, struct curl_llist_element *);
 
-#endif
+#endif /* HEADER_CURL_LLIST_H */
+
index 76918181e4715b989a9de46c5a8d834840c0d451..c84b6184c010ec1a1abb1369807944fd9c8a2575 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __MULTIIF_H
-#define __MULTIIF_H
+#ifndef HEADER_CURL_MULTIIF_H
+#define HEADER_CURL_MULTIIF_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -50,4 +50,5 @@ void Curl_multi_handlePipeBreak(struct SessionHandle *data);
 void Curl_multi_dump(const struct Curl_multi *multi_handle);
 #endif
 
-#endif /* __MULTIIF_H */
+#endif /* HEADER_CURL_MULTIIF_H */
+
index adcd2c15e70319540c02d67245dacbcb72051015..b540ae46f67a79acb39dd6745895720ad0d2e8e1 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __NONBLOCK_H
-#define __NONBLOCK_H
+#ifndef HEADER_CURL_NONBLOCK_H
+#define HEADER_CURL_NONBLOCK_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -27,4 +27,5 @@
 int curlx_nonblock(curl_socket_t sockfd,    /* operate on this */
                    int nonblock   /* TRUE or FALSE */);
 
-#endif
+#endif /* HEADER_CURL_NONBLOCK_H */
+
index 25d25367deb9c07ac191bb6aafcdb11c76ea19ba..ade0f4f6024843394e4f70d8394a16a3a365765d 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __CURL_PARSEDATE_H
-#define __CURL_PARSEDATE_H
+#ifndef HEADER_CURL_PARSEDATE_H
+#define HEADER_CURL_PARSEDATE_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -27,4 +27,5 @@ extern const char * const Curl_month[12];
 
 CURLcode Curl_gmtime(time_t intime, struct tm *store);
 
-#endif
+#endif /* HEADER_CURL_PARSEDATE_H */
+
index 951de7f9465d7fcf6258e0280112b925273a0278..f97fef99614e00f8d950bdf4ef85a566ad880dc9 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __PROGRESS_H
-#define __PROGRESS_H
+#ifndef HEADER_CURL_PROGRESS_H
+#define HEADER_CURL_PROGRESS_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -68,4 +68,5 @@ void Curl_pgrsTime(struct SessionHandle *data, timerid timer);
 #define PGRS_HEADERS_OUT (1<<7) /* set when the headers have been written */
 
 
-#endif /* __PROGRESS_H */
+#endif /* HEADER_CURL_PROGRESS_H */
+
index d73dbc2c0d4b44612b6cc7cf3f0777b504119753..b491460d0f669c3c3ffb9879317ded8f3d9f4151 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __RAWSTR_H
-#define __RAWSTR_H
+#ifndef HEADER_CURL_RAWSTR_H
+#define HEADER_CURL_RAWSTR_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -42,4 +42,6 @@ char Curl_raw_toupper(char in);
 #define checkprefix(a,b)    Curl_raw_nequal(a,b,strlen(a))
 
 void Curl_strntoupper(char *dest, const char *src, size_t n);
-#endif
+
+#endif /* HEADER_CURL_RAWSTR_H */
+
index 08b8b5cbfef8e1ab93782c4a5ec5c47c38829500..3ffa70cc6c1b3230d77876550abd0fcbd7e0c727 100644 (file)
@@ -1,6 +1,5 @@
-#ifndef __RTSP_H_
-#define __RTSP_H_
-
+#ifndef HEADER_CURL_RTSP_H
+#define HEADER_CURL_RTSP_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -66,4 +65,5 @@ struct RTSP {
 };
 
 
-#endif /* __RTSP_H_ */
+#endif /* HEADER_CURL_RTSP_H */
+
index c1769e9a8fb95bed4c9eabfc134f85cdbc35eac2..d66873fe997f431bd961dce6b5ea5d2a741672b2 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __SELECT_H
-#define __SELECT_H
+#ifndef HEADER_CURL_SELECT_H
+#define HEADER_CURL_SELECT_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -104,4 +104,5 @@ int tpf_select_libcurl(int maxfds, fd_set* reads, fd_set* writes,
 } WHILE_FALSE
 #endif
 
-#endif /* __SELECT_H */
+#endif /* HEADER_CURL_SELECT_H */
+
index e7104b07112bebd34ea5b5bde076dc332eb12f1b..2d55c40606c2181887fdceca22ba4dc63ba2d9da 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __SETUP_ONCE_H
-#define __SETUP_ONCE_H
+#ifndef HEADER_CURL_SETUP_ONCE_H
+#define HEADER_CURL_SETUP_ONCE_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -566,4 +566,5 @@ typedef int sig_atomic_t;
 #define ZERO_NULL 0
 
 
-#endif /* __SETUP_ONCE_H */
+#endif /* HEADER_CURL_SETUP_ONCE_H */
+
index 161b1509e517f35fcf91bae21902bd3b7a4c687e..aede1f04189c666cc027f539ee8709678113ad90 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __SLIST_H
-#define __SLIST_H
+#ifndef HEADER_CURL_SLIST_H
+#define HEADER_CURL_SLIST_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -29,4 +29,5 @@
  */
 struct curl_slist *Curl_slist_duplicate(struct curl_slist *inlist);
 
-#endif /* __SLIST_H */
+#endif /* HEADER_CURL_SLIST_H */
+
index d68a659b5936e6e117e8082b64ab4c048bc97a2e..d30c10a8c3d5742fb9cac4a874f0462adda10075 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __SMTP_H
-#define __SMTP_H
+#ifndef HEADER_CURL_SMTP_H
+#define HEADER_CURL_SMTP_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -84,4 +84,5 @@ extern const struct Curl_handler Curl_handler_smtps;
 
 CURLcode Curl_smtp_escape_eob(struct connectdata *conn, ssize_t nread);
 
-#endif /* __SMTP_H */
+#endif /* HEADER_CURL_SMTP_H */
+
index 440eb0a97f5d178e87c456ddc5ca18e4842cd5d8..522a2199f54a09143b37dfba23933082433ae329 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __SOCKADDR_H
-#define __SOCKADDR_H
+#ifndef HEADER_CURL_SOCKADDR_H
+#define HEADER_CURL_SOCKADDR_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -39,4 +39,5 @@ struct Curl_sockaddr_storage {
   } buffer;
 };
 
-#endif /* __SOCKADDR_H */
+#endif /* HEADER_CURL_SOCKADDR_H */
+
index fc4cc7f02888240afa2d06ccf883950459bca898..0ce0bd044c6daaab5d89fc16da4422dc9e7d94ba 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __CURL_SOCKS_H
-#define __CURL_SOCKS_H
+#ifndef HEADER_CURL_SOCKS_H
+#define HEADER_CURL_SOCKS_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -73,4 +73,5 @@ CURLcode Curl_SOCKS5_gssapi_negotiate(int sockindex,
 
 #endif /* CURL_DISABLE_PROXY */
 
-#endif  /* __CURL_SOCKS_H */
+#endif  /* HEADER_CURL_SOCKS_H */
+
index 202c9197df28714e27c96ff2338137558472ae2a..287e042f4edda2740d84aab25847bb15e7a0b2db 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __STREQUAL_H
-#define __STREQUAL_H
+#ifndef HEADER_CURL_STREQUAL_H
+#define HEADER_CURL_STREQUAL_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -32,4 +32,5 @@
 #endif
 size_t strlcat(char *dst, const char *src, size_t siz);
 
-#endif
+#endif /* HEADER_CURL_STREQUAL_H */
+
index f00f7fd8f9a70e5e550d29a324c7e2b6f008b1f9..ddb9e5473d71d3639ef3f1496570ac86b740b5af 100644 (file)
@@ -1,6 +1,5 @@
-#ifndef __TELNET_H
-#define __TELNET_H
-
+#ifndef HEADER_CURL_TELNET_H
+#define HEADER_CURL_TELNET_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -25,4 +24,6 @@
 #ifndef CURL_DISABLE_TELNET
 extern const struct Curl_handler Curl_handler_telnet;
 #endif
-#endif
+
+#endif /* HEADER_CURL_TELNET_H */
+
index b2d67b26be1a9007d0f202704b55c6ac4fb952d0..117b40f62d7f14874056563e6cd0f7c8af0a159e 100644 (file)
@@ -1,6 +1,5 @@
-#ifndef __TFTP_H
-#define __TFTP_H
-
+#ifndef HEADER_CURL_TFTP_H
+#define HEADER_CURL_TFTP_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -25,4 +24,6 @@
 #ifndef CURL_DISABLE_TFTP
 extern const struct Curl_handler Curl_handler_tftp;
 #endif
-#endif
+
+#endif /* HEADER_CURL_TFTP_H */
+
index bc79a45ad9b010b3cf324666915b1ea582ac65d0..b464ae4068919e07f8bd19a652fa248ef9a522f7 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __TIMEVAL_H
-#define __TIMEVAL_H
+#ifndef HEADER_CURL_TIMEVAL_H
+#define HEADER_CURL_TIMEVAL_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -54,4 +54,5 @@ long Curl_tvlong(struct timeval t1);
 #define Curl_tvdiff(x,y) curlx_tvdiff(x,y)
 #define Curl_tvdiff_secs(x,y) curlx_tvdiff_secs(x,y)
 
-#endif
+#endif /* HEADER_CURL_TIMEVAL_H */
+
index 68a31c67eda0a85b4401c7cd57d54d09f3303319..b47422a6316c67d454ff61b6e76cb20cdc3182f4 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __TRANSFER_H
-#define __TRANSFER_H
+#ifndef HEADER_CURL_TRANSFER_H
+#define HEADER_CURL_TRANSFER_H
 /***************************************************************************
  *                                  _   _ ____  _
  *  Project                     ___| | | |  _ \| |
@@ -66,4 +66,5 @@ Curl_setup_transfer (struct connectdata *data,
 long Curl_sleep_time(curl_off_t rate_bps, curl_off_t cur_rate_bps,
                      int pkt_size);
 
-#endif
+#endif /* HEADER_CURL_TRANSFER_H */
+