diff --git a/src/toolsComm/flex/flex.skel b/src/toolsComm/flex/flex.skel index 68096e929..72ab0c379 100644 --- a/src/toolsComm/flex/flex.skel +++ b/src/toolsComm/flex/flex.skel @@ -22,13 +22,8 @@ #include #include -/* the "const" storage-class-modifier is valid */ -#define YY_USE_CONST - #else /* ! __cplusplus */ -#ifdef __STDC__ - #ifdef __GNUC__ #include void *malloc( size_t ); @@ -37,22 +32,9 @@ void free( void* ); #include #endif /* __GNUC__ */ -#define YY_USE_CONST - -#endif /* __STDC__ */ #endif /* ! __cplusplus */ -#ifdef __TURBOC__ -#define YY_USE_CONST -#endif - - -#ifndef YY_USE_CONST -#define const -#endif - - /* amount of stuff to slurp up with each read */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 8192 diff --git a/src/toolsComm/flex/flex.skel.static b/src/toolsComm/flex/flex.skel.static index 62e9f28c8..a52306c20 100644 --- a/src/toolsComm/flex/flex.skel.static +++ b/src/toolsComm/flex/flex.skel.static @@ -11,15 +11,6 @@ #include #include -/* the "const" storage-class-modifier is valid */ -#define YY_USE_CONST - - -#ifndef YY_USE_CONST -#define const -#endif - - /* amount of stuff to slurp up with each read */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 8192 diff --git a/src/toolsComm/flex/scan.c b/src/toolsComm/flex/scan.c index 5d95fea89..4674fd85f 100644 --- a/src/toolsComm/flex/scan.c +++ b/src/toolsComm/flex/scan.c @@ -22,13 +22,7 @@ #include #include -/* the "const" storage-class-modifier is valid */ -#define YY_USE_CONST - #else /* ! __cplusplus */ - -#ifdef __STDC__ - #ifdef __GNUC__ #include void *malloc( size_t ); @@ -37,22 +31,9 @@ void free( void* ); #include #endif /* __GNUC__ */ -#define YY_USE_CONST - -#endif /* __STDC__ */ #endif /* ! __cplusplus */ -#ifdef __TURBOC__ -#define YY_USE_CONST -#endif - - -#ifndef YY_USE_CONST -#define const -#endif - - /* amount of stuff to slurp up with each read */ #ifndef YY_READ_BUF_SIZE #define YY_READ_BUF_SIZE 8192