aboutsummaryrefslogtreecommitdiffstats
path: root/src/zcmpu.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-04 09:28:01 +0100
committerMattias Andrée <maandree@kth.se>2016-03-04 09:28:01 +0100
commit0a7e36380717fe926d43ab30ef6162db9bd71723 (patch)
treeb0ad75c7525688f8e54319e440b251213a4ef3db /src/zcmpu.c
parentAdd zptest (diff)
downloadlibzahl-0a7e36380717fe926d43ab30ef6162db9bd71723.tar.gz
libzahl-0a7e36380717fe926d43ab30ef6162db9bd71723.tar.bz2
libzahl-0a7e36380717fe926d43ab30ef6162db9bd71723.tar.xz
Add makefile and fix errors
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/zcmpu.c')
-rw-r--r--src/zcmpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zcmpu.c b/src/zcmpu.c
index 577a0f4..0c7d68e 100644
--- a/src/zcmpu.c
+++ b/src/zcmpu.c
@@ -1,5 +1,5 @@
/* See LICENSE file for copyright and license details. */
-#include "internals"
+#include "internals.h"
int
@@ -9,6 +9,6 @@ zcmpu(z_t a, unsigned long long int b)
return zsignum(a);
if (zsignum(a) <= 0)
return -1;
- zsetu(zahl_tmp_cmp, b);
- return zcmp(a, zahl_tmp_cmp);
+ zsetu(libzahl_tmp_cmp, b);
+ return zcmp(a, libzahl_tmp_cmp);
}