diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-08-23 11:59:56 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-08-23 11:59:56 +0000 |
commit | 0792b19670ce1024020c30422770e27599f8c676 (patch) | |
tree | 66793bb12e298d5a2d0f2467abd281f8bf69ac8c /newlib/libc/posix | |
parent | 74c92a62fe1d815b90c72587504dfd57b51ae62b (diff) | |
download | newlib-0792b19670ce1024020c30422770e27599f8c676.zip newlib-0792b19670ce1024020c30422770e27599f8c676.tar.gz newlib-0792b19670ce1024020c30422770e27599f8c676.tar.bz2 |
2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* libc/posix/regexec.c: Define "nope" only #ifndef NDEBUG.
* libc/stdio/vfscanf.c: Define "state" only #ifdef _MB_CAPABLE.
* libc/string/wcwidth.c: Include <wctypes.h> for "iswprint" and
"iswcntrl".
Diffstat (limited to 'newlib/libc/posix')
-rw-r--r-- | newlib/libc/posix/regexec.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |