summaryrefslogtreecommitdiffstats
path: root/libdimension/checker.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/checker.c')
-rw-r--r--libdimension/checker.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/libdimension/checker.c b/libdimension/checker.c
index 9c1de34..0424cd6 100644
--- a/libdimension/checker.c
+++ b/libdimension/checker.c
@@ -18,12 +18,14 @@
* <http://www.gnu.org/licenses/>. *
*************************************************************************/
-#include "dimension.h"
-
-/*
- * Checker pattern
+/**
+ * @file
+ * Checker pattern.
*/
+#include "dimension.h"
+
+/** Checker pattern callback. */
static double
dmnsn_checker_pattern_fn(const dmnsn_pattern *checker, dmnsn_vector v)
{
@@ -50,7 +52,7 @@ dmnsn_checker_pattern_fn(const dmnsn_pattern *checker, dmnsn_vector v)
}
dmnsn_pattern *
-dmnsn_new_checker_pattern()
+dmnsn_new_checker_pattern(void)
{
dmnsn_pattern *checker = dmnsn_new_pattern();
checker->pattern_fn = &dmnsn_checker_pattern_fn;