|
@@ -4,15 +4,10 @@
|
|
|
|
|
|
#include <stdio.h>
|
|
|
#include <stdarg.h>
|
|
|
-
|
|
|
-#ifdef _LIBC
|
|
|
-# include <obstack.h>
|
|
|
-#else
|
|
|
-# include "obstack.h"
|
|
|
-#endif
|
|
|
+#include <obstack.h>
|
|
|
|
|
|
int
|
|
|
-_obstack_vprintf (struct obstack *obstack, const char *format, va_list args)
|
|
|
+obstack_vprintf (struct obstack *obstack, const char *format, va_list args)
|
|
|
{
|
|
|
int n;
|
|
|
char *s;
|
|
@@ -20,16 +15,15 @@ _obstack_vprintf (struct obstack *obstack, const char *format, va_list args)
|
|
|
obstack_grow(obstack, s, n);
|
|
|
return n;
|
|
|
}
|
|
|
-weak_alias (_obstack_vprintf, obstack_vprintf)
|
|
|
+libc_hidden_def(obstack_vprintf)
|
|
|
|
|
|
int
|
|
|
-_obstack_printf (struct obstack *obstack, const char *format, ...)
|
|
|
+obstack_printf (struct obstack *obstack, const char *format, ...)
|
|
|
{
|
|
|
int n;
|
|
|
va_list ap;
|
|
|
va_start (ap, format);
|
|
|
- n = _obstack_vprintf (obstack, format, ap);
|
|
|
+ n = obstack_vprintf (obstack, format, ap);
|
|
|
va_end (ap);
|
|
|
return n;
|
|
|
}
|
|
|
-weak_alias (_obstack_printf, obstack_printf)
|