diff options
author | DJ Delorie <dj@delorie.com> | 2011-09-28 20:01:37 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2011-09-28 20:01:37 +0000 |
commit | c89f67a886ad68ee49db73882fc87ff7bb24691b (patch) | |
tree | 7df8be955addc0300b6fa6199896c4d89fdf45f0 /include/libiberty.h | |
parent | c952ac3470ee0985837886e32ccaf2ac5bc5ff69 (diff) | |
download | gdb-c89f67a886ad68ee49db73882fc87ff7bb24691b.tar.gz |
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 32eb83a049e..cacde800ea3 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 |