mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-11 12:50:58 +08:00
More warning patrol.
This commit is contained in:
parent
675456ef83
commit
69f6309711
@ -1,5 +1,7 @@
|
|||||||
2011-08-14 Roland McGrath <roland@hack.frob.com>
|
2011-08-14 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* string/strncat.c (STRNCAT): Use prototype definition.
|
||||||
|
|
||||||
* locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
|
* locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
|
||||||
(locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
|
(locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
|
||||||
-Iprograms here.
|
-Iprograms here.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991, 1997 Free Software Foundation, Inc.
|
/* Copyright (C) 1991,1997,2011 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -29,10 +29,7 @@ typedef char reg_char;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
char *
|
char *
|
||||||
STRNCAT (s1, s2, n)
|
STRNCAT (char *s1, const char *s2, size_t n)
|
||||||
char *s1;
|
|
||||||
const char *s2;
|
|
||||||
size_t n;
|
|
||||||
{
|
{
|
||||||
reg_char c;
|
reg_char c;
|
||||||
char *s = s1;
|
char *s = s1;
|
||||||
|
Loading…
Reference in New Issue
Block a user