From dbdc82aa7146042b14dbae369a074e5bf41b4aa8 Mon Sep 17 00:00:00 2001 From: Mark Mitchell <mark@codesourcery.com> Date: Mon, 26 Sep 2005 21:02:57 +0000 Subject: [PATCH] * 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. --- include/ChangeLog | 4 ++++ include/libiberty.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index ba7cfbe6b..0f4ecdc1f 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 6fb5e19cc..c264cb2ab 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