diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-09-26 20:55:10 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2005-09-26 20:55:10 +0000 |
commit | 97393d0a03a7ef721afaed14b6d6f398d0fa261a (patch) | |
tree | 296846fb789e3b49e2547f212dd678d9e57512c2 /include | |
parent | 18623faed15aed3cc1ecbca0e7323bbc02b4d44b (diff) | |
download | gcc-97393d0a03a7ef721afaed14b6d6f398d0fa261a.zip gcc-97393d0a03a7ef721afaed14b6d6f398d0fa261a.tar.gz gcc-97393d0a03a7ef721afaed14b6d6f398d0fa261a.tar.bz2 |
libiberty.h (expandargv): New function.
* libiberty.h (expandargv): New function.
* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
From-SVN: r104664
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/libiberty.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index c0c22b5..bdd47bb 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2005-09-26 Mark Mitchell <mark@codesourcery.com> + + * libiberty.h (expandargv): New function. + 2005-08-17 Mark Kettenis <kettenis@gnu.org> * floatformat.h (struct floatformat): Change type of large diff --git a/include/libiberty.h b/include/libiberty.h index 6fb5e19..c264cb2 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -82,6 +82,9 @@ extern void freeargv (char **); extern char **dupargv (char **) ATTRIBUTE_MALLOC; +/* Expand "@file" arguments in argv. */ + +extern void expandargv PARAMS ((int *, char ***)); /* Return the last component of a path name. Note that we can't use a prototype here because the parameter is declared inconsistently |