diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-12-22 20:10:10 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-12-22 20:10:10 +0000 |
commit | a334319f6530564d22e775935d9c91663623a1b4 (patch) | |
tree | b5877475619e4c938e98757d518bb1e9cbead751 /stdio-common/sprintf.c | |
parent | 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (diff) | |
download | glibc-a334319f6530564d22e775935d9c91663623a1b4.tar glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.gz glibc-a334319f6530564d22e775935d9c91663623a1b4.tar.bz2 glibc-a334319f6530564d22e775935d9c91663623a1b4.zip |
(CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.
Diffstat (limited to 'stdio-common/sprintf.c')
-rw-r--r-- | stdio-common/sprintf.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/stdio-common/sprintf.c b/stdio-common/sprintf.c index 7f564d5635..249fcb0dde 100644 --- a/stdio-common/sprintf.c +++ b/stdio-common/sprintf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1997, 1998, 2002, 2004, 2006 +/* Copyright (C) 1991, 1995, 1997, 1998, 2002, 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 vsprintf(s, f, a) INTUSE(_IO_vsprintf) (s, f, a) /* Write formatted output into S, according to the format string FORMAT. */ /* VARARGS2 */ int -__sprintf (char *s, const char *format, ...) +sprintf (char *s, const char *format, ...) { va_list arg; int done; @@ -36,6 +36,6 @@ __sprintf (char *s, const char *format, ...) return done; } -ldbl_hidden_def (__sprintf, sprintf) -ldbl_strong_alias (__sprintf, sprintf) -ldbl_strong_alias (__sprintf, _IO_sprintf) +libc_hidden_def (sprintf) + +strong_alias(sprintf, _IO_sprintf) |