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 | 7b17bc29953d0fdda3d473ebef6c2488a1f6fb04 (patch) | |
tree | 1165bfa6d8543bdce1058c58cd90953a57d52fd8 /include | |
parent | ae2a31bf153265146a5dafaa3059f720183cbb24 (diff) | |
download | gdb-7b17bc29953d0fdda3d473ebef6c2488a1f6fb04.zip gdb-7b17bc29953d0fdda3d473ebef6c2488a1f6fb04.tar.gz gdb-7b17bc29953d0fdda3d473ebef6c2488a1f6fb04.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.
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 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 |