summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2008-03-05 09:37:45 +0000
committerJakub Jelinek <jakub@redhat.com>2008-03-05 09:37:45 +0000
commit5c25449dd9fd706f79ee6d92019f28044d9270fa (patch)
treead5a2ddd80177af8109c358b71a9baa94f75581f /sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c
parentff9e7e3fe2fa6daf6ef542bb1fd1066164dd33bb (diff)
Updated to fedora-glibc-20080305T0857cvs/fedora-glibc-2_7_90-8
Diffstat (limited to 'sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c')
-rw-r--r--sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c b/sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c
new file mode 100644
index 0000000000..8e7d8eb4ad
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-opt/nldbl-obstack_printf_chk.c
@@ -0,0 +1,13 @@
+#include "nldbl-compat.h"
+
+int
+attribute_hidden
+__obstack_printf_chk (struct obstack *obstack, int flag, const char *fmt, ...)
+{
+ int result;
+ va_list ap;
+ va_start (ap, fmt);
+ result = __nldbl___obstack_vprintf_chk (obstack, flag, fmt, ap);
+ va_end (ap);
+ return result;
+}