Skip to content

Commit

Permalink
obstack.c: alias obstack_free to _obstack_free
Browse files Browse the repository at this point in the history
closes #6
  • Loading branch information
Johnnynator committed Mar 28, 2022
1 parent d0493f4 commit f438525
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions obstack.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ _obstack_free (struct obstack *h, void *obj)
abort ();
}

extern __typeof(_obstack_free) obstack_free __attribute__((alias("_obstack_free")));

_OBSTACK_SIZE_T
_obstack_memory_used (struct obstack *h)
{
Expand Down

0 comments on commit f438525

Please sign in to comment.