From f4385255be1615688c6a5f042277304d7ab288b1 Mon Sep 17 00:00:00 2001 From: John Zimmermann Date: Fri, 18 Mar 2022 00:18:19 +0100 Subject: [PATCH] obstack.c: alias obstack_free to _obstack_free closes #6 --- obstack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obstack.c b/obstack.c index 0a4e57e..1f2f4c7 100644 --- a/obstack.c +++ b/obstack.c @@ -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) {