diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-09-26 21:02:57 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-09-26 21:02:57 +0000 |
commit | dbdc82aa7146042b14dbae369a074e5bf41b4aa8 (patch) | |
tree | aaef08a9dca4d0d0d5af66e7c4f9f6864e73dc95 | |
parent | 6c22c79f73046ceed5c2f3648405b3db3c81ce76 (diff) | |
download | newlib-dbdc82aa7146042b14dbae369a074e5bf41b4aa8.zip newlib-dbdc82aa7146042b14dbae369a074e5bf41b4aa8.tar.gz newlib-dbdc82aa7146042b14dbae369a074e5bf41b4aa8.tar.bz2 |
* 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.
* Makefile.in: Regenerated.
-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 ba7cfbe..0f4ecdc 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-18 Alan Modra <amodra@bigpond.net.au> * bfdlink.h: Remove mention of a29k. 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 |