This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r232089 - in /trunk: include/ChangeLog include/...
- From: vapier at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 05 Jan 2016 20:23:30 -0000
- Subject: r232089 - in /trunk: include/ChangeLog include/...
Author: vapier
Date: Tue Jan 5 20:23:30 2016
New Revision: 232089
URL: https://gcc.gnu.org/viewcvs?rev=232089&root=gcc&view=rev
Log:
libiberty: {count,dup,write}argv: constify argv input slightly
Would be more useful if we could use "const char * const *", but there's
a long standing bug where gcc warns about incompatible pointers when you
try to pass in "char **". We can at least constify the array itself as
gcc will not warn in that case.
Modified:
trunk/include/ChangeLog
trunk/include/libiberty.h
trunk/libiberty/ChangeLog
trunk/libiberty/argv.c
trunk/libiberty/functions.texi