aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-04-19 05:59:30 -0400
committerJack Lloyd <[email protected]>2019-04-19 06:35:29 -0400
commitb1a06fed41f137331045c96f50020c0c4feca42e (patch)
tree1a13e30423959e15565f0a900a6589126010a189 /src/lib/utils
parent7fdfb8100b4bc10f652c6fcf08eb986ad84012ec (diff)
Avoid C++ style comments in headers that may be parsed as C
Also remove the TLS declarations from ffi.h for now since that isn't supported at all.
Diffstat (limited to 'src/lib/utils')
-rw-r--r--src/lib/utils/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/utils/compiler.h b/src/lib/utils/compiler.h
index 9348909e8..c515e0507 100644
--- a/src/lib/utils/compiler.h
+++ b/src/lib/utils/compiler.h
@@ -6,7 +6,7 @@
*/
/* This header is included in both C++ and C (via ffi.h) and should only
- contain macro definitions.
+ contain macro definitions. Avoid C++ style // comments in this file.
*/
#ifndef BOTAN_UTIL_COMPILER_FLAGS_H_
@@ -105,7 +105,7 @@
#define BOTAN_DEPRECATED(msg) __declspec(deprecated(msg))
#elif defined(__GNUG__)
- // msg supported since GCC 4.5, earliest we support is 4.8
+ /* msg supported since GCC 4.5, earliest we support is 4.8 */
#define BOTAN_DEPRECATED(msg) __attribute__ ((deprecated(msg)))
#endif