1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 09:08:49 -05:00

headers: end all headers with guard comment

Most headerfiles end with a /* <headerguard> */ comment, but it was
missing from some. The comment isn't the most important part of our
code documentation but consistency has an intrinsic value in itself.
This adds header guard comments to the files that were lacking it.

Closes #3158
Reviewed-by: Jay Satiro <raysatiro@yahoo.com>
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
This commit is contained in:
Daniel Gustafsson 2018-10-23 10:02:24 +02:00
parent a023dfa19a
commit 06d8f16b87
4 changed files with 4 additions and 4 deletions

View File

@ -44,4 +44,4 @@ CURLcode Curl_getworkingpath(struct connectdata *conn,
char **path); char **path);
CURLcode Curl_get_pathname(const char **cpp, char **path, char *homedir); CURLcode Curl_get_pathname(const char **cpp, char **path, char *homedir);
#endif #endif /* HEADER_CURL_PATH_H */

View File

@ -102,4 +102,4 @@ DOHcode doh_decode(unsigned char *doh,
struct dohentry *d); struct dohentry *d);
void de_cleanup(struct dohentry *d); void de_cleanup(struct dohentry *d);
#endif #endif
#endif #endif /* HEADER_CURL_DOH_H */

View File

@ -22,4 +22,4 @@
* *
***************************************************************************/ ***************************************************************************/
char *Curl_dedotdotify(const char *input); char *Curl_dedotdotify(const char *input);
#endif #endif /* HEADER_CURL_DOTDOT_H */

View File

@ -30,4 +30,4 @@ bool Curl_is_absolute_url(const char *url, char *scheme, size_t buflen);
char *Curl_concat_url(const char *base, const char *relurl); char *Curl_concat_url(const char *base, const char *relurl);
size_t Curl_strlen_url(const char *url, bool relative); size_t Curl_strlen_url(const char *url, bool relative);
void Curl_strcpy_url(char *output, const char *url, bool relative); void Curl_strcpy_url(char *output, const char *url, bool relative);
#endif #endif /* HEADER_CURL_URLAPI_INT_H */