dtappbuilder: Change to ANSI function definitions
This commit is contained in:
@@ -1295,7 +1295,7 @@ bil_token_key_compare(const void *voidIstr, const void *voidEntry)
|
||||
|
||||
|
||||
static int
|
||||
bil_token_table_init()
|
||||
bil_token_table_init(void)
|
||||
{
|
||||
#define btt bil_token_table
|
||||
#define off ((int)BIL_TOKEN_MIN_VALUE) /* offset to 1st token */
|
||||
|
||||
@@ -404,7 +404,7 @@ yywrap()
|
||||
*************************************************************************/
|
||||
|
||||
int
|
||||
bilP_load_reset()
|
||||
bilP_load_reset(void)
|
||||
{
|
||||
line_number= 1;
|
||||
last_token= AB_BIL_UNDEF;
|
||||
@@ -414,7 +414,7 @@ bilP_load_reset()
|
||||
}
|
||||
|
||||
int
|
||||
bilP_load_get_token()
|
||||
bilP_load_get_token(void)
|
||||
{
|
||||
return last_token;
|
||||
}
|
||||
@@ -432,13 +432,13 @@ bilP_load_get_value(void)
|
||||
}
|
||||
|
||||
int
|
||||
bilP_load_get_length()
|
||||
bilP_load_get_length(void)
|
||||
{
|
||||
return tokenTextLen;
|
||||
}
|
||||
|
||||
int
|
||||
bilP_load_get_line_number()
|
||||
bilP_load_get_line_number(void)
|
||||
{
|
||||
return line_number;
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ typedef LOADATT_FUNC *LOADATT_FUNC_PTR;
|
||||
/*
|
||||
*/
|
||||
ISTRING
|
||||
bilP_get_string()
|
||||
bilP_get_string(void)
|
||||
{
|
||||
STRING tmp_str = NULL;
|
||||
ISTRING value1;
|
||||
@@ -133,7 +133,7 @@ bilP_get_string()
|
||||
/*
|
||||
*/
|
||||
STRING
|
||||
bilP_load_att()
|
||||
bilP_load_att(void)
|
||||
{
|
||||
|
||||
return NULL;
|
||||
@@ -432,14 +432,14 @@ bilP_load_att_drag_enabled(BIL_TOKEN valueToken)
|
||||
}
|
||||
|
||||
STRING
|
||||
bilP_load_att_drag_ops_begin()
|
||||
bilP_load_att_drag_ops_begin(void)
|
||||
{
|
||||
nset_att(AB_BIL_DRAG_OPS);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
STRING
|
||||
bilP_load_att_drag_ops_end()
|
||||
bilP_load_att_drag_ops_end(void)
|
||||
{
|
||||
clear_att();
|
||||
return NULL;
|
||||
@@ -456,14 +456,14 @@ bilP_load_att_drag_to_root_allowed(BIL_TOKEN valueToken)
|
||||
}
|
||||
|
||||
STRING
|
||||
bilP_load_att_drag_types_begin()
|
||||
bilP_load_att_drag_types_begin(void)
|
||||
{
|
||||
nset_att(AB_BIL_DRAG_TYPES);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
STRING
|
||||
bilP_load_att_drag_types_end()
|
||||
bilP_load_att_drag_types_end(void)
|
||||
{
|
||||
clear_att();
|
||||
return NULL;
|
||||
@@ -489,42 +489,42 @@ bilP_load_att_drop_site_child_allowed(BIL_TOKEN valueToken)
|
||||
}
|
||||
|
||||
STRING
|
||||
bilP_load_att_drop_ops_begin()
|
||||
bilP_load_att_drop_ops_begin(void)
|
||||
{
|
||||
nset_att(AB_BIL_DROP_OPS);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
STRING
|
||||
bilP_load_att_drop_ops_end()
|
||||
bilP_load_att_drop_ops_end(void)
|
||||
{
|
||||
clear_att();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
STRING
|
||||
bilP_load_att_drop_types_begin()
|
||||
bilP_load_att_drop_types_begin(void)
|
||||
{
|
||||
nset_att(AB_BIL_DROP_TYPES);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
STRING
|
||||
bilP_load_att_drop_types_end()
|
||||
bilP_load_att_drop_types_end(void)
|
||||
{
|
||||
clear_att();
|
||||
return NULL;
|
||||
}
|
||||
|
||||
STRING
|
||||
bilP_load_att_files_begin()
|
||||
bilP_load_att_files_begin(void)
|
||||
{
|
||||
nset_att(AB_BIL_FILES);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
STRING
|
||||
bilP_load_att_files_end()
|
||||
bilP_load_att_files_end(void)
|
||||
{
|
||||
clear_att();
|
||||
return NULL;
|
||||
|
||||
@@ -392,7 +392,7 @@ epilogue:
|
||||
*/
|
||||
|
||||
int
|
||||
bilP_load_end_of_file()
|
||||
bilP_load_end_of_file(void)
|
||||
{
|
||||
bilP_reset_token_text();
|
||||
return 0;
|
||||
@@ -400,7 +400,7 @@ bilP_load_end_of_file()
|
||||
|
||||
|
||||
int
|
||||
bilP_load_end_of_data()
|
||||
bilP_load_end_of_data(void)
|
||||
{
|
||||
fseek(AByyin, 0, SEEK_END); /* move to end of file */
|
||||
return 0;
|
||||
|
||||
@@ -89,7 +89,7 @@ static BOOL align_tab_inited = FALSE;
|
||||
#define align_tab_check_init() (align_tab_inited? 0:align_tab_init())
|
||||
|
||||
static int
|
||||
align_tab_init()
|
||||
align_tab_init(void)
|
||||
{
|
||||
#define at align_tab
|
||||
align_tab_inited = TRUE;
|
||||
@@ -122,7 +122,7 @@ static BOOL arg_type_tab_inited = FALSE;
|
||||
#define arg_type_tab_check_init() (arg_type_tab_inited? 0:arg_type_tab_init())
|
||||
|
||||
static int
|
||||
arg_type_tab_init()
|
||||
arg_type_tab_init(void)
|
||||
{
|
||||
#define att arg_type_tab
|
||||
arg_type_tab_inited = TRUE;
|
||||
@@ -152,7 +152,7 @@ static BOOL gat_inited = FALSE;
|
||||
#define gat_check_init() (gat_inited? 0:gat_init())
|
||||
|
||||
static int
|
||||
gat_init()
|
||||
gat_init(void)
|
||||
{
|
||||
convert_fill_table(gat, AB_GIL_ATTRIBUTE_NUM_VALUES, istr_const(NULL));
|
||||
|
||||
@@ -316,7 +316,7 @@ static ISTRING builtin_action_table[AB_BUILTIN_ACTION_NUM_VALUES] = {NULL};
|
||||
(builtin_action_table_inited? 0:builtin_action_table_init())
|
||||
|
||||
static int
|
||||
builtin_action_table_init()
|
||||
builtin_action_table_init(void)
|
||||
{
|
||||
#define bat builtin_action_table
|
||||
builtin_action_table_inited = TRUE;
|
||||
@@ -379,7 +379,7 @@ static BOOL button_type_tab_inited = FALSE;
|
||||
(button_type_tab_inited? 0:button_type_tab_init())
|
||||
|
||||
static int
|
||||
button_type_tab_init()
|
||||
button_type_tab_init(void)
|
||||
{
|
||||
#define btt button_type_tab
|
||||
button_type_tab_inited = TRUE;
|
||||
@@ -411,7 +411,7 @@ static BOOL compass_tab_inited = FALSE;
|
||||
#define cp_tab_check_init() (compass_tab_inited? 0:compass_tab_init())
|
||||
|
||||
static int
|
||||
compass_tab_init()
|
||||
compass_tab_init(void)
|
||||
{
|
||||
#define cpt compass_tab
|
||||
compass_tab_inited = TRUE;
|
||||
@@ -488,7 +488,7 @@ static BOOL label_type_tab_inited = FALSE;
|
||||
(label_type_tab_inited? 0:label_type_tab_init())
|
||||
|
||||
static int
|
||||
label_type_tab_init()
|
||||
label_type_tab_init(void)
|
||||
{
|
||||
#define ltt label_type_tab
|
||||
label_type_tab_inited = TRUE;
|
||||
@@ -590,7 +590,7 @@ static ISTRING obj_type_table[AB_OBJECT_TYPE_NUM_VALUES + 1] = {NULL};
|
||||
(obj_type_table_inited? 0:obj_type_table_init())
|
||||
|
||||
static int
|
||||
obj_type_table_init()
|
||||
obj_type_table_init(void)
|
||||
{
|
||||
#define ott obj_type_table
|
||||
obj_type_table_inited = TRUE;
|
||||
@@ -714,7 +714,7 @@ static BOOL when_table_inited = FALSE;
|
||||
if (!when_table_inited) {when_table_init();}
|
||||
|
||||
static int
|
||||
when_table_init()
|
||||
when_table_init(void)
|
||||
{
|
||||
#define wt when_table
|
||||
int i = 0;
|
||||
|
||||
@@ -287,7 +287,7 @@ abil_print_custom_load_err(STRING errmsgstr)
|
||||
|
||||
/* Load the BIL error message table with message set and default text */
|
||||
static int
|
||||
abil_load_errmsg_table()
|
||||
abil_load_errmsg_table(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user