2010-11-26 12:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/rdd/dbf1.c
* harbour/src/rdd/sdf1.c
* harbour/src/rdd/delim1.c
* harbour/src/rdd/dbffpt/dbffpt1.c
* harbour/src/rdd/dbfntx/dbfntx1.c
* harbour/src/rdd/dbfnsx/dbfnsx1.c
* harbour/src/rdd/dbfcdx/dbfcdx1.c
* harbour/contrib/rddads/adsx.c
* harbour/contrib/rddbmcdx/bmdbfcdx.c
* harbour/contrib/rddsql/sqlbase.c
* harbour/contrib/rddsql/sqlmix.c
* harbour/contrib/sddmy/sddmy.c
* harbour/contrib/sddfb/sddfb.c
* harbour/contrib/sddpg/sddpg.c
* harbour/contrib/sddoci/sddoci.c
* harbour/contrib/sddodbc/sddodbc.c
* harbour/contrib/sddsqlt3/sddsqlt3.c
* harbour/include/harbour.hbx
* harbour/contrib/rddads/rddads.hbx
* declare *_GETFUNCTABLE() functions as static - they do not have to
be public C functions
* simplified if possible RDD registration code and modified
supper RDD request method so it's not stripped by compiler
when hb_errInternal() function is declared with NORETURN
attribute
This commit is contained in:
@@ -1225,19 +1225,9 @@ static RDDFUNCS sqlbaseTable =
|
||||
|
||||
/*================ Module initialization code ========================================*/
|
||||
|
||||
static void hb_sqlbaseInit( void * cargo )
|
||||
{
|
||||
HB_SYMBOL_UNUSED( cargo );
|
||||
|
||||
if ( hb_rddRegister( "SQLBASE", RDT_FULL ) > 1 )
|
||||
{
|
||||
hb_errInternal( HB_EI_RDDINVALID, NULL, NULL, NULL );
|
||||
}
|
||||
}
|
||||
|
||||
HB_FUNC( SQLBASE ) {;}
|
||||
|
||||
HB_FUNC( SQLBASE_GETFUNCTABLE )
|
||||
HB_FUNC_STATIC( SQLBASE_GETFUNCTABLE )
|
||||
{
|
||||
RDDFUNCS * pTable;
|
||||
HB_USHORT * puiCount, uiRddId;
|
||||
@@ -1266,6 +1256,13 @@ HB_FUNC( SQLBASE_GETFUNCTABLE )
|
||||
}
|
||||
}
|
||||
|
||||
static void hb_sqlbaseInit( void * cargo )
|
||||
{
|
||||
HB_SYMBOL_UNUSED( cargo );
|
||||
|
||||
if ( hb_rddRegister( "SQLBASE", RDT_FULL ) > 1 )
|
||||
hb_errInternal( HB_EI_RDDINVALID, NULL, NULL, NULL );
|
||||
}
|
||||
|
||||
HB_INIT_SYMBOLS_BEGIN( sqlbase__InitSymbols )
|
||||
{ "SQLBASE", {HB_FS_PUBLIC}, {HB_FUNCNAME( SQLBASE )}, NULL },
|
||||
|
||||
Reference in New Issue
Block a user