From d13ea330668e1babdad2db81c3fbba40a1a23a32 Mon Sep 17 00:00:00 2001 From: cascade Date: Fri, 16 Sep 2005 21:39:13 +0000 Subject: [PATCH] OCC10009 regexp is duplicated in Strandard and WOKNT packages Standard_regexp.h Standard_regexp.c --- src/WOKNT/WOKNT_Shell_1.cxx | 2 +- src/WOKNT/WOKNT_regexp_1.c | 15 +-------------- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/src/WOKNT/WOKNT_Shell_1.cxx b/src/WOKNT/WOKNT_Shell_1.cxx index 01f239e..2ef0985 100755 --- a/src/WOKNT/WOKNT_Shell_1.cxx +++ b/src/WOKNT/WOKNT_Shell_1.cxx @@ -11,7 +11,7 @@ #include #include -#include +#include #include typedef int ( *EXT_FUNC ) ( int, TCHAR** ); diff --git a/src/WOKNT/WOKNT_regexp_1.c b/src/WOKNT/WOKNT_regexp_1.c index 777d80d..01f0c4d 100755 --- a/src/WOKNT/WOKNT_regexp_1.c +++ b/src/WOKNT/WOKNT_regexp_1.c @@ -23,19 +23,6 @@ /******************************************************************************/ /***/ -/* JGA : to compile on Solaris */ -#ifdef HAVE_CONFIG_H -# include -#endif - -/* alloca() non disponible sur HPUX 9.07 */ -#ifdef __cplusplus -extern "C" { -#endif -void *alloca(unsigned int); -# ifdef __cplusplus -} -#endif #include @@ -1351,7 +1338,7 @@ int re_match_2 ( d2 = string2, dend2 = regend[ regno ]; /* end of string1 => advance to string2. */ - } /* end while + } /* end while */ /* At end of register contents => success */ if ( d2 == dend2 ) break; -- 2.39.5