summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-06-12 11:05:10 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-06-12 11:05:10 -0400
commitbb976e3a5cc01abecf6729eb511f75fb21c6d2c4 (patch)
tree606e5094f454fa53bcd52afac5cb815742d13e56 /libdimension/dimension.h
parent453bb6c1b79d6d4fe4b1277336dc0f4097a5ee6b (diff)
downloaddimension-bb976e3a5cc01abecf6729eb511f75fb21c6d2c4.tar.xz
Add a C99 conformance test for the headers.
Diffstat (limited to 'libdimension/dimension.h')
-rw-r--r--libdimension/dimension.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libdimension/dimension.h b/libdimension/dimension.h
index 929c136..57458c1 100644
--- a/libdimension/dimension.h
+++ b/libdimension/dimension.h
@@ -40,11 +40,11 @@
#define DIMENSION_H
#ifdef __cplusplus
-/* We've been included from a C++ file; mark everything here as extern "C" */
+// We've been included from a C++ file; mark everything here as extern "C"
extern "C" {
#endif
-/* Common macros */
+// Common macros
/**
* @internal
@@ -59,7 +59,7 @@ extern "C" {
#define DMNSN_FUNC "<unknown function>"
#endif
-/* Common types */
+// Common types
/**
* Generic callback type.
@@ -73,7 +73,7 @@ typedef void dmnsn_callback_fn(void *ptr);
*/
typedef void dmnsn_free_fn(void *ptr);
-/* Include all the libdimension headers */
+// Include all the libdimension headers
#include <dimension/compiler.h>
#include <dimension/error.h>
#include <dimension/malloc.h>
@@ -112,4 +112,4 @@ typedef void dmnsn_free_fn(void *ptr);
}
#endif
-#endif /* DIMENSION_H */
+#endif // DIMENSION_H