aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/sscanf.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-22 20:10:10 +0000
commita334319f6530564d22e775935d9c91663623a1b4 (patch)
treeb5877475619e4c938e98757d518bb1e9cbead751 /stdio-common/sscanf.c
parent0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (diff)
downloadglibc-a334319f6530564d22e775935d9c91663623a1b4.zip
glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.gz
glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.bz2
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
Diffstat (limited to 'stdio-common/sscanf.c')
-rw-r--r--stdio-common/sscanf.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdio-common/sscanf.c b/stdio-common/sscanf.c
index 384a697..b369767 100644
--- a/stdio-common/sscanf.c
+++ b/stdio-common/sscanf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1998, 2002, 2003, 2004, 2006
+/* Copyright (C) 1991, 1995, 1996, 1998, 2002, 2003, 2004
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -19,13 +19,13 @@
#include <stdarg.h>
#include <stdio.h>
-#include <libioP.h>
+#include <libio/iolibio.h>
#define __vsscanf(s, f, a) _IO_vsscanf (s, f, a)
/* Read formatted input from S, according to the format string FORMAT. */
/* VARARGS2 */
int
-__sscanf (const char *s, const char *format, ...)
+sscanf (const char *s, const char *format, ...)
{
va_list arg;
int done;
@@ -36,8 +36,8 @@ __sscanf (const char *s, const char *format, ...)
return done;
}
-ldbl_hidden_def (__sscanf, sscanf)
-ldbl_strong_alias (__sscanf, sscanf)
+libc_hidden_def (sscanf)
+
#undef _IO_sscanf
/* This is for libg++. */
-ldbl_strong_alias (__sscanf, _IO_sscanf)
+strong_alias (sscanf, _IO_sscanf)