Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2007-05-30 01:26:59 +0400
committerEric Blake <eblake@redhat.com>2007-05-30 01:26:59 +0400
commitb206478328eb2cf2e8807b514dabb3069299a1e6 (patch)
treeb4b83ac0428f372f64645848f9db517df35b7dc1 /newlib/libc/stdlib/btowc.c
parentad4e943fca1d5f03a1d23c742365d39d374ff942 (diff)
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/btowc.c')
-rw-r--r--newlib/libc/stdlib/btowc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/btowc.c b/newlib/libc/stdlib/btowc.c
index a1ea920ef..847d7ce1a 100644
--- a/newlib/libc/stdlib/btowc.c
+++ b/newlib/libc/stdlib/btowc.c
@@ -2,6 +2,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <reent.h>
+#include <string.h>
wint_t
btowc (int c)