mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtappbuilder: Change to ANSI function definitions
This commit is contained in:
parent
6478653e18
commit
bb7ac1f24e
41 changed files with 170 additions and 239 deletions
|
@ -307,8 +307,7 @@ ab_position_window(
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
ab_window_leader_iconified(
|
ab_window_leader_iconified(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return(AB_win_leader->state & WindowIconified);
|
return(AB_win_leader->state & WindowIconified);
|
||||||
}
|
}
|
||||||
|
@ -677,15 +676,13 @@ set_windows_visibility(
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ab_takedown_windows(
|
ab_takedown_windows(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
set_windows_visibility(False);
|
set_windows_visibility(False);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ab_putback_windows(
|
ab_putback_windows(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
set_windows_visibility(True);
|
set_windows_visibility(True);
|
||||||
}
|
}
|
||||||
|
@ -1222,7 +1219,7 @@ ab_palette_set_active(
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ab_exit_dtbuilder()
|
ab_exit_dtbuilder(void)
|
||||||
{
|
{
|
||||||
static DTB_MODAL_ANSWER answer;
|
static DTB_MODAL_ANSWER answer;
|
||||||
XtAppContext app;
|
XtAppContext app;
|
||||||
|
|
|
@ -226,8 +226,7 @@ BOOL in_undo = FALSE;
|
||||||
* Called from main()...
|
* Called from main()...
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
abobj_edit_init(
|
abobj_edit_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
obj_add_destroy_callback(edit_destroyOCB, "ATTCH_ED");
|
obj_add_destroy_callback(edit_destroyOCB, "ATTCH_ED");
|
||||||
}
|
}
|
||||||
|
@ -401,8 +400,7 @@ edit_destroyOCB(
|
||||||
* Initializes the clipboard
|
* Initializes the clipboard
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
init_clipboard(
|
init_clipboard(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
if (!ABClipboard)
|
if (!ABClipboard)
|
||||||
{
|
{
|
||||||
|
@ -1452,8 +1450,7 @@ init_undo_rec(
|
||||||
* Initializes undo buffer
|
* Initializes undo buffer
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
init_undo(
|
init_undo(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
init_undo_rec(&ABUndo);
|
init_undo_rec(&ABUndo);
|
||||||
}
|
}
|
||||||
|
@ -2124,8 +2121,7 @@ clear_undo_rec(
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
abobj_cut(
|
abobj_cut(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
ABObj project = proj_get_project();
|
ABObj project = proj_get_project();
|
||||||
ABObj newObj = NULL;
|
ABObj newObj = NULL;
|
||||||
|
@ -2171,8 +2167,7 @@ abobj_cut(
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
abobj_copy(
|
abobj_copy(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
ABObj project = proj_get_project(),
|
ABObj project = proj_get_project(),
|
||||||
newObj;
|
newObj;
|
||||||
|
@ -2807,8 +2802,7 @@ abobj_paste(
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
abobj_delete(
|
abobj_delete(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
ABObj project = proj_get_project(),
|
ABObj project = proj_get_project(),
|
||||||
parent = NULL;
|
parent = NULL;
|
||||||
|
@ -2862,8 +2856,7 @@ abobj_delete(
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
abobj_undo(
|
abobj_undo(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
int iRet = 0;
|
int iRet = 0;
|
||||||
|
|
||||||
|
@ -2929,16 +2922,14 @@ abobj_set_undo(
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
abobj_cancel_undo(
|
abobj_cancel_undo(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
clear_undo_rec(&ABUndo);
|
clear_undo_rec(&ABUndo);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
abobj_undo_active(
|
abobj_undo_active(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
BOOL i;
|
BOOL i;
|
||||||
|
|
||||||
|
@ -2956,8 +2947,7 @@ abobj_undo_active(
|
||||||
* Is clipboard empty ?
|
* Is clipboard empty ?
|
||||||
*/
|
*/
|
||||||
BOOL
|
BOOL
|
||||||
abobj_clipboard_is_empty(
|
abobj_clipboard_is_empty(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return(!ABClipboard || (ABClipboard->count == 0));
|
return(!ABClipboard || (ABClipboard->count == 0));
|
||||||
}
|
}
|
||||||
|
@ -2990,8 +2980,7 @@ abobj_in_clipboard(
|
||||||
* Clears the clipboard
|
* Clears the clipboard
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
abobj_clipboard_clear(
|
abobj_clipboard_clear(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
|
@ -1200,8 +1200,7 @@ abobj_set_menu_item_state(
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
abobj_strings_init(
|
abobj_strings_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
char *props_str;
|
char *props_str;
|
||||||
char *undo_str;
|
char *undo_str;
|
||||||
|
|
|
@ -2112,22 +2112,19 @@ abobj_set_save_needed(
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
abobj_disable_save_needed(
|
abobj_disable_save_needed(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
save_needed_enabled = FALSE;
|
save_needed_enabled = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
abobj_enable_save_needed(
|
abobj_enable_save_needed(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
save_needed_enabled = TRUE;
|
save_needed_enabled = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
abobj_save_needed_enabled(
|
abobj_save_needed_enabled(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return (save_needed_enabled);
|
return (save_needed_enabled);
|
||||||
}
|
}
|
||||||
|
|
|
@ -531,8 +531,7 @@ appfw_editor_apply(
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
turnoff_changebars(
|
turnoff_changebars(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
|
|
||||||
prop_set_changebar(afs->vendor.changebar, PROP_CB_OFF);
|
prop_set_changebar(afs->vendor.changebar, PROP_CB_OFF);
|
||||||
|
@ -621,8 +620,7 @@ obj_destroyedOCB(
|
||||||
* the Application Framework Editor
|
* the Application Framework Editor
|
||||||
*/
|
*/
|
||||||
static BOOL
|
static BOOL
|
||||||
appfw_editor_pending(
|
appfw_editor_pending(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
if (afs && prop_changebars_pending(afs->prop_sheet))
|
if (afs && prop_changebars_pending(afs->prop_sheet))
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
|
@ -387,8 +387,7 @@ attch_ed_get_parent(
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
attch_ed_init(
|
attch_ed_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
obj_add_destroy_callback(attch_obj_destroyCB, "ATTCH_ED");
|
obj_add_destroy_callback(attch_obj_destroyCB, "ATTCH_ED");
|
||||||
obj_add_reparent_callback(attch_obj_reparentCB, "ATTCH_ED");
|
obj_add_reparent_callback(attch_obj_reparentCB, "ATTCH_ED");
|
||||||
|
@ -1189,8 +1188,7 @@ attch_editor_apply(
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL
|
static BOOL
|
||||||
attch_edP_pending(
|
attch_edP_pending(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
||||||
|
|
||||||
|
@ -1218,8 +1216,7 @@ attch_editor_activate(
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
turnoff_changebars(
|
turnoff_changebars(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
||||||
|
|
||||||
|
@ -3345,8 +3342,7 @@ attach_obj_changed(
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
attch_ed_view_child_attachments(
|
attch_ed_view_child_attachments(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
||||||
ABObj cur_obj,
|
ABObj cur_obj,
|
||||||
|
@ -3377,8 +3373,7 @@ attch_ed_view_child_attachments(
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
attch_ed_view_parent_attachments(
|
attch_ed_view_parent_attachments(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
||||||
ABObj cur_obj,
|
ABObj cur_obj,
|
||||||
|
@ -3410,8 +3405,7 @@ attch_ed_view_parent_attachments(
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
attch_ed_activate_parent_child_button(
|
attch_ed_activate_parent_child_button(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
||||||
DtbAttchEdAttchEdDialogInfo attch_ed_cgen
|
DtbAttchEdAttchEdDialogInfo attch_ed_cgen
|
||||||
|
@ -3663,8 +3657,7 @@ print_attach_type(
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL
|
static BOOL
|
||||||
attch_ed_verify_props(
|
attch_ed_verify_props(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
|
||||||
ATTCH_ED_ATTACH_TYPE attach_type = ATTCH_ED_NONE;
|
ATTCH_ED_ATTACH_TYPE attach_type = ATTCH_ED_NONE;
|
||||||
|
|
|
@ -1591,10 +1591,7 @@ brws_delete_objects
|
||||||
/*
|
/*
|
||||||
* create_browser_window - creates a new browser main window
|
* create_browser_window - creates a new browser main window
|
||||||
*/
|
*/
|
||||||
ABBrowser
|
ABBrowser brws_create(void)
|
||||||
brws_create
|
|
||||||
(
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
ABBrowser b;
|
ABBrowser b;
|
||||||
|
|
||||||
|
@ -2160,7 +2157,7 @@ aob_proj_init_state
|
||||||
* Initialize the object browser.
|
* Initialize the object browser.
|
||||||
*/
|
*/
|
||||||
static ABBrowser
|
static ABBrowser
|
||||||
create_browser_struct()
|
create_browser_struct(void)
|
||||||
{
|
{
|
||||||
ABBrowser b;
|
ABBrowser b;
|
||||||
|
|
||||||
|
@ -2290,10 +2287,7 @@ draw_viewer(Viewer *v)
|
||||||
/*
|
/*
|
||||||
* Create (malloc) structure to hold browser UI objects
|
* Create (malloc) structure to hold browser UI objects
|
||||||
*/
|
*/
|
||||||
BrowserUiObj
|
BrowserUiObj aob_create_ui_obj(void)
|
||||||
aob_create_ui_obj
|
|
||||||
(
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
BrowserUiObj ui;
|
BrowserUiObj ui;
|
||||||
|
|
||||||
|
@ -2317,9 +2311,7 @@ aob_create_ui_obj
|
||||||
* Create (malloc) structure to hold browser properties
|
* Create (malloc) structure to hold browser properties
|
||||||
*/
|
*/
|
||||||
static BrowserProps
|
static BrowserProps
|
||||||
aob_create_props
|
aob_create_props(void)
|
||||||
(
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
BrowserProps props;
|
BrowserProps props;
|
||||||
|
|
||||||
|
@ -2952,8 +2944,7 @@ brws_show_browser(
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
brws_init(
|
brws_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
obj_add_rename_callback(brwsP_obj_renameOCB, "BRWS");
|
obj_add_rename_callback(brwsP_obj_renameOCB, "BRWS");
|
||||||
obj_add_destroy_callback(brwsP_obj_destroyOCB, "BRWS");
|
obj_add_destroy_callback(brwsP_obj_destroyOCB, "BRWS");
|
||||||
|
|
|
@ -452,7 +452,7 @@ cgen_notify_new_directory(STRING dir)
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
cgen_abort()
|
cgen_abort(void)
|
||||||
{
|
{
|
||||||
public_entry_point();
|
public_entry_point();
|
||||||
return cgenP_abort();
|
return cgenP_abort();
|
||||||
|
@ -501,8 +501,7 @@ cgenP_init_props_module_list(
|
||||||
* Add callbacks for object rename & destroy
|
* Add callbacks for object rename & destroy
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
cgenP_prop_init(
|
cgenP_prop_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
obj_add_rename_callback(obj_renamedOCB, "cgen_prop_init");
|
obj_add_rename_callback(obj_renamedOCB, "cgen_prop_init");
|
||||||
obj_add_update_callback(obj_updateOCB, "cgen_prop_init");
|
obj_add_update_callback(obj_updateOCB, "cgen_prop_init");
|
||||||
|
@ -584,7 +583,7 @@ print_to_term(STRING msg)
|
||||||
* Sends stdout and stderr to term window
|
* Sends stdout and stderr to term window
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
send_output_to_term()
|
send_output_to_term(void)
|
||||||
{
|
{
|
||||||
static BOOL done = FALSE;
|
static BOOL done = FALSE;
|
||||||
int rc = 0;
|
int rc = 0;
|
||||||
|
@ -859,7 +858,7 @@ term_execute_command(CG_SUBCOMMAND cmd_code, STRING cmd, STRING argv[])
|
||||||
* Gets the slave device name and puts it into the file variable
|
* Gets the slave device name and puts it into the file variable
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
get_slave_device_name()
|
get_slave_device_name(void)
|
||||||
{
|
{
|
||||||
String deviceName = NULL;
|
String deviceName = NULL;
|
||||||
|
|
||||||
|
@ -889,7 +888,7 @@ get_slave_device_name()
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
static int
|
static int
|
||||||
exec_generate_code()
|
exec_generate_code(void)
|
||||||
{
|
{
|
||||||
ABObj project= proj_get_project();
|
ABObj project= proj_get_project();
|
||||||
STRING project_name= NULL;
|
STRING project_name= NULL;
|
||||||
|
@ -929,7 +928,7 @@ exec_generate_code()
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
exec_generate_main()
|
exec_generate_main(void)
|
||||||
{
|
{
|
||||||
int rc = 0; /* return code */
|
int rc = 0; /* return code */
|
||||||
ABObj project= proj_get_project();
|
ABObj project= proj_get_project();
|
||||||
|
@ -967,7 +966,7 @@ exec_generate_main()
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
exec_generate_proj()
|
exec_generate_proj(void)
|
||||||
{
|
{
|
||||||
int rc = 0; /* return code */
|
int rc = 0; /* return code */
|
||||||
ABObj project= proj_get_project();
|
ABObj project= proj_get_project();
|
||||||
|
@ -1004,7 +1003,7 @@ exec_generate_proj()
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
exec_generate_specific_files()
|
exec_generate_specific_files(void)
|
||||||
{
|
{
|
||||||
int returnValue = 0;
|
int returnValue = 0;
|
||||||
int rc = 0; /* return code */
|
int rc = 0; /* return code */
|
||||||
|
@ -1055,7 +1054,7 @@ epilogue:
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
exec_generate_specific_files_and_main()
|
exec_generate_specific_files_and_main(void)
|
||||||
{
|
{
|
||||||
int returnValue = 0;
|
int returnValue = 0;
|
||||||
int rc = 0; /* return code */
|
int rc = 0; /* return code */
|
||||||
|
@ -1172,7 +1171,7 @@ epilogue:
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
exec_make()
|
exec_make(void)
|
||||||
{
|
{
|
||||||
int rc = 0; /* return code */
|
int rc = 0; /* return code */
|
||||||
STRING cmd = NULL;
|
STRING cmd = NULL;
|
||||||
|
@ -1200,7 +1199,7 @@ exec_make()
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
exec_run()
|
exec_run(void)
|
||||||
{
|
{
|
||||||
ABObj project= NULL;
|
ABObj project= NULL;
|
||||||
char executable_name[1024];
|
char executable_name[1024];
|
||||||
|
@ -1373,7 +1372,7 @@ exec_next_command_for_build_and_run(CG_SUBCOMMAND cmd_code, int exit_code)
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
exec_first_build_and_run_command()
|
exec_first_build_and_run_command(void)
|
||||||
{
|
{
|
||||||
int return_value= 0;
|
int return_value= 0;
|
||||||
if (!util_file_exists("Makefile"))
|
if (!util_file_exists("Makefile"))
|
||||||
|
@ -1470,7 +1469,7 @@ subprocess_exit(int exit_code)
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
print_internal_err_message()
|
print_internal_err_message(void)
|
||||||
{
|
{
|
||||||
print_to_term("****> UNSUCCESSFUL (Internal failure occurred).\n");
|
print_to_term("****> UNSUCCESSFUL (Internal failure occurred).\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -1492,7 +1491,7 @@ print_failure_message(CG_SUBCOMMAND cmd_code, int exit_code)
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
print_success_message()
|
print_success_message(void)
|
||||||
{
|
{
|
||||||
print_to_term("====> Completed successfully.\n");
|
print_to_term("====> Completed successfully.\n");
|
||||||
user_goal= CG_GOAL_UNDEF;
|
user_goal= CG_GOAL_UNDEF;
|
||||||
|
@ -1545,7 +1544,7 @@ print_exit_message(int exitCode)
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
print_abort_message()
|
print_abort_message(void)
|
||||||
{
|
{
|
||||||
print_to_term("\n====> Command aborted.\n");
|
print_to_term("\n====> Command aborted.\n");
|
||||||
user_goal= CG_GOAL_UNDEF;
|
user_goal= CG_GOAL_UNDEF;
|
||||||
|
@ -1659,7 +1658,7 @@ epilogue:
|
||||||
* We are running a process - desensitize most buttons.
|
* We are running a process - desensitize most buttons.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
goto_busy_state()
|
goto_busy_state(void)
|
||||||
{
|
{
|
||||||
XtSetSensitive(abort_button, True);
|
XtSetSensitive(abort_button, True);
|
||||||
XtSetSensitive(abort_item, True);
|
XtSetSensitive(abort_item, True);
|
||||||
|
@ -1681,7 +1680,7 @@ goto_busy_state()
|
||||||
* We are waiting for user input
|
* We are waiting for user input
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
goto_ready_state()
|
goto_ready_state(void)
|
||||||
{
|
{
|
||||||
XtSetSensitive(abort_button, False);
|
XtSetSensitive(abort_button, False);
|
||||||
XtSetSensitive(abort_item, False);
|
XtSetSensitive(abort_item, False);
|
||||||
|
@ -2135,8 +2134,7 @@ obj_updateOCB(
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
cgenP_sync_up_dir(
|
cgenP_sync_up_dir(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
STRING cmd = NULL;
|
STRING cmd = NULL;
|
||||||
STRING request_dir = NULL;
|
STRING request_dir = NULL;
|
||||||
|
@ -2289,7 +2287,7 @@ save_done_cb(int status)
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
check_path()
|
check_path(void)
|
||||||
{
|
{
|
||||||
int return_value = 0;
|
int return_value = 0;
|
||||||
int rc = 0; /* return code */
|
int rc = 0; /* return code */
|
||||||
|
@ -2688,7 +2686,7 @@ epilogue:
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
destroy_makefile()
|
destroy_makefile(void)
|
||||||
{
|
{
|
||||||
destroy_links_to_file("makefile");
|
destroy_links_to_file("makefile");
|
||||||
destroy_links_to_file("Makefile");
|
destroy_links_to_file("Makefile");
|
||||||
|
|
|
@ -140,8 +140,7 @@ static Widget CacheAnchor; /* Dummy widget used to control caching of color
|
||||||
objxm_name_to_pixel (via XtConvertAndStore). */
|
objxm_name_to_pixel (via XtConvertAndStore). */
|
||||||
|
|
||||||
char *
|
char *
|
||||||
display_color_chooser(
|
display_color_chooser(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
extern Widget AB_toplevel;
|
extern Widget AB_toplevel;
|
||||||
static int first_time = 1;
|
static int first_time = 1;
|
||||||
|
@ -187,8 +186,7 @@ display_color_chooser(
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
create_color_chooser(
|
create_color_chooser(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
extern Widget AB_toplevel;
|
extern Widget AB_toplevel;
|
||||||
XmString label;
|
XmString label;
|
||||||
|
|
|
@ -856,8 +856,7 @@ conn_set_source(
|
||||||
}
|
}
|
||||||
|
|
||||||
extern ABObj
|
extern ABObj
|
||||||
connP_get_source(
|
connP_get_source(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return cur_source;
|
return cur_source;
|
||||||
}
|
}
|
||||||
|
@ -882,8 +881,7 @@ conn_set_target(
|
||||||
}
|
}
|
||||||
|
|
||||||
extern ABObj
|
extern ABObj
|
||||||
connP_get_target(
|
connP_get_target(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return cur_target;
|
return cur_target;
|
||||||
}
|
}
|
||||||
|
@ -1521,8 +1519,7 @@ connP_make_help_vol_conn(
|
||||||
* Initializes strings used in connections editor
|
* Initializes strings used in connections editor
|
||||||
*/
|
*/
|
||||||
extern void
|
extern void
|
||||||
conn_strings_init(
|
conn_strings_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
unknown_str =
|
unknown_str =
|
||||||
XtNewString(catgets(Dtb_project_catd, 100, 158, "??unknown??"));
|
XtNewString(catgets(Dtb_project_catd, 100, 158, "??unknown??"));
|
||||||
|
|
|
@ -297,8 +297,7 @@ static void set_ctrls_for_target(
|
||||||
|
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
conn_init(
|
conn_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
conn_strings_init();
|
conn_strings_init();
|
||||||
|
|
||||||
|
@ -1883,7 +1882,7 @@ connP_update_on_show_status(
|
||||||
|
|
||||||
|
|
||||||
BOOL
|
BOOL
|
||||||
connP_conn_is_possible()
|
connP_conn_is_possible(void)
|
||||||
{
|
{
|
||||||
BOOL ConnIsPossible = FALSE;
|
BOOL ConnIsPossible = FALSE;
|
||||||
ABObj source = NULL,
|
ABObj source = NULL,
|
||||||
|
|
|
@ -186,8 +186,7 @@ static DndEditorSettingsRec dndEdInfo;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
dnd_ed_show_dialog(
|
dnd_ed_show_dialog(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
/* If there is no DragAndDrop Editor, create it */
|
/* If there is no DragAndDrop Editor, create it */
|
||||||
if (AB_dnd_dialog == (Widget)NULL)
|
if (AB_dnd_dialog == (Widget)NULL)
|
||||||
|
@ -540,8 +539,7 @@ dnd_ed_editor_apply(void)
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
dnd_turnoff_changebars(
|
dnd_turnoff_changebars(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
DndEditorSettings dds = &dndEdInfo;
|
DndEditorSettings dds = &dndEdInfo;
|
||||||
prop_set_changebar(dds->drag_ops_checkbox.changebar,PROP_CB_OFF);
|
prop_set_changebar(dds->drag_ops_checkbox.changebar,PROP_CB_OFF);
|
||||||
|
@ -720,8 +718,7 @@ do_auto_apply(
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
clear_editor_fields(
|
clear_editor_fields(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
DndEditorSettingsRec *dds = &dndEdInfo;
|
DndEditorSettingsRec *dds = &dndEdInfo;
|
||||||
|
|
||||||
|
|
|
@ -595,8 +595,7 @@ do_auto_apply(
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
clear_editor_fields(
|
clear_editor_fields(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
HelpEditorSettingsRec *hes = &Help_Editor_Settings_Rec;
|
HelpEditorSettingsRec *hes = &Help_Editor_Settings_Rec;
|
||||||
|
|
||||||
|
@ -982,7 +981,7 @@ help_dispatchCB(Widget widget, XtPointer clientData, XtPointer callData)
|
||||||
** apps built with App Builder will use as well.)
|
** apps built with App Builder will use as well.)
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
help_test_onitem_help()
|
help_test_onitem_help(void)
|
||||||
{
|
{
|
||||||
ABObj obj, root_obj, help_obj;
|
ABObj obj, root_obj, help_obj;
|
||||||
Widget target;
|
Widget target;
|
||||||
|
@ -1183,7 +1182,7 @@ update_object_menu_from_obj(
|
||||||
** if there are no base or popup windows.
|
** if there are no base or popup windows.
|
||||||
*/
|
*/
|
||||||
static ABObj
|
static ABObj
|
||||||
find_toplevel_obj()
|
find_toplevel_obj(void)
|
||||||
{
|
{
|
||||||
ABObj obj, bwobj, pwobj, fcobj;
|
ABObj obj, bwobj, pwobj, fcobj;
|
||||||
AB_TRAVERSAL trav;
|
AB_TRAVERSAL trav;
|
||||||
|
|
|
@ -249,8 +249,7 @@ static void change_msg_moduleCB(
|
||||||
******************************************************************/
|
******************************************************************/
|
||||||
|
|
||||||
void
|
void
|
||||||
msgEd_show_dialog(
|
msgEd_show_dialog(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
int numMods = 0;
|
int numMods = 0;
|
||||||
ABObj current_module = proj_get_cur_module();
|
ABObj current_module = proj_get_cur_module();
|
||||||
|
@ -340,8 +339,7 @@ msgEd_show_dialog(
|
||||||
* Add callbacks for object rename & destroy
|
* Add callbacks for object rename & destroy
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
msgEdP_init(
|
msgEdP_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Initialize static strings used in message editor
|
* Initialize static strings used in message editor
|
||||||
|
@ -521,8 +519,7 @@ msg_editor_init(
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
msg_editor_clear(
|
msg_editor_clear(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
||||||
int sel_pos = 0;
|
int sel_pos = 0;
|
||||||
|
@ -717,14 +714,13 @@ msg_editor_load(
|
||||||
|
|
||||||
|
|
||||||
static BOOL
|
static BOOL
|
||||||
msg_editor_pending(
|
msg_editor_pending(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return(prop_changebars_pending(msg_editor_settings_rec.prop_sheet));
|
return(prop_changebars_pending(msg_editor_settings_rec.prop_sheet));
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL
|
static BOOL
|
||||||
verify_name()
|
verify_name(void)
|
||||||
{
|
{
|
||||||
BOOL retVal = TRUE;
|
BOOL retVal = TRUE;
|
||||||
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
||||||
|
@ -739,8 +735,7 @@ verify_name()
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
turnoff_changebars(
|
turnoff_changebars(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
||||||
|
|
||||||
|
@ -1610,7 +1605,7 @@ objlist_test_func(
|
||||||
|
|
||||||
|
|
||||||
static BOOL
|
static BOOL
|
||||||
verify_default_btn()
|
verify_default_btn(void)
|
||||||
{
|
{
|
||||||
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
||||||
AB_DEFAULT_BUTTON default_btn = AB_DEFAULT_BTN_UNDEF;
|
AB_DEFAULT_BUTTON default_btn = AB_DEFAULT_BTN_UNDEF;
|
||||||
|
@ -1679,7 +1674,7 @@ verify_default_btn()
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL
|
static BOOL
|
||||||
verify_label()
|
verify_label(void)
|
||||||
{
|
{
|
||||||
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
||||||
BOOL validLabel = TRUE;
|
BOOL validLabel = TRUE;
|
||||||
|
@ -1731,7 +1726,7 @@ verify_label()
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL
|
static BOOL
|
||||||
verify_buttons()
|
verify_buttons(void)
|
||||||
{
|
{
|
||||||
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
|
||||||
BOOL hasButtons = TRUE;
|
BOOL hasButtons = TRUE;
|
||||||
|
@ -2555,8 +2550,7 @@ update_mod_opmenu(
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
msgEdP_strings_init(
|
msgEdP_strings_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
msgEd_strings[MSG_ED_RETRY_STR] =
|
msgEd_strings[MSG_ED_RETRY_STR] =
|
||||||
XtNewString(catgets(Dtb_project_catd, 100, 202, "Retry"));
|
XtNewString(catgets(Dtb_project_catd, 100, 202, "Retry"));
|
||||||
|
|
|
@ -843,7 +843,7 @@ typeCB(
|
||||||
* Object destroy callback
|
* Object destroy callback
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
prop_choice_install_obj_destroy_CB()
|
prop_choice_install_obj_destroy_CB(void)
|
||||||
{
|
{
|
||||||
static BOOL callback_installed = False;
|
static BOOL callback_installed = False;
|
||||||
|
|
||||||
|
|
|
@ -736,7 +736,7 @@ turnoff_changebars(
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
combobox_install_obj_destroy_CB()
|
combobox_install_obj_destroy_CB(void)
|
||||||
{
|
{
|
||||||
static BOOL callback_installed = False;
|
static BOOL callback_installed = False;
|
||||||
|
|
||||||
|
|
|
@ -312,8 +312,7 @@ PropGroupSettingsRec prop_group_settings_rec[AB_PROP_TYPE_NUM_VALUES];
|
||||||
* Create a group object out of the selected group of objects.
|
* Create a group object out of the selected group of objects.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
abobj_group_selected_objects(
|
abobj_group_selected_objects(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
ABObj project = proj_get_project();
|
ABObj project = proj_get_project();
|
||||||
ABObj obj;
|
ABObj obj;
|
||||||
|
@ -429,8 +428,7 @@ group_objects(
|
||||||
* them after all groups have been ungrouped.
|
* them after all groups have been ungrouped.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
abobj_ungroup_selected_objects(
|
abobj_ungroup_selected_objects(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
ABObj project = proj_get_project();
|
ABObj project = proj_get_project();
|
||||||
ABSelectedRec sel;
|
ABSelectedRec sel;
|
||||||
|
|
|
@ -870,7 +870,7 @@ turnoff_changebars(
|
||||||
* Object destroy callback
|
* Object destroy callback
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
prop_list_install_obj_destroy_CB()
|
prop_list_install_obj_destroy_CB(void)
|
||||||
{
|
{
|
||||||
static BOOL callback_installed = False;
|
static BOOL callback_installed = False;
|
||||||
|
|
||||||
|
|
|
@ -931,7 +931,7 @@ menu_editCB(
|
||||||
* Object destroy callback
|
* Object destroy callback
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
prop_menu_install_obj_destroy_CB()
|
prop_menu_install_obj_destroy_CB(void)
|
||||||
{
|
{
|
||||||
static BOOL callback_installed = False;
|
static BOOL callback_installed = False;
|
||||||
|
|
||||||
|
|
|
@ -597,7 +597,7 @@ turnoff_changebars(
|
||||||
* Object destroy callback
|
* Object destroy callback
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
prop_menubar_install_obj_destroy_CB()
|
prop_menubar_install_obj_destroy_CB(void)
|
||||||
{
|
{
|
||||||
static BOOL callback_installed = False;
|
static BOOL callback_installed = False;
|
||||||
|
|
||||||
|
|
|
@ -814,7 +814,7 @@ pw_obj_reparentedOCB(
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
panedwinEdP_init()
|
panedwinEdP_init(void)
|
||||||
{
|
{
|
||||||
obj_add_reparent_callback(pw_obj_reparentedOCB, "panedwinEdP_init");
|
obj_add_reparent_callback(pw_obj_reparentedOCB, "panedwinEdP_init");
|
||||||
obj_add_rename_callback(pw_obj_renamedOCB, "panedwinEdP_init");
|
obj_add_rename_callback(pw_obj_renamedOCB, "panedwinEdP_init");
|
||||||
|
@ -826,8 +826,7 @@ panedwinEdP_init()
|
||||||
* Create a paned window out of the selected group of objects.
|
* Create a paned window out of the selected group of objects.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
abobj_make_panedwin(
|
abobj_make_panedwin(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
ABObj project = proj_get_project();
|
ABObj project = proj_get_project();
|
||||||
ABObj obj = (ABObj) NULL;
|
ABObj obj = (ABObj) NULL;
|
||||||
|
@ -1076,8 +1075,7 @@ west_compare(
|
||||||
* paned window and delete the paned window object.
|
* paned window and delete the paned window object.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
abobj_unmake_panedwin(
|
abobj_unmake_panedwin(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
ABObj project = proj_get_project();
|
ABObj project = proj_get_project();
|
||||||
ABObj pw_obj = NULL;
|
ABObj pw_obj = NULL;
|
||||||
|
|
|
@ -916,7 +916,7 @@ setup_content_settings(
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
spinbox_install_obj_destroy_CB()
|
spinbox_install_obj_destroy_CB(void)
|
||||||
{
|
{
|
||||||
static BOOL callback_installed = False;
|
static BOOL callback_installed = False;
|
||||||
|
|
||||||
|
|
|
@ -248,7 +248,7 @@ static int select_fn(
|
||||||
* Dialog shell.
|
* Dialog shell.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
proj_show_dialog()
|
proj_show_dialog(void)
|
||||||
{
|
{
|
||||||
ABObj proj = proj_get_project();
|
ABObj proj = proj_get_project();
|
||||||
BrowserUiObj ui;
|
BrowserUiObj ui;
|
||||||
|
@ -320,7 +320,7 @@ projP_store_viewer(
|
||||||
* Create viewer data structure for project window
|
* Create viewer data structure for project window
|
||||||
*/
|
*/
|
||||||
static Vwr
|
static Vwr
|
||||||
create_proj_struct()
|
create_proj_struct(void)
|
||||||
{
|
{
|
||||||
Vwr v;
|
Vwr v;
|
||||||
extern VMethods projP_methods;
|
extern VMethods projP_methods;
|
||||||
|
@ -893,8 +893,7 @@ mult_module_selected(
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
proj_init(
|
proj_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
obj_add_rename_callback(projP_obj_renameOCB, "PROJ");
|
obj_add_rename_callback(projP_obj_renameOCB, "PROJ");
|
||||||
obj_add_destroy_callback(projP_obj_destroyOCB, "PROJ");
|
obj_add_destroy_callback(projP_obj_destroyOCB, "PROJ");
|
||||||
|
@ -948,8 +947,7 @@ proj_set_project(
|
||||||
}
|
}
|
||||||
|
|
||||||
ABObj
|
ABObj
|
||||||
proj_get_project(
|
proj_get_project(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return AB_project;
|
return AB_project;
|
||||||
}
|
}
|
||||||
|
@ -972,8 +970,7 @@ proj_set_cur_module(
|
||||||
}
|
}
|
||||||
|
|
||||||
ABObj
|
ABObj
|
||||||
proj_get_cur_module(
|
proj_get_cur_module(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
return AB_cur_module;
|
return AB_cur_module;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1837,7 +1837,7 @@ proj_show_proj_dir(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
proj_name_proj()
|
proj_name_proj(void)
|
||||||
{
|
{
|
||||||
STRING proj_name = NULL;
|
STRING proj_name = NULL;
|
||||||
UI_MODAL_ANSWER answer = UI_ANSWER_NONE;
|
UI_MODAL_ANSWER answer = UI_ANSWER_NONE;
|
||||||
|
|
|
@ -4475,8 +4475,7 @@ obj_options_buildCB(
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
strings_init(
|
strings_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
LabelForString =
|
LabelForString =
|
||||||
XtNewString(catgets(Dtb_project_catd, 100, 215, "Label:"));
|
XtNewString(catgets(Dtb_project_catd, 100, 215, "Label:"));
|
||||||
|
|
|
@ -823,9 +823,7 @@ ui_set_busy_cursor(
|
||||||
* Initialize object pixmaps
|
* Initialize object pixmaps
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
init_obj_pixmaps
|
init_obj_pixmaps(void)
|
||||||
(
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
Display *dpy;
|
Display *dpy;
|
||||||
Pixmap tmp;
|
Pixmap tmp;
|
||||||
|
|
|
@ -170,7 +170,7 @@ vwr_destroy_tree
|
||||||
}
|
}
|
||||||
|
|
||||||
VNode
|
VNode
|
||||||
vwr_create_node()
|
vwr_create_node(void)
|
||||||
{
|
{
|
||||||
VNode bnode;
|
VNode bnode;
|
||||||
|
|
||||||
|
|
|
@ -792,11 +792,11 @@ static LibFuncRec abmfP_lrc_get_toplevel_widget =
|
||||||
"dtb_get_toplevel_widget",
|
"dtb_get_toplevel_widget",
|
||||||
|
|
||||||
/* proto */
|
/* proto */
|
||||||
"Widget dtb_get_toplevel_widget();",
|
"Widget dtb_get_toplevel_widget(void);",
|
||||||
|
|
||||||
/* def */
|
/* def */
|
||||||
"Widget\n"
|
"Widget\n"
|
||||||
"dtb_get_toplevel_widget()\n"
|
"dtb_get_toplevel_widget(void)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" return(dtb_project_toplevel_widget);\n"
|
" return(dtb_project_toplevel_widget);\n"
|
||||||
"}"
|
"}"
|
||||||
|
@ -894,11 +894,11 @@ static LibFuncRec abmfP_lrc_get_command =
|
||||||
"dtb_get_command",
|
"dtb_get_command",
|
||||||
|
|
||||||
/* proto */
|
/* proto */
|
||||||
"char * dtb_get_command();",
|
"char * dtb_get_command(void);",
|
||||||
|
|
||||||
/* def */
|
/* def */
|
||||||
"char * \n"
|
"char * \n"
|
||||||
"dtb_get_command() \n"
|
"dtb_get_command(void) \n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" return(dtb_save_command_str); \n"
|
" return(dtb_save_command_str); \n"
|
||||||
"}"
|
"}"
|
||||||
|
@ -1174,7 +1174,7 @@ static LibFuncRec abmfP_lrc_do_onitem_help =
|
||||||
"dtb_do_onitem_help",
|
"dtb_do_onitem_help",
|
||||||
|
|
||||||
/* proto */
|
/* proto */
|
||||||
"void dtb_do_onitem_help();",
|
"void dtb_do_onitem_help(void);",
|
||||||
|
|
||||||
/* def */
|
/* def */
|
||||||
"/*\n"
|
"/*\n"
|
||||||
|
@ -1183,7 +1183,7 @@ static LibFuncRec abmfP_lrc_do_onitem_help =
|
||||||
"** main menubar's \"Help\" menu.\n"
|
"** main menubar's \"Help\" menu.\n"
|
||||||
"*/\n"
|
"*/\n"
|
||||||
"void\n"
|
"void\n"
|
||||||
"dtb_do_onitem_help()\n"
|
"dtb_do_onitem_help(void)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" Widget target;\n"
|
" Widget target;\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
@ -1456,14 +1456,14 @@ static LibFuncRec abmfP_lrc_get_client_session_saveCB =
|
||||||
"dtb_get_client_session_saveCB",
|
"dtb_get_client_session_saveCB",
|
||||||
|
|
||||||
/* proto */
|
/* proto */
|
||||||
"DtbClientSessionSaveCB dtb_get_client_session_saveCB();",
|
"DtbClientSessionSaveCB dtb_get_client_session_saveCB(void);",
|
||||||
|
|
||||||
/* def */
|
/* def */
|
||||||
"/*\n"
|
"/*\n"
|
||||||
" * dtb_get_client_session_saveCB()\n"
|
" * dtb_get_client_session_saveCB()\n"
|
||||||
" */\n"
|
" */\n"
|
||||||
"DtbClientSessionSaveCB\n"
|
"DtbClientSessionSaveCB\n"
|
||||||
"dtb_get_client_session_saveCB()\n"
|
"dtb_get_client_session_saveCB(void)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" return(dtb_client_session_saveCB);\n"
|
" return(dtb_client_session_saveCB);\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
@ -1603,14 +1603,14 @@ static LibFuncRec abmfP_lrc_get_client_session_restoreCB =
|
||||||
"dtb_get_client_session_restoreCB",
|
"dtb_get_client_session_restoreCB",
|
||||||
|
|
||||||
/* proto */
|
/* proto */
|
||||||
"DtbClientSessionRestoreCB dtb_get_client_session_restoreCB();",
|
"DtbClientSessionRestoreCB dtb_get_client_session_restoreCB(void);",
|
||||||
|
|
||||||
/* def */
|
/* def */
|
||||||
"/*\n"
|
"/*\n"
|
||||||
" * dtb_get_client_session_restoreCB()\n"
|
" * dtb_get_client_session_restoreCB()\n"
|
||||||
" */\n"
|
" */\n"
|
||||||
"DtbClientSessionRestoreCB\n"
|
"DtbClientSessionRestoreCB\n"
|
||||||
"dtb_get_client_session_restoreCB()\n"
|
"dtb_get_client_session_restoreCB(void)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" return(dtb_client_session_restoreCB);\n"
|
" return(dtb_client_session_restoreCB);\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
@ -4854,14 +4854,14 @@ static LibFuncRec abmfP_lrc_get_tt_msg_quitCB =
|
||||||
"dtb_get_tt_msg_quitCB",
|
"dtb_get_tt_msg_quitCB",
|
||||||
|
|
||||||
/* proto */
|
/* proto */
|
||||||
"static DtbTTMsgHandlerCB dtb_get_tt_msg_quitCB();",
|
"static DtbTTMsgHandlerCB dtb_get_tt_msg_quitCB(void);",
|
||||||
|
|
||||||
/* def */
|
/* def */
|
||||||
"/*\n"
|
"/*\n"
|
||||||
" * dtb_get_tt_msg_quitCB()\n"
|
" * dtb_get_tt_msg_quitCB()\n"
|
||||||
" */\n"
|
" */\n"
|
||||||
"static DtbTTMsgHandlerCB\n"
|
"static DtbTTMsgHandlerCB\n"
|
||||||
"dtb_get_tt_msg_quitCB()\n"
|
"dtb_get_tt_msg_quitCB(void)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" return(dtb_tt_msg_quitCB);\n"
|
" return(dtb_tt_msg_quitCB);\n"
|
||||||
"}"
|
"}"
|
||||||
|
@ -4940,14 +4940,14 @@ static LibFuncRec abmfP_lrc_get_tt_msg_do_commandCB =
|
||||||
"dtb_get_tt_msg_do_commandCB",
|
"dtb_get_tt_msg_do_commandCB",
|
||||||
|
|
||||||
/* proto */
|
/* proto */
|
||||||
"static DtbTTMsgHandlerCB dtb_get_tt_msg_do_commandCB();",
|
"static DtbTTMsgHandlerCB dtb_get_tt_msg_do_commandCB(void);",
|
||||||
|
|
||||||
/* def */
|
/* def */
|
||||||
"/* \n"
|
"/* \n"
|
||||||
" * dtb_get_tt_msg_do_commandCB()\n"
|
" * dtb_get_tt_msg_do_commandCB()\n"
|
||||||
" */ \n"
|
" */ \n"
|
||||||
"static DtbTTMsgHandlerCB\n"
|
"static DtbTTMsgHandlerCB\n"
|
||||||
"dtb_get_tt_msg_do_commandCB()\n"
|
"dtb_get_tt_msg_do_commandCB(void)\n"
|
||||||
"{ \n"
|
"{ \n"
|
||||||
" return(dtb_tt_msg_do_commandCB);\n"
|
" return(dtb_tt_msg_do_commandCB);\n"
|
||||||
"}"
|
"}"
|
||||||
|
@ -5026,14 +5026,14 @@ static LibFuncRec abmfP_lrc_get_tt_msg_get_statusCB =
|
||||||
"dtb_get_tt_msg_get_statusCB",
|
"dtb_get_tt_msg_get_statusCB",
|
||||||
|
|
||||||
/* proto */
|
/* proto */
|
||||||
"static DtbTTMsgHandlerCB dtb_get_tt_msg_get_statusCB();",
|
"static DtbTTMsgHandlerCB dtb_get_tt_msg_get_statusCB(void);",
|
||||||
|
|
||||||
/* def */
|
/* def */
|
||||||
"/* \n"
|
"/* \n"
|
||||||
" * dtb_get_tt_msg_get_statusCB()\n"
|
" * dtb_get_tt_msg_get_statusCB()\n"
|
||||||
" */ \n"
|
" */ \n"
|
||||||
"static DtbTTMsgHandlerCB\n"
|
"static DtbTTMsgHandlerCB\n"
|
||||||
"dtb_get_tt_msg_get_statusCB()\n"
|
"dtb_get_tt_msg_get_statusCB(void)\n"
|
||||||
"{ \n"
|
"{ \n"
|
||||||
" return(dtb_tt_msg_get_statusCB);\n"
|
" return(dtb_tt_msg_get_statusCB);\n"
|
||||||
"}"
|
"}"
|
||||||
|
@ -5112,14 +5112,14 @@ static LibFuncRec abmfP_lrc_get_tt_msg_pause_resumeCB =
|
||||||
"dtb_get_tt_msg_pause_resumeCB",
|
"dtb_get_tt_msg_pause_resumeCB",
|
||||||
|
|
||||||
/* proto */
|
/* proto */
|
||||||
"static DtbTTMsgHandlerCB dtb_get_tt_msg_pause_resumeCB();",
|
"static DtbTTMsgHandlerCB dtb_get_tt_msg_pause_resumeCB(void);",
|
||||||
|
|
||||||
/* def */
|
/* def */
|
||||||
"/* \n"
|
"/* \n"
|
||||||
" * dtb_get_tt_msg_pause_resumeCB()\n"
|
" * dtb_get_tt_msg_pause_resumeCB()\n"
|
||||||
" */ \n"
|
" */ \n"
|
||||||
"static DtbTTMsgHandlerCB\n"
|
"static DtbTTMsgHandlerCB\n"
|
||||||
"dtb_get_tt_msg_pause_resumeCB()\n"
|
"dtb_get_tt_msg_pause_resumeCB(void)\n"
|
||||||
"{ \n"
|
"{ \n"
|
||||||
" return(dtb_tt_msg_pause_resumeCB);\n"
|
" return(dtb_tt_msg_pause_resumeCB);\n"
|
||||||
"}"
|
"}"
|
||||||
|
@ -5245,7 +5245,7 @@ static LibFuncRec abmfP_lrc_tt_close =
|
||||||
"dtb_tt_close",
|
"dtb_tt_close",
|
||||||
|
|
||||||
/* proto */
|
/* proto */
|
||||||
"void dtb_tt_close();",
|
"void dtb_tt_close(void);",
|
||||||
|
|
||||||
/* def */
|
/* def */
|
||||||
"/*\n"
|
"/*\n"
|
||||||
|
@ -5253,7 +5253,7 @@ static LibFuncRec abmfP_lrc_tt_close =
|
||||||
" * Close ToolTalk Connection\n"
|
" * Close ToolTalk Connection\n"
|
||||||
" */\n"
|
" */\n"
|
||||||
"void\n"
|
"void\n"
|
||||||
"dtb_tt_close()\n"
|
"dtb_tt_close(void)\n"
|
||||||
"{\n"
|
"{\n"
|
||||||
" ttdt_close(NULL, NULL, True);\n"
|
" ttdt_close(NULL, NULL, True);\n"
|
||||||
"}"
|
"}"
|
||||||
|
|
|
@ -1681,7 +1681,7 @@ epilogue:
|
||||||
|
|
||||||
|
|
||||||
CSegArray
|
CSegArray
|
||||||
cseg_array_create()
|
cseg_array_create(void)
|
||||||
{
|
{
|
||||||
CSegArray newArray = (CSegArray)util_malloc(sizeof(CSegArrayRec));
|
CSegArray newArray = (CSegArray)util_malloc(sizeof(CSegArrayRec));
|
||||||
if (newArray != NULL)
|
if (newArray != NULL)
|
||||||
|
@ -1869,7 +1869,7 @@ main(int argc, char *argv[])
|
||||||
/* DTB_USER_CODE_START */
|
/* DTB_USER_CODE_START */
|
||||||
|
|
||||||
static int
|
static int
|
||||||
myfunc()
|
myfunc(void)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1295,7 +1295,7 @@ bil_token_key_compare(const void *voidIstr, const void *voidEntry)
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
bil_token_table_init()
|
bil_token_table_init(void)
|
||||||
{
|
{
|
||||||
#define btt bil_token_table
|
#define btt bil_token_table
|
||||||
#define off ((int)BIL_TOKEN_MIN_VALUE) /* offset to 1st token */
|
#define off ((int)BIL_TOKEN_MIN_VALUE) /* offset to 1st token */
|
||||||
|
|
|
@ -404,7 +404,7 @@ yywrap()
|
||||||
*************************************************************************/
|
*************************************************************************/
|
||||||
|
|
||||||
int
|
int
|
||||||
bilP_load_reset()
|
bilP_load_reset(void)
|
||||||
{
|
{
|
||||||
line_number= 1;
|
line_number= 1;
|
||||||
last_token= AB_BIL_UNDEF;
|
last_token= AB_BIL_UNDEF;
|
||||||
|
@ -414,7 +414,7 @@ bilP_load_reset()
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
bilP_load_get_token()
|
bilP_load_get_token(void)
|
||||||
{
|
{
|
||||||
return last_token;
|
return last_token;
|
||||||
}
|
}
|
||||||
|
@ -432,13 +432,13 @@ bilP_load_get_value(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
bilP_load_get_length()
|
bilP_load_get_length(void)
|
||||||
{
|
{
|
||||||
return tokenTextLen;
|
return tokenTextLen;
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
bilP_load_get_line_number()
|
bilP_load_get_line_number(void)
|
||||||
{
|
{
|
||||||
return line_number;
|
return line_number;
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,7 +78,7 @@ typedef LOADATT_FUNC *LOADATT_FUNC_PTR;
|
||||||
/*
|
/*
|
||||||
*/
|
*/
|
||||||
ISTRING
|
ISTRING
|
||||||
bilP_get_string()
|
bilP_get_string(void)
|
||||||
{
|
{
|
||||||
STRING tmp_str = NULL;
|
STRING tmp_str = NULL;
|
||||||
ISTRING value1;
|
ISTRING value1;
|
||||||
|
@ -133,7 +133,7 @@ bilP_get_string()
|
||||||
/*
|
/*
|
||||||
*/
|
*/
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att()
|
bilP_load_att(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -432,14 +432,14 @@ bilP_load_att_drag_enabled(BIL_TOKEN valueToken)
|
||||||
}
|
}
|
||||||
|
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att_drag_ops_begin()
|
bilP_load_att_drag_ops_begin(void)
|
||||||
{
|
{
|
||||||
nset_att(AB_BIL_DRAG_OPS);
|
nset_att(AB_BIL_DRAG_OPS);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att_drag_ops_end()
|
bilP_load_att_drag_ops_end(void)
|
||||||
{
|
{
|
||||||
clear_att();
|
clear_att();
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -456,14 +456,14 @@ bilP_load_att_drag_to_root_allowed(BIL_TOKEN valueToken)
|
||||||
}
|
}
|
||||||
|
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att_drag_types_begin()
|
bilP_load_att_drag_types_begin(void)
|
||||||
{
|
{
|
||||||
nset_att(AB_BIL_DRAG_TYPES);
|
nset_att(AB_BIL_DRAG_TYPES);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att_drag_types_end()
|
bilP_load_att_drag_types_end(void)
|
||||||
{
|
{
|
||||||
clear_att();
|
clear_att();
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@ -489,42 +489,42 @@ bilP_load_att_drop_site_child_allowed(BIL_TOKEN valueToken)
|
||||||
}
|
}
|
||||||
|
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att_drop_ops_begin()
|
bilP_load_att_drop_ops_begin(void)
|
||||||
{
|
{
|
||||||
nset_att(AB_BIL_DROP_OPS);
|
nset_att(AB_BIL_DROP_OPS);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att_drop_ops_end()
|
bilP_load_att_drop_ops_end(void)
|
||||||
{
|
{
|
||||||
clear_att();
|
clear_att();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att_drop_types_begin()
|
bilP_load_att_drop_types_begin(void)
|
||||||
{
|
{
|
||||||
nset_att(AB_BIL_DROP_TYPES);
|
nset_att(AB_BIL_DROP_TYPES);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att_drop_types_end()
|
bilP_load_att_drop_types_end(void)
|
||||||
{
|
{
|
||||||
clear_att();
|
clear_att();
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att_files_begin()
|
bilP_load_att_files_begin(void)
|
||||||
{
|
{
|
||||||
nset_att(AB_BIL_FILES);
|
nset_att(AB_BIL_FILES);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
STRING
|
STRING
|
||||||
bilP_load_att_files_end()
|
bilP_load_att_files_end(void)
|
||||||
{
|
{
|
||||||
clear_att();
|
clear_att();
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -392,7 +392,7 @@ epilogue:
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
bilP_load_end_of_file()
|
bilP_load_end_of_file(void)
|
||||||
{
|
{
|
||||||
bilP_reset_token_text();
|
bilP_reset_token_text();
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -400,7 +400,7 @@ bilP_load_end_of_file()
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
bilP_load_end_of_data()
|
bilP_load_end_of_data(void)
|
||||||
{
|
{
|
||||||
fseek(AByyin, 0, SEEK_END); /* move to end of file */
|
fseek(AByyin, 0, SEEK_END); /* move to end of file */
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
@ -89,7 +89,7 @@ static BOOL align_tab_inited = FALSE;
|
||||||
#define align_tab_check_init() (align_tab_inited? 0:align_tab_init())
|
#define align_tab_check_init() (align_tab_inited? 0:align_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
align_tab_init()
|
align_tab_init(void)
|
||||||
{
|
{
|
||||||
#define at align_tab
|
#define at align_tab
|
||||||
align_tab_inited = TRUE;
|
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())
|
#define arg_type_tab_check_init() (arg_type_tab_inited? 0:arg_type_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
arg_type_tab_init()
|
arg_type_tab_init(void)
|
||||||
{
|
{
|
||||||
#define att arg_type_tab
|
#define att arg_type_tab
|
||||||
arg_type_tab_inited = TRUE;
|
arg_type_tab_inited = TRUE;
|
||||||
|
@ -152,7 +152,7 @@ static BOOL gat_inited = FALSE;
|
||||||
#define gat_check_init() (gat_inited? 0:gat_init())
|
#define gat_check_init() (gat_inited? 0:gat_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
gat_init()
|
gat_init(void)
|
||||||
{
|
{
|
||||||
convert_fill_table(gat, AB_GIL_ATTRIBUTE_NUM_VALUES, istr_const(NULL));
|
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())
|
(builtin_action_table_inited? 0:builtin_action_table_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
builtin_action_table_init()
|
builtin_action_table_init(void)
|
||||||
{
|
{
|
||||||
#define bat builtin_action_table
|
#define bat builtin_action_table
|
||||||
builtin_action_table_inited = TRUE;
|
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())
|
(button_type_tab_inited? 0:button_type_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
button_type_tab_init()
|
button_type_tab_init(void)
|
||||||
{
|
{
|
||||||
#define btt button_type_tab
|
#define btt button_type_tab
|
||||||
button_type_tab_inited = TRUE;
|
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())
|
#define cp_tab_check_init() (compass_tab_inited? 0:compass_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
compass_tab_init()
|
compass_tab_init(void)
|
||||||
{
|
{
|
||||||
#define cpt compass_tab
|
#define cpt compass_tab
|
||||||
compass_tab_inited = TRUE;
|
compass_tab_inited = TRUE;
|
||||||
|
@ -488,7 +488,7 @@ static BOOL label_type_tab_inited = FALSE;
|
||||||
(label_type_tab_inited? 0:label_type_tab_init())
|
(label_type_tab_inited? 0:label_type_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
label_type_tab_init()
|
label_type_tab_init(void)
|
||||||
{
|
{
|
||||||
#define ltt label_type_tab
|
#define ltt label_type_tab
|
||||||
label_type_tab_inited = TRUE;
|
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())
|
(obj_type_table_inited? 0:obj_type_table_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
obj_type_table_init()
|
obj_type_table_init(void)
|
||||||
{
|
{
|
||||||
#define ott obj_type_table
|
#define ott obj_type_table
|
||||||
obj_type_table_inited = TRUE;
|
obj_type_table_inited = TRUE;
|
||||||
|
@ -714,7 +714,7 @@ static BOOL when_table_inited = FALSE;
|
||||||
if (!when_table_inited) {when_table_init();}
|
if (!when_table_inited) {when_table_init();}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
when_table_init()
|
when_table_init(void)
|
||||||
{
|
{
|
||||||
#define wt when_table
|
#define wt when_table
|
||||||
int i = 0;
|
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 */
|
/* Load the BIL error message table with message set and default text */
|
||||||
static int
|
static int
|
||||||
abil_load_errmsg_table()
|
abil_load_errmsg_table(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
|
|
@ -263,7 +263,7 @@ obj_add_update_with_data_callback(ObjUpdateWithDataCallback cb,
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
int
|
int
|
||||||
objP_notify_push_mode()
|
objP_notify_push_mode(void)
|
||||||
{
|
{
|
||||||
if (modeStackIndex >= (MAX_MODE_DEPTH-1))
|
if (modeStackIndex >= (MAX_MODE_DEPTH-1))
|
||||||
{
|
{
|
||||||
|
@ -294,7 +294,7 @@ objP_notify_clear_mode(OBJ_EVENT_MODE deadMode)
|
||||||
* the notify queue is flushed.
|
* the notify queue is flushed.
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
objP_notify_pop_mode()
|
objP_notify_pop_mode(void)
|
||||||
{
|
{
|
||||||
objP_notify_pop_mode_dont_flush();
|
objP_notify_pop_mode_dont_flush();
|
||||||
|
|
||||||
|
@ -311,7 +311,7 @@ objP_notify_pop_mode()
|
||||||
|
|
||||||
|
|
||||||
OBJ_EVENT_MODE
|
OBJ_EVENT_MODE
|
||||||
objP_notify_get_mode()
|
objP_notify_get_mode(void)
|
||||||
{
|
{
|
||||||
return current_notify_mode();
|
return current_notify_mode();
|
||||||
}
|
}
|
||||||
|
@ -698,7 +698,7 @@ epilogue:
|
||||||
* generated while sending. Guarantees empty queue on return.
|
* generated while sending. Guarantees empty queue on return.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
flush_queue()
|
flush_queue(void)
|
||||||
{
|
{
|
||||||
int iReturn= 0;
|
int iReturn= 0;
|
||||||
int numEventsProcessed= 0;
|
int numEventsProcessed= 0;
|
||||||
|
@ -1056,7 +1056,7 @@ event_print(OBJ_EVENT *event, FILE *outFile, BOOL addNewline, STRING name)
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
event_queue_print()
|
event_queue_print(void)
|
||||||
{
|
{
|
||||||
int oldFirst= firstEventIndex;
|
int oldFirst= firstEventIndex;
|
||||||
int oldLast= lastEventIndex;
|
int oldLast= lastEventIndex;
|
||||||
|
|
|
@ -1602,7 +1602,7 @@ sig_fault_handler_uninstall(void)
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
sig_fault_handler()
|
sig_fault_handler(void)
|
||||||
{
|
{
|
||||||
if (mem_fault_occurred)
|
if (mem_fault_occurred)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1478,8 +1478,7 @@ formlist_append(
|
||||||
* resize requests after they've been already managed.
|
* resize requests after they've been already managed.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
formlist_force_resize(
|
formlist_force_resize(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
Dimension f_width, f_height;
|
Dimension f_width, f_height;
|
||||||
int i;
|
int i;
|
||||||
|
|
|
@ -159,8 +159,7 @@ static XtArgVal resize_default(WidgetClass wclass);
|
||||||
* Initialize all Xm string tables
|
* Initialize all Xm string tables
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
objxm_strs_init(
|
objxm_strs_init(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
load_enum_table();
|
load_enum_table();
|
||||||
load_res_table();
|
load_res_table();
|
||||||
|
@ -606,8 +605,7 @@ xm_reg_res(
|
||||||
* Load the resource table with known Motif/Xt resource names
|
* Load the resource table with known Motif/Xt resource names
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
load_res_table(
|
load_res_table(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
#define REG(xmn_, strn_, type_, enumt_, defv_, deff_) \
|
#define REG(xmn_, strn_, type_, enumt_, defv_, deff_) \
|
||||||
(objxm_register_res(xmn_, strn_, type_, AB_ARG_CLASS_UNDEF, enumt_, defv_, deff_));
|
(objxm_register_res(xmn_, strn_, type_, AB_ARG_CLASS_UNDEF, enumt_, defv_, deff_));
|
||||||
|
@ -1164,8 +1162,7 @@ find_res_entry_by_strname(ISTRING strname)
|
||||||
* Load the enum table with known Motif/Xt enum definition/strings
|
* Load the enum table with known Motif/Xt enum definition/strings
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
load_enum_table(
|
load_enum_table(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
#define XM_REG_ENUM(tbl_, i_, xmd_, strd_) \
|
#define XM_REG_ENUM(tbl_, i_, xmd_, strd_) \
|
||||||
{ (tbl_).enums[i_].xmdef = (xmd_); \
|
{ (tbl_).enums[i_].xmdef = (xmd_); \
|
||||||
|
@ -1473,8 +1470,7 @@ load_enum_table(
|
||||||
* Load the xmcreate table with known Motif/Xt create routines/strings
|
* Load the xmcreate table with known Motif/Xt create routines/strings
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
load_xmcreate_table(
|
load_xmcreate_table(void)
|
||||||
)
|
|
||||||
{
|
{
|
||||||
#define XM_REG_XMCREATE(i_, ftn_, fstr_) \
|
#define XM_REG_XMCREATE(i_, ftn_, fstr_) \
|
||||||
{ xm_xmcreate_table[i_].ftn = (ftn_); \
|
{ xm_xmcreate_table[i_].ftn = (ftn_); \
|
||||||
|
|
|
@ -211,7 +211,7 @@ util_get_program_name(void)
|
||||||
* the ones that don't we'll do a normal fork.
|
* the ones that don't we'll do a normal fork.
|
||||||
*/
|
*/
|
||||||
pid_t
|
pid_t
|
||||||
util_vfork()
|
util_vfork(void)
|
||||||
{
|
{
|
||||||
return fork();
|
return fork();
|
||||||
}
|
}
|
||||||
|
|
|
@ -121,7 +121,7 @@ static ISTRING builtin_action_table[AB_BUILTIN_ACTION_NUM_VALUES]= {NULL};
|
||||||
(builtin_action_table_inited? 0:builtin_action_table_init())
|
(builtin_action_table_inited? 0:builtin_action_table_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
builtin_action_table_init()
|
builtin_action_table_init(void)
|
||||||
{
|
{
|
||||||
#define bat builtin_action_table
|
#define bat builtin_action_table
|
||||||
builtin_action_table_inited= TRUE;
|
builtin_action_table_inited= TRUE;
|
||||||
|
@ -176,7 +176,7 @@ static ISTRING obj_type_table[AB_OBJECT_TYPE_NUM_VALUES+1]= {NULL};
|
||||||
(obj_type_table_inited? 0:obj_type_table_init())
|
(obj_type_table_inited? 0:obj_type_table_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
obj_type_table_init()
|
obj_type_table_init(void)
|
||||||
{
|
{
|
||||||
#define ott obj_type_table
|
#define ott obj_type_table
|
||||||
obj_type_table_inited= TRUE;
|
obj_type_table_inited= TRUE;
|
||||||
|
@ -248,7 +248,7 @@ static ISTRING browser_obj_type_table[AB_OBJECT_TYPE_NUM_VALUES+1]= {NULL};
|
||||||
(browser_obj_type_table_inited? 0:browser_obj_type_table_init())
|
(browser_obj_type_table_inited? 0:browser_obj_type_table_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
browser_obj_type_table_init()
|
browser_obj_type_table_init(void)
|
||||||
{
|
{
|
||||||
#define bott browser_obj_type_table
|
#define bott browser_obj_type_table
|
||||||
browser_obj_type_table_inited= TRUE;
|
browser_obj_type_table_inited= TRUE;
|
||||||
|
@ -316,7 +316,7 @@ static ISTRING when_table[AB_WHEN_NUM_VALUES];
|
||||||
static BOOL when_table_inited= FALSE;
|
static BOOL when_table_inited= FALSE;
|
||||||
|
|
||||||
static int
|
static int
|
||||||
when_table_init()
|
when_table_init(void)
|
||||||
{
|
{
|
||||||
#define wt when_table
|
#define wt when_table
|
||||||
int i= 0;
|
int i= 0;
|
||||||
|
@ -389,7 +389,7 @@ static BOOL align_tab_inited= FALSE;
|
||||||
#define align_tab_check_init() (align_tab_inited? 0:align_tab_init())
|
#define align_tab_check_init() (align_tab_inited? 0:align_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
align_tab_init()
|
align_tab_init(void)
|
||||||
{
|
{
|
||||||
#define at align_tab
|
#define at align_tab
|
||||||
align_tab_inited= TRUE;
|
align_tab_inited= TRUE;
|
||||||
|
@ -429,7 +429,7 @@ static BOOL label_type_tab_inited= FALSE;
|
||||||
(label_type_tab_inited? 0:label_type_tab_init())
|
(label_type_tab_inited? 0:label_type_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
label_type_tab_init()
|
label_type_tab_init(void)
|
||||||
{
|
{
|
||||||
#define ltt label_type_tab
|
#define ltt label_type_tab
|
||||||
label_type_tab_inited= TRUE;
|
label_type_tab_inited= TRUE;
|
||||||
|
@ -469,7 +469,7 @@ static BOOL button_type_tab_inited= FALSE;
|
||||||
(button_type_tab_inited? 0:button_type_tab_init())
|
(button_type_tab_inited? 0:button_type_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
button_type_tab_init()
|
button_type_tab_init(void)
|
||||||
{
|
{
|
||||||
#define btt button_type_tab
|
#define btt button_type_tab
|
||||||
button_type_tab_inited= TRUE;
|
button_type_tab_inited= TRUE;
|
||||||
|
@ -504,7 +504,7 @@ static BOOL arg_class_tab_inited= FALSE;
|
||||||
(arg_class_tab_inited? 0:arg_class_tab_init())
|
(arg_class_tab_inited? 0:arg_class_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
arg_class_tab_init()
|
arg_class_tab_init(void)
|
||||||
{
|
{
|
||||||
#define att arg_class_tab
|
#define att arg_class_tab
|
||||||
arg_class_tab_inited= TRUE;
|
arg_class_tab_inited= TRUE;
|
||||||
|
@ -585,7 +585,7 @@ static BOOL arg_type_tab_inited= FALSE;
|
||||||
#define arg_type_tab_check_init() (arg_type_tab_inited? 0:arg_type_tab_init())
|
#define arg_type_tab_check_init() (arg_type_tab_inited? 0:arg_type_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
arg_type_tab_init()
|
arg_type_tab_init(void)
|
||||||
{
|
{
|
||||||
#define att arg_type_tab
|
#define att arg_type_tab
|
||||||
arg_type_tab_inited= TRUE;
|
arg_type_tab_inited= TRUE;
|
||||||
|
@ -703,7 +703,7 @@ static BOOL container_tab_inited= FALSE;
|
||||||
#define container_tab_check_init() (container_tab_inited? 0:container_tab_init())
|
#define container_tab_check_init() (container_tab_inited? 0:container_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
container_tab_init()
|
container_tab_init(void)
|
||||||
{
|
{
|
||||||
#define cont container_tab
|
#define cont container_tab
|
||||||
container_tab_inited= TRUE;
|
container_tab_inited= TRUE;
|
||||||
|
@ -747,7 +747,7 @@ static BOOL item_tab_inited= FALSE;
|
||||||
#define item_tab_check_init() (item_tab_inited? 0:item_tab_init())
|
#define item_tab_check_init() (item_tab_inited? 0:item_tab_init())
|
||||||
|
|
||||||
static int
|
static int
|
||||||
item_tab_init()
|
item_tab_init(void)
|
||||||
{
|
{
|
||||||
#define it item_tab
|
#define it item_tab
|
||||||
item_tab_inited= TRUE;
|
item_tab_inited= TRUE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue