From 10f19b4565a82a9fb2ebb7bf938154afb4e09ad6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 5 Apr 2010 01:32:19 +0200 Subject: regex_old: convert static flag variable to smallint Signed-off-by: Denys Vlasenko --- libc/misc/fnmatch/fnmatch.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libc/misc/fnmatch') diff --git a/libc/misc/fnmatch/fnmatch.c b/libc/misc/fnmatch/fnmatch.c index d25619b34..0fa043bad 100644 --- a/libc/misc/fnmatch/fnmatch.c +++ b/libc/misc/fnmatch/fnmatch.c @@ -21,13 +21,7 @@ # include #endif -/* include unistd.h before we undefine _LIBC - * because smallint is defined in unistd.h based - * on _LIBC. For architectures that dont define - * smallint of there own and rely upon the definition - * from unistd.h will not build this file otherwise - */ - +/* unistd.h must be included with _LIBC defined: we need smallint */ #include #include #ifdef __UCLIBC__ -- cgit v1.2.3