diff options
author | Daniel Gustafsson <daniel@yesql.se> | 2018-10-23 10:02:24 +0200 |
---|---|---|
committer | Daniel Gustafsson <daniel@yesql.se> | 2018-10-23 10:02:24 +0200 |
commit | 06d8f16b87208abc6dfde1341e992e0811c31fda (patch) | |
tree | 2b42cdc6218f1439a5221f730f6c5f24e9d9ebff | |
parent | a023dfa19abd581f9645d218519ec8843564eb47 (diff) |
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>
-rw-r--r-- | lib/curl_path.h | 2 | ||||
-rw-r--r-- | lib/doh.h | 2 | ||||
-rw-r--r-- | lib/dotdot.h | 2 | ||||
-rw-r--r-- | lib/urlapi-int.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/curl_path.h b/lib/curl_path.h index 5ee4ff367..636c37f20 100644 --- a/lib/curl_path.h +++ b/lib/curl_path.h @@ -44,4 +44,4 @@ CURLcode Curl_getworkingpath(struct connectdata *conn, char **path); CURLcode Curl_get_pathname(const char **cpp, char **path, char *homedir); -#endif +#endif /* HEADER_CURL_PATH_H */ @@ -102,4 +102,4 @@ DOHcode doh_decode(unsigned char *doh, struct dohentry *d); void de_cleanup(struct dohentry *d); #endif -#endif +#endif /* HEADER_CURL_DOH_H */ diff --git a/lib/dotdot.h b/lib/dotdot.h index fac8e6f2a..125af4367 100644 --- a/lib/dotdot.h +++ b/lib/dotdot.h @@ -22,4 +22,4 @@ * ***************************************************************************/ char *Curl_dedotdotify(const char *input); -#endif +#endif /* HEADER_CURL_DOTDOT_H */ diff --git a/lib/urlapi-int.h b/lib/urlapi-int.h index a5bb8ea0b..a57d2e22b 100644 --- a/lib/urlapi-int.h +++ b/lib/urlapi-int.h @@ -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); size_t Curl_strlen_url(const char *url, bool relative); void Curl_strcpy_url(char *output, const char *url, bool relative); -#endif +#endif /* HEADER_CURL_URLAPI_INT_H */ |