diff options
author | Mark Mitchell <mark@codesourcery.com> | 2005-09-26 21:02:59 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2005-09-26 21:02:59 +0000 |
commit | ba0a53ead2b66562cd4ad410bc27542ccf92af7d (patch) | |
tree | 54f699a2789c4b9f02500df5eca403588aa50f92 /include | |
parent | 9e209ec7fd12f06f476a53a75298eaa1425d2754 (diff) | |
download | gdb-ba0a53ead2b66562cd4ad410bc27542ccf92af7d.tar.gz |
* 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.
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 ba7cfbe6b2a..0f4ecdc1fe6 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 6fb5e19ccd5..c264cb2ab0e 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 |