19990923-00:30 GMT+1

This commit is contained in:
Viktor Szakats
1999-09-22 22:44:06 +00:00
parent 08155d7cbf
commit 8917030a11
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
19990923-00:30 GMT+1 Victor Szel <info@szelvesz.hu>
* source/compiler/genc.c
+ The generated C code now uses the "extern" keyword for functions
defined outside the .C file.
19990922-17:05 EDT David G. Holm <dholm@jsd-llc.com>
* source/tools/Makefile

View File

@@ -93,7 +93,7 @@ void GenCCode( PHB_FNAME pFileName ) /* generates the C language output */
{
pFTemp = GetFunction( pFunc->szName );
if( ! pFTemp || pFTemp == functions.pFirst )
fprintf( yyc, "HARBOUR HB_%s( void );\n", pFunc->szName );
fprintf( yyc, "extern HARBOUR HB_%s( void );\n", pFunc->szName );
pFunc = pFunc->pNext;
}