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

@@ -314,7 +314,7 @@ void
generate_states (void)
{
allocate_storage ();
new_closure (nritems);
closure_new (nritems);
/* Create the initial state. The 0 at the lhs is the index of the
item of this initial rule. */
@@ -345,7 +345,7 @@ generate_states (void)
}
/* discard various storage */
free_closure ();
closure_free ();
free_storage ();
/* Set up STATES. */