style: rename closure_* functions as closure_*

This is more consistent with the other files.

* closure.h, closure.c (new_closure, free_closure): Rename as...
(closure_new, closure_free): this.
Adjust dependencies.
This commit is contained in:
Akim Demaille
2019-01-27 20:14:11 +01:00
parent e585377e68
commit 7355a35e4b
6 changed files with 15 additions and 15 deletions

View File

@@ -510,14 +510,14 @@ print_results (void)
/* If the whole state item sets, not only the kernels, are wanted,
'closure' will be run, which needs memory allocation/deallocation. */
if (report_flag & report_itemsets)
new_closure (nritems);
closure_new (nritems);
/* Storage for print_reductions. */
no_reduce_set = bitset_create (ntokens, BITSET_FIXED);
for (state_number i = 0; i < nstates; i++)
print_state (out, states[i]);
bitset_free (no_reduce_set);
if (report_flag & report_itemsets)
free_closure ();
closure_free ();
xfclose (out);
}