diff options
| author | DJ Delorie <dj@redhat.com> | 2011-09-28 20:01:37 +0000 |
|---|---|---|
| committer | DJ Delorie <dj@redhat.com> | 2011-09-28 20:01:37 +0000 |
| commit | 8a91ddb36763aab9339bba50e6da3ebc796ceaef (patch) | |
| tree | 58e0ad12e4af55274584689a1952486818be899f /include/libiberty.h | |
| parent | 6a534371fa6ba7c1bbcc8276acd86bf35c7630c0 (diff) | |
| download | newlib-8a91ddb36763aab9339bba50e6da3ebc796ceaef.zip newlib-8a91ddb36763aab9339bba50e6da3ebc796ceaef.tar.gz newlib-8a91ddb36763aab9339bba50e6da3ebc796ceaef.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 |
