From 0ecb606cb6cf65de1d9fc8a919bceb4be476c602 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Thu, 12 Jul 2007 18:26:36 +0000 Subject: 2.5-18.1 --- debug/snprintf_chk.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'debug/snprintf_chk.c') diff --git a/debug/snprintf_chk.c b/debug/snprintf_chk.c index 5a77afef29..315d47c88b 100644 --- a/debug/snprintf_chk.c +++ b/debug/snprintf_chk.c @@ -1,4 +1,5 @@ -/* Copyright (C) 1991, 1995, 1997, 1998, 2004 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1997, 1998, 2004, 2006 + Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -16,6 +17,7 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +#include #include #include @@ -24,8 +26,8 @@ string FORMAT, writing no more than MAXLEN characters. */ /* VARARGS5 */ int -__snprintf_chk (char *s, size_t maxlen, int flags, size_t slen, - const char *format, ...) +___snprintf_chk (char *s, size_t maxlen, int flags, size_t slen, + const char *format, ...) { va_list arg; int done; @@ -36,3 +38,4 @@ __snprintf_chk (char *s, size_t maxlen, int flags, size_t slen, return done; } +ldbl_strong_alias (___snprintf_chk, __snprintf_chk) -- cgit v1.2.3