}
BOOL
-ab_window_leader_iconified(
-)
+ab_window_leader_iconified(void)
{
return(AB_win_leader->state & WindowIconified);
}
}
void
-ab_takedown_windows(
-)
+ab_takedown_windows(void)
{
set_windows_visibility(False);
}
void
-ab_putback_windows(
-)
+ab_putback_windows(void)
{
set_windows_visibility(True);
}
}
void
-ab_exit_dtbuilder()
+ab_exit_dtbuilder(void)
{
static DTB_MODAL_ANSWER answer;
XtAppContext app;
* Called from main()...
*/
void
-abobj_edit_init(
-)
+abobj_edit_init(void)
{
obj_add_destroy_callback(edit_destroyOCB, "ATTCH_ED");
}
* Initializes the clipboard
*/
static void
-init_clipboard(
-)
+init_clipboard(void)
{
if (!ABClipboard)
{
* Initializes undo buffer
*/
static void
-init_undo(
-)
+init_undo(void)
{
init_undo_rec(&ABUndo);
}
*/
int
-abobj_cut(
-)
+abobj_cut(void)
{
ABObj project = proj_get_project();
ABObj newObj = NULL;
}
int
-abobj_copy(
-)
+abobj_copy(void)
{
ABObj project = proj_get_project(),
newObj;
}
int
-abobj_delete(
-)
+abobj_delete(void)
{
ABObj project = proj_get_project(),
parent = NULL;
}
int
-abobj_undo(
-)
+abobj_undo(void)
{
int iRet = 0;
}
int
-abobj_cancel_undo(
-)
+abobj_cancel_undo(void)
{
clear_undo_rec(&ABUndo);
return 0;
}
BOOL
-abobj_undo_active(
-)
+abobj_undo_active(void)
{
BOOL i;
* Is clipboard empty ?
*/
BOOL
-abobj_clipboard_is_empty(
-)
+abobj_clipboard_is_empty(void)
{
return(!ABClipboard || (ABClipboard->count == 0));
}
* Clears the clipboard
*/
void
-abobj_clipboard_clear(
-)
+abobj_clipboard_clear(void)
{
int i;
}
void
-abobj_strings_init(
-)
+abobj_strings_init(void)
{
char *props_str;
char *undo_str;
}
void
-abobj_disable_save_needed(
-)
+abobj_disable_save_needed(void)
{
save_needed_enabled = FALSE;
}
void
-abobj_enable_save_needed(
-)
+abobj_enable_save_needed(void)
{
save_needed_enabled = TRUE;
}
BOOL
-abobj_save_needed_enabled(
-)
+abobj_save_needed_enabled(void)
{
return (save_needed_enabled);
}
}
static void
-turnoff_changebars(
-)
+turnoff_changebars(void)
{
prop_set_changebar(afs->vendor.changebar, PROP_CB_OFF);
* the Application Framework Editor
*/
static BOOL
-appfw_editor_pending(
-)
+appfw_editor_pending(void)
{
if (afs && prop_changebars_pending(afs->prop_sheet))
return TRUE;
}
void
-attch_ed_init(
-)
+attch_ed_init(void)
{
obj_add_destroy_callback(attch_obj_destroyCB, "ATTCH_ED");
obj_add_reparent_callback(attch_obj_reparentCB, "ATTCH_ED");
}
static BOOL
-attch_edP_pending(
-)
+attch_edP_pending(void)
{
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
}
static void
-turnoff_changebars(
-)
+turnoff_changebars(void)
{
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
static void
-attch_ed_view_child_attachments(
-)
+attch_ed_view_child_attachments(void)
{
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
ABObj cur_obj,
static void
-attch_ed_view_parent_attachments(
-)
+attch_ed_view_parent_attachments(void)
{
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
ABObj cur_obj,
}
static void
-attch_ed_activate_parent_child_button(
-)
+attch_ed_activate_parent_child_button(void)
{
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
DtbAttchEdAttchEdDialogInfo attch_ed_cgen
}
static BOOL
-attch_ed_verify_props(
-)
+attch_ed_verify_props(void)
{
AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
ATTCH_ED_ATTACH_TYPE attach_type = ATTCH_ED_NONE;
/*
* create_browser_window - creates a new browser main window
*/
-ABBrowser
-brws_create
-(
-)
+ABBrowser brws_create(void)
{
ABBrowser b;
* Initialize the object browser.
*/
static ABBrowser
-create_browser_struct()
+create_browser_struct(void)
{
ABBrowser b;
/*
* Create (malloc) structure to hold browser UI objects
*/
-BrowserUiObj
-aob_create_ui_obj
-(
-)
+BrowserUiObj aob_create_ui_obj(void)
{
BrowserUiObj ui;
* Create (malloc) structure to hold browser properties
*/
static BrowserProps
-aob_create_props
-(
-)
+aob_create_props(void)
{
BrowserProps props;
}
void
-brws_init(
-)
+brws_init(void)
{
obj_add_rename_callback(brwsP_obj_renameOCB, "BRWS");
obj_add_destroy_callback(brwsP_obj_destroyOCB, "BRWS");
int
-cgen_abort()
+cgen_abort(void)
{
public_entry_point();
return cgenP_abort();
* Add callbacks for object rename & destroy
*/
void
-cgenP_prop_init(
-)
+cgenP_prop_init(void)
{
obj_add_rename_callback(obj_renamedOCB, "cgen_prop_init");
obj_add_update_callback(obj_updateOCB, "cgen_prop_init");
* Sends stdout and stderr to term window
*/
static int
-send_output_to_term()
+send_output_to_term(void)
{
static BOOL done = FALSE;
int rc = 0;
* Gets the slave device name and puts it into the file variable
*/
static int
-get_slave_device_name()
+get_slave_device_name(void)
{
String deviceName = NULL;
*************************************************************************/
static int
-exec_generate_code()
+exec_generate_code(void)
{
ABObj project= proj_get_project();
STRING project_name= NULL;
}
static int
-exec_generate_main()
+exec_generate_main(void)
{
int rc = 0; /* return code */
ABObj project= proj_get_project();
}
static int
-exec_generate_proj()
+exec_generate_proj(void)
{
int rc = 0; /* return code */
ABObj project= proj_get_project();
}
static int
-exec_generate_specific_files()
+exec_generate_specific_files(void)
{
int returnValue = 0;
int rc = 0; /* return code */
}
static int
-exec_generate_specific_files_and_main()
+exec_generate_specific_files_and_main(void)
{
int returnValue = 0;
int rc = 0; /* return code */
static int
-exec_make()
+exec_make(void)
{
int rc = 0; /* return code */
STRING cmd = NULL;
static int
-exec_run()
+exec_run(void)
{
ABObj project= NULL;
char executable_name[1024];
static int
-exec_first_build_and_run_command()
+exec_first_build_and_run_command(void)
{
int return_value= 0;
if (!util_file_exists("Makefile"))
static int
-print_internal_err_message()
+print_internal_err_message(void)
{
print_to_term("****> UNSUCCESSFUL (Internal failure occurred).\n");
return 0;
static int
-print_success_message()
+print_success_message(void)
{
print_to_term("====> Completed successfully.\n");
user_goal= CG_GOAL_UNDEF;
static int
-print_abort_message()
+print_abort_message(void)
{
print_to_term("\n====> Command aborted.\n");
user_goal= CG_GOAL_UNDEF;
* We are running a process - desensitize most buttons.
*/
static int
-goto_busy_state()
+goto_busy_state(void)
{
XtSetSensitive(abort_button, True);
XtSetSensitive(abort_item, True);
* We are waiting for user input
*/
static int
-goto_ready_state()
+goto_ready_state(void)
{
XtSetSensitive(abort_button, False);
XtSetSensitive(abort_item, False);
}
int
-cgenP_sync_up_dir(
-)
+cgenP_sync_up_dir(void)
{
STRING cmd = NULL;
STRING request_dir = NULL;
static int
-check_path()
+check_path(void)
{
int return_value = 0;
int rc = 0; /* return code */
static int
-destroy_makefile()
+destroy_makefile(void)
{
destroy_links_to_file("makefile");
destroy_links_to_file("Makefile");
objxm_name_to_pixel (via XtConvertAndStore). */
char *
-display_color_chooser(
-)
+display_color_chooser(void)
{
extern Widget AB_toplevel;
static int first_time = 1;
}
void
-create_color_chooser(
-)
+create_color_chooser(void)
{
extern Widget AB_toplevel;
XmString label;
}
extern ABObj
-connP_get_source(
-)
+connP_get_source(void)
{
return cur_source;
}
}
extern ABObj
-connP_get_target(
-)
+connP_get_target(void)
{
return cur_target;
}
* Initializes strings used in connections editor
*/
extern void
-conn_strings_init(
-)
+conn_strings_init(void)
{
unknown_str =
XtNewString(catgets(Dtb_project_catd, 100, 158, "??unknown??"));
extern void
-conn_init(
-)
+conn_init(void)
{
conn_strings_init();
BOOL
-connP_conn_is_possible()
+connP_conn_is_possible(void)
{
BOOL ConnIsPossible = FALSE;
ABObj source = NULL,
*/
void
-dnd_ed_show_dialog(
-)
+dnd_ed_show_dialog(void)
{
/* If there is no DragAndDrop Editor, create it */
if (AB_dnd_dialog == (Widget)NULL)
static void
-dnd_turnoff_changebars(
-)
+dnd_turnoff_changebars(void)
{
DndEditorSettings dds = &dndEdInfo;
prop_set_changebar(dds->drag_ops_checkbox.changebar,PROP_CB_OFF);
static void
-clear_editor_fields(
-)
+clear_editor_fields(void)
{
DndEditorSettingsRec *dds = &dndEdInfo;
}
static void
-clear_editor_fields(
-)
+clear_editor_fields(void)
{
HelpEditorSettingsRec *hes = &Help_Editor_Settings_Rec;
** apps built with App Builder will use as well.)
*/
static void
-help_test_onitem_help()
+help_test_onitem_help(void)
{
ABObj obj, root_obj, help_obj;
Widget target;
** if there are no base or popup windows.
*/
static ABObj
-find_toplevel_obj()
+find_toplevel_obj(void)
{
ABObj obj, bwobj, pwobj, fcobj;
AB_TRAVERSAL trav;
******************************************************************/
void
-msgEd_show_dialog(
-)
+msgEd_show_dialog(void)
{
int numMods = 0;
ABObj current_module = proj_get_cur_module();
* Add callbacks for object rename & destroy
*/
static void
-msgEdP_init(
-)
+msgEdP_init(void)
{
/*
* Initialize static strings used in message editor
}
static int
-msg_editor_clear(
-)
+msg_editor_clear(void)
{
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
int sel_pos = 0;
static BOOL
-msg_editor_pending(
-)
+msg_editor_pending(void)
{
return(prop_changebars_pending(msg_editor_settings_rec.prop_sheet));
}
static BOOL
-verify_name()
+verify_name(void)
{
BOOL retVal = TRUE;
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
}
static void
-turnoff_changebars(
-)
+turnoff_changebars(void)
{
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
static BOOL
-verify_default_btn()
+verify_default_btn(void)
{
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
AB_DEFAULT_BUTTON default_btn = AB_DEFAULT_BTN_UNDEF;
}
static BOOL
-verify_label()
+verify_label(void)
{
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
BOOL validLabel = TRUE;
}
static BOOL
-verify_buttons()
+verify_buttons(void)
{
MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
BOOL hasButtons = TRUE;
}
static void
-msgEdP_strings_init(
-)
+msgEdP_strings_init(void)
{
msgEd_strings[MSG_ED_RETRY_STR] =
XtNewString(catgets(Dtb_project_catd, 100, 202, "Retry"));
* Object destroy callback
*/
static int
-prop_choice_install_obj_destroy_CB()
+prop_choice_install_obj_destroy_CB(void)
{
static BOOL callback_installed = False;
}
static int
-combobox_install_obj_destroy_CB()
+combobox_install_obj_destroy_CB(void)
{
static BOOL callback_installed = False;
* Create a group object out of the selected group of objects.
*/
void
-abobj_group_selected_objects(
-)
+abobj_group_selected_objects(void)
{
ABObj project = proj_get_project();
ABObj obj;
* them after all groups have been ungrouped.
*/
void
-abobj_ungroup_selected_objects(
-)
+abobj_ungroup_selected_objects(void)
{
ABObj project = proj_get_project();
ABSelectedRec sel;
* Object destroy callback
*/
static int
-prop_list_install_obj_destroy_CB()
+prop_list_install_obj_destroy_CB(void)
{
static BOOL callback_installed = False;
* Object destroy callback
*/
static int
-prop_menu_install_obj_destroy_CB()
+prop_menu_install_obj_destroy_CB(void)
{
static BOOL callback_installed = False;
* Object destroy callback
*/
static int
-prop_menubar_install_obj_destroy_CB()
+prop_menubar_install_obj_destroy_CB(void)
{
static BOOL callback_installed = False;
}
static void
-panedwinEdP_init()
+panedwinEdP_init(void)
{
obj_add_reparent_callback(pw_obj_reparentedOCB, "panedwinEdP_init");
obj_add_rename_callback(pw_obj_renamedOCB, "panedwinEdP_init");
* Create a paned window out of the selected group of objects.
*/
void
-abobj_make_panedwin(
-)
+abobj_make_panedwin(void)
{
ABObj project = proj_get_project();
ABObj obj = (ABObj) NULL;
* paned window and delete the paned window object.
*/
void
-abobj_unmake_panedwin(
-)
+abobj_unmake_panedwin(void)
{
ABObj project = proj_get_project();
ABObj pw_obj = NULL;
}
static int
-spinbox_install_obj_destroy_CB()
+spinbox_install_obj_destroy_CB(void)
{
static BOOL callback_installed = False;
* Dialog shell.
*/
void
-proj_show_dialog()
+proj_show_dialog(void)
{
ABObj proj = proj_get_project();
BrowserUiObj ui;
* Create viewer data structure for project window
*/
static Vwr
-create_proj_struct()
+create_proj_struct(void)
{
Vwr v;
extern VMethods projP_methods;
}
int
-proj_init(
-)
+proj_init(void)
{
obj_add_rename_callback(projP_obj_renameOCB, "PROJ");
obj_add_destroy_callback(projP_obj_destroyOCB, "PROJ");
}
ABObj
-proj_get_project(
-)
+proj_get_project(void)
{
return AB_project;
}
}
ABObj
-proj_get_cur_module(
-)
+proj_get_cur_module(void)
{
return AB_cur_module;
}
}
void
-proj_name_proj()
+proj_name_proj(void)
{
STRING proj_name = NULL;
UI_MODAL_ANSWER answer = UI_ANSWER_NONE;
}
void
-strings_init(
-)
+strings_init(void)
{
LabelForString =
XtNewString(catgets(Dtb_project_catd, 100, 215, "Label:"));
* Initialize object pixmaps
*/
static void
-init_obj_pixmaps
-(
-)
+init_obj_pixmaps(void)
{
Display *dpy;
Pixmap tmp;
}
VNode
-vwr_create_node()
+vwr_create_node(void)
{
VNode bnode;
"dtb_get_toplevel_widget",
/* proto */
- "Widget dtb_get_toplevel_widget();",
+ "Widget dtb_get_toplevel_widget(void);",
/* def */
"Widget\n"
- "dtb_get_toplevel_widget()\n"
+ "dtb_get_toplevel_widget(void)\n"
"{\n"
" return(dtb_project_toplevel_widget);\n"
"}"
"dtb_get_command",
/* proto */
- "char * dtb_get_command();",
+ "char * dtb_get_command(void);",
/* def */
"char * \n"
- "dtb_get_command() \n"
+ "dtb_get_command(void) \n"
"{\n"
" return(dtb_save_command_str); \n"
"}"
"dtb_do_onitem_help",
/* proto */
- "void dtb_do_onitem_help();",
+ "void dtb_do_onitem_help(void);",
/* def */
"/*\n"
"** main menubar's \"Help\" menu.\n"
"*/\n"
"void\n"
- "dtb_do_onitem_help()\n"
+ "dtb_do_onitem_help(void)\n"
"{\n"
" Widget target;\n"
"\n"
"dtb_get_client_session_saveCB",
/* proto */
- "DtbClientSessionSaveCB dtb_get_client_session_saveCB();",
+ "DtbClientSessionSaveCB dtb_get_client_session_saveCB(void);",
/* def */
"/*\n"
" * dtb_get_client_session_saveCB()\n"
" */\n"
"DtbClientSessionSaveCB\n"
- "dtb_get_client_session_saveCB()\n"
+ "dtb_get_client_session_saveCB(void)\n"
"{\n"
" return(dtb_client_session_saveCB);\n"
"\n"
"dtb_get_client_session_restoreCB",
/* proto */
- "DtbClientSessionRestoreCB dtb_get_client_session_restoreCB();",
+ "DtbClientSessionRestoreCB dtb_get_client_session_restoreCB(void);",
/* def */
"/*\n"
" * dtb_get_client_session_restoreCB()\n"
" */\n"
"DtbClientSessionRestoreCB\n"
- "dtb_get_client_session_restoreCB()\n"
+ "dtb_get_client_session_restoreCB(void)\n"
"{\n"
" return(dtb_client_session_restoreCB);\n"
"\n"
"dtb_get_tt_msg_quitCB",
/* proto */
- "static DtbTTMsgHandlerCB dtb_get_tt_msg_quitCB();",
+ "static DtbTTMsgHandlerCB dtb_get_tt_msg_quitCB(void);",
/* def */
"/*\n"
" * dtb_get_tt_msg_quitCB()\n"
" */\n"
"static DtbTTMsgHandlerCB\n"
- "dtb_get_tt_msg_quitCB()\n"
+ "dtb_get_tt_msg_quitCB(void)\n"
"{\n"
" return(dtb_tt_msg_quitCB);\n"
"}"
"dtb_get_tt_msg_do_commandCB",
/* proto */
- "static DtbTTMsgHandlerCB dtb_get_tt_msg_do_commandCB();",
+ "static DtbTTMsgHandlerCB dtb_get_tt_msg_do_commandCB(void);",
/* def */
"/* \n"
" * dtb_get_tt_msg_do_commandCB()\n"
" */ \n"
"static DtbTTMsgHandlerCB\n"
- "dtb_get_tt_msg_do_commandCB()\n"
+ "dtb_get_tt_msg_do_commandCB(void)\n"
"{ \n"
" return(dtb_tt_msg_do_commandCB);\n"
"}"
"dtb_get_tt_msg_get_statusCB",
/* proto */
- "static DtbTTMsgHandlerCB dtb_get_tt_msg_get_statusCB();",
+ "static DtbTTMsgHandlerCB dtb_get_tt_msg_get_statusCB(void);",
/* def */
"/* \n"
" * dtb_get_tt_msg_get_statusCB()\n"
" */ \n"
"static DtbTTMsgHandlerCB\n"
- "dtb_get_tt_msg_get_statusCB()\n"
+ "dtb_get_tt_msg_get_statusCB(void)\n"
"{ \n"
" return(dtb_tt_msg_get_statusCB);\n"
"}"
"dtb_get_tt_msg_pause_resumeCB",
/* proto */
- "static DtbTTMsgHandlerCB dtb_get_tt_msg_pause_resumeCB();",
+ "static DtbTTMsgHandlerCB dtb_get_tt_msg_pause_resumeCB(void);",
/* def */
"/* \n"
" * dtb_get_tt_msg_pause_resumeCB()\n"
" */ \n"
"static DtbTTMsgHandlerCB\n"
- "dtb_get_tt_msg_pause_resumeCB()\n"
+ "dtb_get_tt_msg_pause_resumeCB(void)\n"
"{ \n"
" return(dtb_tt_msg_pause_resumeCB);\n"
"}"
"dtb_tt_close",
/* proto */
- "void dtb_tt_close();",
+ "void dtb_tt_close(void);",
/* def */
"/*\n"
" * Close ToolTalk Connection\n"
" */\n"
"void\n"
- "dtb_tt_close()\n"
+ "dtb_tt_close(void)\n"
"{\n"
" ttdt_close(NULL, NULL, True);\n"
"}"
CSegArray
-cseg_array_create()
+cseg_array_create(void)
{
CSegArray newArray = (CSegArray)util_malloc(sizeof(CSegArrayRec));
if (newArray != NULL)
/* DTB_USER_CODE_START */
static int
-myfunc()
+myfunc(void)
{
return 0;
}
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 */
*************************************************************************/
int
-bilP_load_reset()
+bilP_load_reset(void)
{
line_number= 1;
last_token= AB_BIL_UNDEF;
}
int
-bilP_load_get_token()
+bilP_load_get_token(void)
{
return last_token;
}
}
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;
}
/*
*/
ISTRING
-bilP_get_string()
+bilP_get_string(void)
{
STRING tmp_str = NULL;
ISTRING value1;
/*
*/
STRING
-bilP_load_att()
+bilP_load_att(void)
{
return NULL;
}
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;
}
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;
}
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;
*/
int
-bilP_load_end_of_file()
+bilP_load_end_of_file(void)
{
bilP_reset_token_text();
return 0;
int
-bilP_load_end_of_data()
+bilP_load_end_of_data(void)
{
fseek(AByyin, 0, SEEK_END); /* move to end of file */
return 0;
#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;
#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;
#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));
(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;
(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;
#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;
(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;
(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;
if (!when_table_inited) {when_table_init();}
static int
-when_table_init()
+when_table_init(void)
{
#define wt when_table
int i = 0;
/* 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;
**************************************************************************/
int
-objP_notify_push_mode()
+objP_notify_push_mode(void)
{
if (modeStackIndex >= (MAX_MODE_DEPTH-1))
{
* the notify queue is flushed.
*/
int
-objP_notify_pop_mode()
+objP_notify_pop_mode(void)
{
objP_notify_pop_mode_dont_flush();
OBJ_EVENT_MODE
-objP_notify_get_mode()
+objP_notify_get_mode(void)
{
return current_notify_mode();
}
* generated while sending. Guarantees empty queue on return.
*/
static int
-flush_queue()
+flush_queue(void)
{
int iReturn= 0;
int numEventsProcessed= 0;
static int
-event_queue_print()
+event_queue_print(void)
{
int oldFirst= firstEventIndex;
int oldLast= lastEventIndex;
static void
-sig_fault_handler()
+sig_fault_handler(void)
{
if (mem_fault_occurred)
{
* resize requests after they've been already managed.
*/
static int
-formlist_force_resize(
-)
+formlist_force_resize(void)
{
Dimension f_width, f_height;
int i;
* Initialize all Xm string tables
*/
void
-objxm_strs_init(
-)
+objxm_strs_init(void)
{
load_enum_table();
load_res_table();
* Load the resource table with known Motif/Xt resource names
*/
static void
-load_res_table(
-)
+load_res_table(void)
{
#define REG(xmn_, strn_, type_, enumt_, defv_, deff_) \
(objxm_register_res(xmn_, strn_, type_, AB_ARG_CLASS_UNDEF, enumt_, defv_, deff_));
* Load the enum table with known Motif/Xt enum definition/strings
*/
static void
-load_enum_table(
-)
+load_enum_table(void)
{
#define XM_REG_ENUM(tbl_, i_, xmd_, strd_) \
{ (tbl_).enums[i_].xmdef = (xmd_); \
* Load the xmcreate table with known Motif/Xt create routines/strings
*/
static void
-load_xmcreate_table(
-)
+load_xmcreate_table(void)
{
#define XM_REG_XMCREATE(i_, ftn_, fstr_) \
{ xm_xmcreate_table[i_].ftn = (ftn_); \
* the ones that don't we'll do a normal fork.
*/
pid_t
-util_vfork()
+util_vfork(void)
{
return fork();
}
(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;
(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;
(browser_obj_type_table_inited? 0:browser_obj_type_table_init())
static int
-browser_obj_type_table_init()
+browser_obj_type_table_init(void)
{
#define bott browser_obj_type_table
browser_obj_type_table_inited= TRUE;
static BOOL when_table_inited= FALSE;
static int
-when_table_init()
+when_table_init(void)
{
#define wt when_table
int i= 0;
#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;
(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;
(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;
(arg_class_tab_inited? 0:arg_class_tab_init())
static int
-arg_class_tab_init()
+arg_class_tab_init(void)
{
#define att arg_class_tab
arg_class_tab_inited= TRUE;
#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;
#define container_tab_check_init() (container_tab_inited? 0:container_tab_init())
static int
-container_tab_init()
+container_tab_init(void)
{
#define cont container_tab
container_tab_inited= TRUE;
#define item_tab_check_init() (item_tab_inited? 0:item_tab_init())
static int
-item_tab_init()
+item_tab_init(void)
{
#define it item_tab
item_tab_inited= TRUE;