diff options
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/inc/rsclex.hxx | 6 | ||||
-rw-r--r-- | rsc/source/parser/rsclex.cxx | 8 |
2 files changed, 2 insertions, 12 deletions
diff --git a/rsc/inc/rsclex.hxx b/rsc/inc/rsclex.hxx index 31069240468b..3ec3a181ede8 100644 --- a/rsc/inc/rsclex.hxx +++ b/rsc/inc/rsclex.hxx @@ -93,11 +93,7 @@ class ObjectStack }; /****************** F o r w a r d s **************************************/ -#if defined( RS6000 ) -extern "C" int yyparse(); // forward Deklaration fuer erzeugte Funktion -extern "C" void yyerror( char * ); -extern "C" int yylex( void ); -#elif defined ( SOLARIS ) +#if defined ( SOLARIS ) extern "C" int yyparse(); // forward Deklaration fuer erzeugte Funktion extern "C" void yyerror( const char * ); extern "C" int yylex( void ); diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx index b4a23f0a0bf5..6c261c4282ac 100644 --- a/rsc/source/parser/rsclex.cxx +++ b/rsc/source/parser/rsclex.cxx @@ -315,11 +315,7 @@ int MakeToken( YYSTYPE * pTokenVal ) return c1; } -#if defined( RS6000 ) -extern "C" int yylex() -#else int yylex() -#endif { if( bTargetDefined ) bTargetDefined = false; @@ -330,9 +326,7 @@ int yylex() return aKeyVal[ 0 ].nKeyWord; } -#ifdef RS6000 -extern "C" void yyerror( char* pMessage ) -#elif defined SOLARIS +#if defined SOLARIS extern "C" void yyerror( const char* pMessage ) #else void yyerror( char* pMessage ) |