diff options
author | DJ Delorie <dj@redhat.com> | 2007-05-08 01:29:33 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2007-05-08 01:29:33 +0000 |
commit | 0c18fee5b37f838c89b45c757deadfa81574e352 (patch) | |
tree | 84771eb0a6a707e0a63e712f7602dbc8d2d8cd0b /include | |
parent | f453a23a5117037dd9f787e5cf8796cdf91d75d0 (diff) | |
download | gdb-0c18fee5b37f838c89b45c757deadfa81574e352.zip gdb-0c18fee5b37f838c89b45c757deadfa81574e352.tar.gz gdb-0c18fee5b37f838c89b45c757deadfa81574e352.tar.bz2 |
merge from gcc
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 4 | ||||
-rw-r--r-- | include/libiberty.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 64e016e..297e8b3 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2007-05-07 Nathan Froyd <froydnj@codesourcery.com> + + * libiberty.h (writeargv): Declare. + 2007-04-30 Alan Modra <amodra@bigpond.net.au> * bfdlink.h (struct bfd_link_info): Add "info" and "minfo". diff --git a/include/libiberty.h b/include/libiberty.h index 7a58b71..4e69734 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -86,6 +86,10 @@ extern char **dupargv (char **) ATTRIBUTE_MALLOC; extern void expandargv PARAMS ((int *, char ***)); +/* Write argv to an @-file, inserting necessary quoting. */ + +extern int writeargv PARAMS ((char **, FILE *)); + /* Return the last component of a path name. Note that we can't use a prototype here because the parameter is declared inconsistently across different systems, sometimes as "char *" and sometimes as |