From 0792b19670ce1024020c30422770e27599f8c676 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 23 Aug 2011 11:59:56 +0000 Subject: =?UTF-8?q?2011-08-23=20=20Ralf=20Cors=C3=A9pius=20=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libc/posix/regexec.c: Define "nope" only #ifndef NDEBUG. * libc/stdio/vfscanf.c: Define "state" only #ifdef _MB_CAPABLE. * libc/string/wcwidth.c: Include for "iswprint" and "iswcntrl". --- newlib/libc/posix/regexec.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newlib/libc/posix') diff --git a/newlib/libc/posix/regexec.c b/newlib/libc/posix/regexec.c index 957ce3b..98f5ef6 100644 --- a/newlib/libc/posix/regexec.c +++ b/newlib/libc/posix/regexec.c @@ -58,7 +58,9 @@ static char sccsid[] = "@(#)regexec.c 8.3 (Berkeley) 3/20/94"; #include "utils.h" #include "regex2.h" +#ifndef NDEBUG static int nope = 0; /* for use in asserts; shuts lint up */ +#endif /* macros for manipulating states, small version */ #define states long -- cgit v1.1