diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-06-12 13:45:06 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-06-12 13:45:06 -0400 |
commit | 0fec83ebc89bd6b86f772d942b7c39b13f773d3a (patch) | |
tree | f2d10a7fe784773b4722843ce3f2bbe1c8e0db62 /libdimension/dimension/pattern.h | |
parent | bb976e3a5cc01abecf6729eb511f75fb21c6d2c4 (diff) | |
download | dimension-0fec83ebc89bd6b86f772d942b7c39b13f773d3a.tar.xz |
Add a C89 compliance test for the headers.
Technically we still require a couple things from C99 like "bool",
but it works with -std=c89 under gcc.
Diffstat (limited to 'libdimension/dimension/pattern.h')
-rw-r--r-- | libdimension/dimension/pattern.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdimension/dimension/pattern.h b/libdimension/dimension/pattern.h index f1276ec..2caed07 100644 --- a/libdimension/dimension/pattern.h +++ b/libdimension/dimension/pattern.h @@ -24,7 +24,7 @@ * used for pigments and normals. */ -// Forward-declare dmnsn_pattern +/* Forward-declare dmnsn_pattern */ typedef struct dmnsn_pattern dmnsn_pattern; /** @@ -35,9 +35,9 @@ typedef struct dmnsn_pattern dmnsn_pattern; */ typedef double dmnsn_pattern_fn(const dmnsn_pattern *pattern, dmnsn_vector v); -/// A pattern. +/** A pattern. */ struct dmnsn_pattern { - dmnsn_pattern_fn *pattern_fn; ///< The pattern callback. + dmnsn_pattern_fn *pattern_fn; /**< The pattern callback. */ }; /** |