diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-22 15:29:14 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-23 11:47:57 +0200 |
commit | 32d64b2e875f0d74cd433dff8bda9f8a98dcd44e (patch) | |
tree | db6ada3797b657b4bb60fe408923d9dfa82cb84a /include/curl/mprintf.h | |
parent | 95507f1dc8c159c05b34f96f7a7baf4e8a9a4106 (diff) | |
download | curl-32d64b2e875f0d74cd433dff8bda9f8a98dcd44e.tar.gz |
defines: avoid underscore-prefixed defines
Double-underscored or underscore plus uppercase letter at least.
... as they're claimed to be reserved.
Reported-by: patnyb on github
Fixes #4254
Closes #4255
Diffstat (limited to 'include/curl/mprintf.h')
-rw-r--r-- | include/curl/mprintf.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/curl/mprintf.h b/include/curl/mprintf.h index e20f546e1..f615ed7d6 100644 --- a/include/curl/mprintf.h +++ b/include/curl/mprintf.h @@ -1,5 +1,5 @@ -#ifndef __CURL_MPRINTF_H -#define __CURL_MPRINTF_H +#ifndef CURLINC_MPRINTF_H +#define CURLINC_MPRINTF_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -47,4 +47,4 @@ CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args); } #endif -#endif /* __CURL_MPRINTF_H */ +#endif /* CURLINC_MPRINTF_H */ |