]> git.ipfire.org Git - thirdparty/gcc.git/commit
libiberty: {count,dup,write}argv: constify argv input slightly
authorMike Frysinger <vapier@gentoo.org>
Tue, 5 Jan 2016 20:23:30 +0000 (20:23 +0000)
committerMike Frysinger <vapier@gcc.gnu.org>
Tue, 5 Jan 2016 20:23:30 +0000 (20:23 +0000)
commit66f49f07d85b002777c45e8f3d1c529ecb65c1cf
treee33cdcaa1dabbad9bd07bef692c837f46907a560
parentacf93f1edc9c6148ff34499975acf2f4a7cc9e75
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.

From-SVN: r232089
include/ChangeLog
include/libiberty.h
libiberty/ChangeLog
libiberty/argv.c
libiberty/functions.texi