diff options
author | DJ Delorie <dj@redhat.com> | 2011-09-28 20:01:45 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2011-09-28 20:01:45 +0000 |
commit | 514c97d3e0e09f75366b973f214441d8cd019c8f (patch) | |
tree | 37ae136d2a2c6096a1f67576084ae8bbd0ff17ff /include/libiberty.h | |
parent | fe10a582b69fc09ce4775071aa619b0a6fc5dd1a (diff) | |
download | gdb-514c97d3e0e09f75366b973f214441d8cd019c8f.zip gdb-514c97d3e0e09f75366b973f214441d8cd019c8f.tar.gz gdb-514c97d3e0e09f75366b973f214441d8cd019c8f.tar.bz2 |
merge from gcc
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h index 32eb83a..cacde80 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -91,6 +91,10 @@ extern void expandargv PARAMS ((int *, char ***)); extern int writeargv PARAMS ((char **, FILE *)); +/* Return the number of elements in argv. */ + +extern int countargv (char**); + /* 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 |