summaryrefslogtreecommitdiffstats
path: root/libdimension/leopard.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/leopard.c')
-rw-r--r--libdimension/leopard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/leopard.c b/libdimension/leopard.c
index 48986b4..072f032 100644
--- a/libdimension/leopard.c
+++ b/libdimension/leopard.c
@@ -23,7 +23,7 @@
* Leopard pattern.
*/
-#include "dimension.h"
+#include "dimension-internal.h"
#include <math.h>
/** Leopard pattern callback. */
@@ -37,7 +37,7 @@ dmnsn_leopard_pattern_fn(const dmnsn_pattern *leopard, dmnsn_vector v)
/** The singleton instance. */
static dmnsn_pattern dmnsn_leopard_instance = {
.pattern_fn = dmnsn_leopard_pattern_fn,
- .refcount = 1,
+ DMNSN_REFCOUNT_INITIALIZER,
};
dmnsn_pattern *