From 289a36a0a12c761bdfd398ce3d80eeaca9c1f589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Sun, 14 Dec 2014 11:57:31 +0000 Subject: [PATCH] opentry had rwo defs --- C/unify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C/unify.c b/C/unify.c index e0657eb92..c70982c48 100644 --- a/C/unify.c +++ b/C/unify.c @@ -602,14 +602,14 @@ unify_var_nvar_trail: static void InitReverseLookupOpcode(void) { - opentry *opeptr; + op_entry *opeptr; op_numbers i; /* 2 K should be OK */ int hash_size_mask = OP_HASH_SIZE-1; UInt sz = OP_HASH_SIZE*sizeof(struct opcode_tab_entry); while (OP_RTABLE == NULL) { - if ((OP_RTABLE = (opentry *)Yap_AllocCodeSpace(sz)) == NULL) { + if ((OP_RTABLE = (op_entry *)Yap_AllocCodeSpace(sz)) == NULL) { if (!Yap_growheap(FALSE, sz, NULL)) { Yap_Error(INTERNAL_ERROR, TermNil, "Couldn't obtain space for the reverse translation opcode table");