diff options
author | Eric Blake <eblake@redhat.com> | 2007-05-29 21:26:59 +0000 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2007-05-29 21:26:59 +0000 |
commit | b206478328eb2cf2e8807b514dabb3069299a1e6 (patch) | |
tree | b4b83ac0428f372f64645848f9db517df35b7dc1 /newlib/libc/stdlib/system.c | |
parent | ad4e943fca1d5f03a1d23c742365d39d374ff942 (diff) | |
download | cygnal-b206478328eb2cf2e8807b514dabb3069299a1e6.tar.gz cygnal-b206478328eb2cf2e8807b514dabb3069299a1e6.tar.bz2 cygnal-b206478328eb2cf2e8807b514dabb3069299a1e6.zip |
Avoid more compiler warnings.
* libc/stdlib/btowc.c: Add missing header.
* libc/stdlib/getopt.c (getopt_internal): Initialize variable.
* libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
* libc/stdlib/wctob.c: Add missing header.
* libc/string/strcpy.c (strcpy): Avoid warnings.
* libc/string/strrchr.c (strrchr): Likewise.
Diffstat (limited to 'newlib/libc/stdlib/system.c')
-rw-r--r-- | newlib/libc/stdlib/system.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c index ad2217743..0b5d9a149 100644 --- a/newlib/libc/stdlib/system.c +++ b/newlib/libc/stdlib/system.c @@ -179,6 +179,7 @@ do_system (ptr, s) return -1; else { + extern int _wait (int *); int rc = _wait (&status); if (rc == -1) return -1; |