Implicit declaration of isw* removed (clang warning) 00/900/2
Sylvestre Ledru [Tue, 8 Jun 2010 11:29:23 +0000 (13:29 +0200)]
Change-Id: I3f6d50e9f524130ca24772ddf852b6e94211349f

scilab/modules/string/src/c/isalphanum.c
scilab/modules/string/src/c/isdigit.c
scilab/modules/string/src/c/isletter.c

index 93f1ea0..b3945e1 100644 (file)
@@ -14,7 +14,7 @@
 
 /*--------------------------------------------------------------------------*/
 #include <string.h>
-#include <ctype.h>
+#include <wctype.h>
 #include "isalphanum.h"
 #include "MALLOC.h"
 /*--------------------------------------------------------------------------*/
index 777d433..6b7d444 100644 (file)
@@ -13,7 +13,7 @@
 
 /*--------------------------------------------------------------------------*/
 #include <string.h>
-#include <ctype.h>
+#include <wctype.h>
 #include "isletter.h"
 #include "MALLOC.h"
 #include "isdigit.h"
index 984571d..e0133ff 100644 (file)
@@ -1,4 +1,3 @@
-
 /*
  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
  * Copyright (C) INRIA - Allan CORNET
@@ -14,6 +13,7 @@
 /*--------------------------------------------------------------------------*/
 #include <string.h>
 #include <ctype.h>
+#include <wctype.h> /* iswalpha */
 #include "isletter.h"
 #include "MALLOC.h"