aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-06-10 22:43:34 +0200
committerSebastiano Tronto <sebastiano@tronto.net>2024-06-10 22:43:34 +0200
commit2ec81876eb59bb3e7c544774aa222988c1f574c4 (patch)
treeb6eca032fe3071a17ad580d8e178c8383818a02a /src
parentd9f40f59c9f14bef7f87c11da7494f7dcf1457b4 (diff)
downloadnissy-core-2ec81876eb59bb3e7c544774aa222988c1f574c4.tar.gz
nissy-core-2ec81876eb59bb3e7c544774aa222988c1f574c4.zip
Fix build errors on OpenBSD
Diffstat (limited to 'src')
-rw-r--r--src/cube_public.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cube_public.h b/src/cube_public.h
index 7f7b81c..ade8778 100644
--- a/src/cube_public.h
+++ b/src/cube_public.h
@@ -1,7 +1,7 @@
1int check(cube_t, char [static 22]); 1int check_error(cube_t, char [static 22]);
2 2
3int 3int
4check(cube_t cube, char result[static 22]) 4check_error(cube_t cube, char result[static 22])
5{ 5{
6 if (!isconsistent(cube)) { 6 if (!isconsistent(cube)) {
7 writecube("B32", zero, result); 7 writecube("B32", zero, result);
@@ -25,7 +25,7 @@ nissy_compose(
25 25
26 res = compose(c, p); 26 res = compose(c, p);
27 27
28 return check(res, result); 28 return check_error(res, result);
29} 29}
30 30
31int 31int

Generated with cgit - Back to sebastiano.tronto.net