[OE-core] [PATCH] Alias _obstack_free to fix binutils build
Dmitriy Falko
d.falko at partner.samsung.com
Fri Jun 17 09:33:39 UTC 2016
Signed-off-by: Dmitriy Falko <d.falko at partner.samsung.com>
---
libc/misc/gnu/obstack.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libc/misc/gnu/obstack.c b/libc/misc/gnu/obstack.c
index 38cfd83..2689263 100644
--- a/libc/misc/gnu/obstack.c
+++ b/libc/misc/gnu/obstack.c
@@ -385,11 +385,11 @@ obstack_free (struct obstack *h, void *obj)
abort ();
}
-# if 0
+
/* Older versions of libc used a function _obstack_free intended to be
called by non-GCC compilers. */
strong_alias (obstack_free, _obstack_free)
-# endif
+
int
_obstack_memory_used (struct obstack *h)
--
2.7.4
More information about the Openembedded-core
mailing list