dtappbuilder: Change to ANSI function definitions
authorPeter Howkins <flibble@users.sf.net>
Thu, 28 Jun 2018 03:08:35 +0000 (04:08 +0100)
committerPeter Howkins <flibble@users.sf.net>
Thu, 28 Jun 2018 03:08:35 +0000 (04:08 +0100)
41 files changed:
cde/programs/dtappbuilder/src/ab/ab_utils.c
cde/programs/dtappbuilder/src/ab/abobj_edit.c
cde/programs/dtappbuilder/src/ab/abobj_menu.c
cde/programs/dtappbuilder/src/ab/abobj_set.c
cde/programs/dtappbuilder/src/ab/appfw_stubs.c
cde/programs/dtappbuilder/src/ab/attch_ed_stubs.c
cde/programs/dtappbuilder/src/ab/brws.c
cde/programs/dtappbuilder/src/ab/cgen_utils.c
cde/programs/dtappbuilder/src/ab/color_chooser_stubs.c
cde/programs/dtappbuilder/src/ab/conn_obj.c
cde/programs/dtappbuilder/src/ab/conn_stubs.c
cde/programs/dtappbuilder/src/ab/dnd_ed_stubs.c
cde/programs/dtappbuilder/src/ab/help_ed_stubs.c
cde/programs/dtappbuilder/src/ab/message_ed_stubs.c
cde/programs/dtappbuilder/src/ab/pal_choice.c
cde/programs/dtappbuilder/src/ab/pal_combobox.c
cde/programs/dtappbuilder/src/ab/pal_group.c
cde/programs/dtappbuilder/src/ab/pal_list.c
cde/programs/dtappbuilder/src/ab/pal_menu.c
cde/programs/dtappbuilder/src/ab/pal_menubar.c
cde/programs/dtappbuilder/src/ab/pal_panedwin.c
cde/programs/dtappbuilder/src/ab/pal_spinbox.c
cde/programs/dtappbuilder/src/ab/proj.c
cde/programs/dtappbuilder/src/ab/proj_utils.c
cde/programs/dtappbuilder/src/ab/prop.c
cde/programs/dtappbuilder/src/ab/ui_util.c
cde/programs/dtappbuilder/src/ab/vwr.c
cde/programs/dtappbuilder/src/abmf/lib_func_strings.c
cde/programs/dtappbuilder/src/abmf/parse_c.c
cde/programs/dtappbuilder/src/libABil/bil.c
cde/programs/dtappbuilder/src/libABil/bil_lexer.c
cde/programs/dtappbuilder/src/libABil/bil_loadatt.c
cde/programs/dtappbuilder/src/libABil/bil_loadfile.c
cde/programs/dtappbuilder/src/libABil/gil.c
cde/programs/dtappbuilder/src/libABil/load.c
cde/programs/dtappbuilder/src/libABobj/obj_notify.c
cde/programs/dtappbuilder/src/libABobj/obj_utils.c
cde/programs/dtappbuilder/src/libABobjXm/objxm_inst.c
cde/programs/dtappbuilder/src/libABobjXm/objxm_strs.c
cde/programs/dtappbuilder/src/libAButil/util.c
cde/programs/dtappbuilder/src/libAButil/util_convert.c

index 31ae4197edc418a65d05bca4dd85f17a4a5f9ee6..520056de66cdf6b18d7f1364258f5fd71b56cb28 100644 (file)
@@ -307,8 +307,7 @@ ab_position_window(
 }
 
 BOOL
-ab_window_leader_iconified(
-)
+ab_window_leader_iconified(void)
 {
     return(AB_win_leader->state & WindowIconified);
 }
@@ -677,15 +676,13 @@ set_windows_visibility(
 }
 
 void
-ab_takedown_windows(
-)
+ab_takedown_windows(void)
 {
     set_windows_visibility(False);
 }
 
 void
-ab_putback_windows(
-)
+ab_putback_windows(void)
 {
     set_windows_visibility(True);
 }
@@ -1222,7 +1219,7 @@ ab_palette_set_active(
 }
 
 void
-ab_exit_dtbuilder()
+ab_exit_dtbuilder(void)
 {
     static DTB_MODAL_ANSWER     answer;
     XtAppContext                app;
index d1b4bf62944aac4140d969afe4be0c3588a006cc..bd9c4c54d22085774a1221644892c97d55692596 100644 (file)
@@ -226,8 +226,7 @@ BOOL                        in_undo = FALSE;
  * Called from main()...
  */
 void
-abobj_edit_init(
-)
+abobj_edit_init(void)
 {
     obj_add_destroy_callback(edit_destroyOCB, "ATTCH_ED");
 }
@@ -401,8 +400,7 @@ edit_destroyOCB(
  * Initializes the clipboard
  */
 static void
-init_clipboard(
-)
+init_clipboard(void)
 {
     if (!ABClipboard)
     {
@@ -1452,8 +1450,7 @@ init_undo_rec(
  * Initializes undo buffer
  */
 static void
-init_undo(
-)
+init_undo(void)
 {
     init_undo_rec(&ABUndo);
 }
@@ -2124,8 +2121,7 @@ clear_undo_rec(
  */
 
 int
-abobj_cut(
-)
+abobj_cut(void)
 {
     ABObj      project = proj_get_project();
     ABObj      newObj = NULL;
@@ -2171,8 +2167,7 @@ abobj_cut(
 }
 
 int
-abobj_copy(
-)
+abobj_copy(void)
 {
     ABObj      project = proj_get_project(),
                newObj;
@@ -2807,8 +2802,7 @@ abobj_paste(
 }
 
 int
-abobj_delete(
-)
+abobj_delete(void)
 {
     ABObj              project = proj_get_project(),
                        parent = NULL;
@@ -2862,8 +2856,7 @@ abobj_delete(
 }
 
 int
-abobj_undo(
-)
+abobj_undo(void)
 {
     int                iRet = 0;
 
@@ -2929,16 +2922,14 @@ abobj_set_undo(
 }
 
 int
-abobj_cancel_undo(
-)
+abobj_cancel_undo(void)
 {
     clear_undo_rec(&ABUndo);
     return 0;
 }
 
 BOOL
-abobj_undo_active(
-)
+abobj_undo_active(void)
 {
     BOOL               i;
 
@@ -2956,8 +2947,7 @@ abobj_undo_active(
  * Is clipboard empty ?
  */
 BOOL
-abobj_clipboard_is_empty(
-)
+abobj_clipboard_is_empty(void)
 {
     return(!ABClipboard || (ABClipboard->count == 0));
 }
@@ -2990,8 +2980,7 @@ abobj_in_clipboard(
  * Clears the clipboard
  */
 void
-abobj_clipboard_clear(
-)
+abobj_clipboard_clear(void)
 {
     int                i;
 
index eaf5111f88fa591dbc64ae68a5e866d53b284c33..e34ad8f1d157ebaf39beeb89d5cb1af62dddcf78 100644 (file)
@@ -1200,8 +1200,7 @@ abobj_set_menu_item_state(
 }
 
 void
-abobj_strings_init(
-)
+abobj_strings_init(void)
 {
     char       *props_str;
     char       *undo_str;
index 3b46479824c0d9576a2764131c8febe125245b6d..868bb1a47150de8ecc2d39814f72d69ac8abae3b 100644 (file)
@@ -2112,22 +2112,19 @@ abobj_set_save_needed(
 }
 
 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);
 }
index 05015a03339d2c796be60a35bf967d2a254d8393..81287465cd9638fb74859853e092331dc6de49e3 100644 (file)
@@ -531,8 +531,7 @@ appfw_editor_apply(
 }
 
 static void
-turnoff_changebars(
-)
+turnoff_changebars(void)
 {
 
     prop_set_changebar(afs->vendor.changebar,          PROP_CB_OFF);
@@ -621,8 +620,7 @@ obj_destroyedOCB(
  * the Application Framework Editor
  */
 static BOOL
-appfw_editor_pending(
-)
+appfw_editor_pending(void)
 {
     if (afs && prop_changebars_pending(afs->prop_sheet))
        return TRUE;
index 1156e2199e5ea6e8547a51e4bada6d4418423c71..c31445b8296d1627ddb27ad462102afa8c3d6b64 100644 (file)
@@ -387,8 +387,7 @@ attch_ed_get_parent(
 }
 
 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");
@@ -1189,8 +1188,7 @@ attch_editor_apply(
 }
 
 static BOOL
-attch_edP_pending(
-)
+attch_edP_pending(void)
 {
     AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
 
@@ -1218,8 +1216,7 @@ attch_editor_activate(
 }
 
 static void
-turnoff_changebars(
-)
+turnoff_changebars(void)
 {
     AttchEditorSettingsRec *ats = &attch_editor_settings_rec;
 
@@ -3345,8 +3342,7 @@ attach_obj_changed(
 
 
 static void 
-attch_ed_view_child_attachments(
-)
+attch_ed_view_child_attachments(void)
 {
     AttchEditorSettingsRec     *ats = &attch_editor_settings_rec;
     ABObj                      cur_obj,
@@ -3377,8 +3373,7 @@ attch_ed_view_child_attachments(
 
 
 static void 
-attch_ed_view_parent_attachments(
-)
+attch_ed_view_parent_attachments(void)
 {
     AttchEditorSettingsRec     *ats = &attch_editor_settings_rec;
     ABObj                      cur_obj,
@@ -3410,8 +3405,7 @@ attch_ed_view_parent_attachments(
 }
 
 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
@@ -3663,8 +3657,7 @@ print_attach_type(
 }
 
 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;
index 4a30a2f8ed6c129ea92d8699deb146e39315c6b3..85a5ee89eb3c2b43f59c463ca22c8002491293a8 100644 (file)
@@ -1591,10 +1591,7 @@ brws_delete_objects
 /*
  * create_browser_window - creates a new browser main window
  */
-ABBrowser
-brws_create
-(
-)
+ABBrowser brws_create(void)
 {
     ABBrowser  b;
 
@@ -2160,7 +2157,7 @@ aob_proj_init_state
  * Initialize the object browser.
  */
 static ABBrowser
-create_browser_struct()
+create_browser_struct(void)
 {
     ABBrowser          b;
 
@@ -2290,10 +2287,7 @@ draw_viewer(Viewer *v)
 /*
  * Create (malloc) structure to hold browser UI objects
  */
-BrowserUiObj   
-aob_create_ui_obj
-(
-)
+BrowserUiObj aob_create_ui_obj(void)
 {
     BrowserUiObj       ui;
 
@@ -2317,9 +2311,7 @@ aob_create_ui_obj
  * Create (malloc) structure to hold browser properties
  */
 static BrowserProps   
-aob_create_props
-(
-)
+aob_create_props(void)
 {
     BrowserProps       props;
 
@@ -2952,8 +2944,7 @@ brws_show_browser(
 }
 
 void
-brws_init(
-)
+brws_init(void)
 {
     obj_add_rename_callback(brwsP_obj_renameOCB, "BRWS");
     obj_add_destroy_callback(brwsP_obj_destroyOCB, "BRWS");
index 537f9ae7bf3433d12d7a97ed60c2ecc70050d9be..f7cd2fe5634ff5bc3abe713cd0aae9aea7a6856e 100644 (file)
@@ -452,7 +452,7 @@ cgen_notify_new_directory(STRING dir)
 
 
 int
-cgen_abort()
+cgen_abort(void)
 {
     public_entry_point();
     return cgenP_abort();
@@ -501,8 +501,7 @@ cgenP_init_props_module_list(
  *      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");
@@ -584,7 +583,7 @@ print_to_term(STRING msg)
  * 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;
@@ -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
  */
 static int
-get_slave_device_name()
+get_slave_device_name(void)
 {
     String              deviceName = NULL;
 
@@ -889,7 +888,7 @@ get_slave_device_name()
 *************************************************************************/
 
 static int
-exec_generate_code()
+exec_generate_code(void)
 {
     ABObj      project= proj_get_project();
     STRING     project_name= NULL;
@@ -929,7 +928,7 @@ exec_generate_code()
 }
 
 static int
-exec_generate_main()
+exec_generate_main(void)
 {
     int                rc = 0;         /* return code */
     ABObj       project= proj_get_project();
@@ -967,7 +966,7 @@ exec_generate_main()
 }
  
 static int
-exec_generate_proj()
+exec_generate_proj(void)
 {
     int                rc = 0;         /* return code */
     ABObj       project= proj_get_project();
@@ -1004,7 +1003,7 @@ exec_generate_proj()
 }
  
 static int
-exec_generate_specific_files()
+exec_generate_specific_files(void)
 {
     int                returnValue = 0;
     int                rc = 0;         /* return code */
@@ -1055,7 +1054,7 @@ epilogue:
 }
  
 static int
-exec_generate_specific_files_and_main()
+exec_generate_specific_files_and_main(void)
 {
     int                returnValue = 0;
     int                rc = 0;         /* return code */
@@ -1172,7 +1171,7 @@ epilogue:
 
 
 static int
-exec_make()
+exec_make(void)
 {
     int                        rc = 0;         /* return code */
     STRING             cmd = NULL;
@@ -1200,7 +1199,7 @@ exec_make()
 
 
 static int
-exec_run()
+exec_run(void)
 {
     ABObj      project= NULL;
     char       executable_name[1024];
@@ -1373,7 +1372,7 @@ exec_next_command_for_build_and_run(CG_SUBCOMMAND cmd_code, int exit_code)
 
 
 static int
-exec_first_build_and_run_command()
+exec_first_build_and_run_command(void)
 {
     int        return_value= 0;
     if (!util_file_exists("Makefile"))
@@ -1470,7 +1469,7 @@ subprocess_exit(int exit_code)
 
 
 static int
-print_internal_err_message()
+print_internal_err_message(void)
 {
     print_to_term("****> UNSUCCESSFUL (Internal failure occurred).\n");
     return 0;
@@ -1492,7 +1491,7 @@ print_failure_message(CG_SUBCOMMAND cmd_code, int exit_code)
 
 
 static int
-print_success_message()
+print_success_message(void)
 {
     print_to_term("====> Completed successfully.\n");
     user_goal= CG_GOAL_UNDEF;
@@ -1545,7 +1544,7 @@ print_exit_message(int exitCode)
 
 
 static int
-print_abort_message()
+print_abort_message(void)
 {
     print_to_term("\n====> Command aborted.\n");
     user_goal= CG_GOAL_UNDEF;
@@ -1659,7 +1658,7 @@ epilogue:
  * 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);
@@ -1681,7 +1680,7 @@ goto_busy_state()
  * We are waiting for user input
  */
 static int
-goto_ready_state()
+goto_ready_state(void)
 {
     XtSetSensitive(abort_button, False);
     XtSetSensitive(abort_item, False);
@@ -2135,8 +2134,7 @@ obj_updateOCB(
 }
 
 int
-cgenP_sync_up_dir(
-)
+cgenP_sync_up_dir(void)
 {
     STRING     cmd = NULL;
     STRING     request_dir = NULL;
@@ -2289,7 +2287,7 @@ save_done_cb(int status)
 
 
 static int
-check_path()
+check_path(void)
 {
     int                return_value = 0;
     int                rc = 0;         /* return code */
@@ -2688,7 +2686,7 @@ epilogue:
 
 
 static int
-destroy_makefile()
+destroy_makefile(void)
 {
     destroy_links_to_file("makefile");
     destroy_links_to_file("Makefile");
index ecbc4ae80eba4eb84d524df59852c6634b7a67ef..08746a6065503b2f76fb5d7c92d6c05a04c492c7 100644 (file)
@@ -140,8 +140,7 @@ static Widget CacheAnchor;  /* Dummy widget used to control caching of color
                                   objxm_name_to_pixel (via XtConvertAndStore). */
 
 char *
-display_color_chooser(
-)
+display_color_chooser(void)
 {
     extern Widget      AB_toplevel;
     static int                 first_time = 1;
@@ -187,8 +186,7 @@ display_color_chooser(
 }
 
 void
-create_color_chooser(
-)
+create_color_chooser(void)
 {
     extern Widget      AB_toplevel;
     XmString           label;
index a9e49d0bca3b7cb641e50b4248ae4c5f59057602..22f1c5842347a6fde81190acf085489b65163388 100644 (file)
@@ -856,8 +856,7 @@ conn_set_source(
 }
 
 extern ABObj
-connP_get_source(
-)
+connP_get_source(void)
 {
     return cur_source;
 }
@@ -882,8 +881,7 @@ conn_set_target(
 }
 
 extern ABObj
-connP_get_target(
-)
+connP_get_target(void)
 {
     return cur_target;
 }
@@ -1521,8 +1519,7 @@ connP_make_help_vol_conn(
  * 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??"));
index 15618ea7e194c767c1f68f8b8e2da6e50ee69651..36b81f868c1c8b2614cf23ad498dce838bdd1ecc 100644 (file)
@@ -297,8 +297,7 @@ static void                 set_ctrls_for_target(
 
 
 extern void
-conn_init(
-)
+conn_init(void)
 {
     conn_strings_init();
 
@@ -1883,7 +1882,7 @@ connP_update_on_show_status(
 
 
 BOOL
-connP_conn_is_possible()
+connP_conn_is_possible(void)
 {
     BOOL        ConnIsPossible = FALSE;
     ABObj      source = NULL,
index d7da2bdf9b1490995bde93d00c1684cfbdf0a99f..2c19af762797886723dd45098ab70ca0ba768b63 100644 (file)
@@ -186,8 +186,7 @@ static DndEditorSettingsRec dndEdInfo;
  */
 
 void
-dnd_ed_show_dialog(
-)
+dnd_ed_show_dialog(void)
 {
     /* If there is no DragAndDrop Editor, create it */
     if (AB_dnd_dialog == (Widget)NULL)
@@ -540,8 +539,7 @@ dnd_ed_editor_apply(void)
 
 
 static void
-dnd_turnoff_changebars(
-)
+dnd_turnoff_changebars(void)
 {
     DndEditorSettings  dds = &dndEdInfo;
     prop_set_changebar(dds->drag_ops_checkbox.changebar,PROP_CB_OFF);
@@ -720,8 +718,7 @@ do_auto_apply(
        
 
 static void
-clear_editor_fields(
-)
+clear_editor_fields(void)
 {
     DndEditorSettingsRec       *dds = &dndEdInfo;
 
index 8661747958a40ab941ed4a16e0018382b8b8d768..224cafc0c2688a18425fac378aecde22f1d0e520 100644 (file)
@@ -595,8 +595,7 @@ do_auto_apply(
 }
 
 static void
-clear_editor_fields(
-)
+clear_editor_fields(void)
 {
     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.)
 */
 static void
-help_test_onitem_help()
+help_test_onitem_help(void)
 {
     ABObj      obj, root_obj, help_obj;
     Widget     target;
@@ -1183,7 +1182,7 @@ update_object_menu_from_obj(
 ** 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;
index adb7b81c814b461436322f7778f8e81f8d48c3a0..b002c8a6a9651a2a67fecc39794d82237a8e9e63 100644 (file)
@@ -249,8 +249,7 @@ static void     change_msg_moduleCB(
 ******************************************************************/
 
 void
-msgEd_show_dialog(
-)
+msgEd_show_dialog(void)
 {
     int                numMods = 0;
     ABObj      current_module = proj_get_cur_module();
@@ -340,8 +339,7 @@ msgEd_show_dialog(
  *      Add callbacks for object rename & destroy
  */
 static void
-msgEdP_init(
-)
+msgEdP_init(void)
 {
     /*
      * Initialize static strings used in message editor
@@ -521,8 +519,7 @@ msg_editor_init(
 }
 
 static int
-msg_editor_clear(
-)
+msg_editor_clear(void)
 {
     MsgEditorSettingsRec       *mes = &msg_editor_settings_rec;
     int                                sel_pos = 0;
@@ -717,14 +714,13 @@ msg_editor_load(
 
 
 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;
@@ -739,8 +735,7 @@ verify_name()
 }
 
 static void
-turnoff_changebars(
-)
+turnoff_changebars(void)
 {
     MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
 
@@ -1610,7 +1605,7 @@ objlist_test_func(
 
 
 static BOOL
-verify_default_btn()
+verify_default_btn(void)
 {
     MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
     AB_DEFAULT_BUTTON   default_btn = AB_DEFAULT_BTN_UNDEF;
@@ -1679,7 +1674,7 @@ verify_default_btn()
 }
 
 static BOOL
-verify_label()
+verify_label(void)
 {
     MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
     BOOL                validLabel = TRUE;
@@ -1731,7 +1726,7 @@ verify_label()
 }
 
 static BOOL
-verify_buttons()
+verify_buttons(void)
 {
     MsgEditorSettingsRec *mes = &msg_editor_settings_rec;
     BOOL                 hasButtons = TRUE;
@@ -2555,8 +2550,7 @@ update_mod_opmenu(
 }
 
 static void
-msgEdP_strings_init(
-)
+msgEdP_strings_init(void)
 {
     msgEd_strings[MSG_ED_RETRY_STR] = 
        XtNewString(catgets(Dtb_project_catd, 100, 202, "Retry"));
index ddd7f6336f8aa191796dd12dab0940aeaa55155c..bd5af6dd00fc66b40ae136a7aa768996b1bb18c5 100644 (file)
@@ -843,7 +843,7 @@ typeCB(
  * Object destroy callback
  */
 static int
-prop_choice_install_obj_destroy_CB()
+prop_choice_install_obj_destroy_CB(void)
 {
     static BOOL        callback_installed = False;
 
index 24fcb1089fcbf8438cb48865a81e4eff99cc33b1..f637de9aa52b6fd9fa70f3ad1da98d9696373a22 100644 (file)
@@ -736,7 +736,7 @@ turnoff_changebars(
 }
 
 static int
-combobox_install_obj_destroy_CB()
+combobox_install_obj_destroy_CB(void)
 {
     static BOOL        callback_installed = False;
 
index ce734215e5706e026a1fdbf9bc017f0bbe85c70b..8e6e61a980fcf50b11b719f636fbb8033fff3ae4 100644 (file)
@@ -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.
  */
 void
-abobj_group_selected_objects(
-)
+abobj_group_selected_objects(void)
 {
     ABObj        project = proj_get_project();
     ABObj        obj;
@@ -429,8 +428,7 @@ group_objects(
  * them after all groups have been ungrouped.
  */
 void
-abobj_ungroup_selected_objects(
-)
+abobj_ungroup_selected_objects(void)
 {
     ABObj        project = proj_get_project();
     ABSelectedRec sel;
index 99de8a04033d37e31c88c4b173e146921f638ad5..7e993ab147d39c2323767982f2c85fe82eea26c9 100644 (file)
@@ -870,7 +870,7 @@ turnoff_changebars(
  * Object destroy callback
  */
 static int
-prop_list_install_obj_destroy_CB()
+prop_list_install_obj_destroy_CB(void)
 {
     static BOOL        callback_installed = False;
 
index dd9cd2fd92c82e5ccf2f7a9eee430b97769ab1ca..2c62da00d39de06025e1f3d8d4a89778892cd25a 100644 (file)
@@ -931,7 +931,7 @@ menu_editCB(
  * Object destroy callback
  */
 static int
-prop_menu_install_obj_destroy_CB()
+prop_menu_install_obj_destroy_CB(void)
 {
     static BOOL        callback_installed = False;
 
index bb133d5f8012af7d6306332e14f884ecce440453..5049a29e384e41b3eb0244f556d3f54d240863c9 100644 (file)
@@ -597,7 +597,7 @@ turnoff_changebars(
  * Object destroy callback
  */
 static int
-prop_menubar_install_obj_destroy_CB()
+prop_menubar_install_obj_destroy_CB(void)
 {
     static BOOL        callback_installed = False;
 
index 8097de3e8fe298c760e98f0b75dd1c83d47a1c37..1adcda1cf8aa5adf50fcbd4e5e8366b2ea86090e 100644 (file)
@@ -814,7 +814,7 @@ pw_obj_reparentedOCB(
 }
 
 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");
@@ -826,8 +826,7 @@ 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;
@@ -1076,8 +1075,7 @@ west_compare(
  * 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;
index b2ad4259f1569c6abfae53896c4705746649502a..4c2ad8a64a6b07ec34fd782bafb6c647e7ef15d4 100644 (file)
@@ -916,7 +916,7 @@ setup_content_settings(
 }
 
 static int
-spinbox_install_obj_destroy_CB()
+spinbox_install_obj_destroy_CB(void)
 {
     static BOOL        callback_installed = False;
 
index af5e9b656455040098621a96ed91b05c0eb502de..cb319f5912b8ba82c325725748599c49bfe9642f 100644 (file)
@@ -248,7 +248,7 @@ static int  select_fn(
  * Dialog shell.
  */
 void
-proj_show_dialog()
+proj_show_dialog(void)
 {
     ABObj              proj = proj_get_project();
     BrowserUiObj       ui;
@@ -320,7 +320,7 @@ projP_store_viewer(
  * Create viewer data structure for project window
  */
 static Vwr
-create_proj_struct()
+create_proj_struct(void)
 {
     Vwr                        v;
     extern VMethods    projP_methods;
@@ -893,8 +893,7 @@ mult_module_selected(
 }
 
 int
-proj_init(
-)
+proj_init(void)
 {
     obj_add_rename_callback(projP_obj_renameOCB, "PROJ");
     obj_add_destroy_callback(projP_obj_destroyOCB, "PROJ");
@@ -948,8 +947,7 @@ proj_set_project(
 }
 
 ABObj
-proj_get_project(
-)
+proj_get_project(void)
 {
     return AB_project;
 }
@@ -972,8 +970,7 @@ proj_set_cur_module(
 }
 
 ABObj
-proj_get_cur_module(
-)
+proj_get_cur_module(void)
 {
     return AB_cur_module;
 }
index 9879e6dd831a184d84b1125b1e8936e69ea144be..ad74deedc8e4140a3b2999f8304fbf840dfc5aa7 100644 (file)
@@ -1837,7 +1837,7 @@ proj_show_proj_dir(void)
 }
 
 void
-proj_name_proj()
+proj_name_proj(void)
 {
     STRING              proj_name = NULL;
     UI_MODAL_ANSWER     answer = UI_ANSWER_NONE;
index bc938c54c11f2c539116f8057411065153532355..b44752c1786cd450c22a67e69b8e695e5894f426 100644 (file)
@@ -4475,8 +4475,7 @@ obj_options_buildCB(
 }
 
 void
-strings_init(
-)
+strings_init(void)
 {
     LabelForString =
        XtNewString(catgets(Dtb_project_catd, 100, 215, "Label:"));
index 2f4e0a9619c09270b4399e67d7fde119246925c2..40e6967497f0acd22a1ffbf99c8105ac8aff614c 100644 (file)
@@ -823,9 +823,7 @@ ui_set_busy_cursor(
  * Initialize object pixmaps
  */
 static void
-init_obj_pixmaps
-(
-)
+init_obj_pixmaps(void)
 {
     Display            *dpy;
     Pixmap             tmp;
index c6aee71b9c87765821492b7512adb3d4d079e0fe..65554335f5ff6764aadd6f2b5223a8e5c7000a29 100644 (file)
@@ -170,7 +170,7 @@ vwr_destroy_tree
 }
 
 VNode
-vwr_create_node()
+vwr_create_node(void)
 {
     VNode      bnode;
 
index 422ad905d5894b2cdd5f9ed8957915ce96b3aa93..77d514b9e748af1097b0c9c02624b4e257fcce16 100644 (file)
@@ -792,11 +792,11 @@ static LibFuncRec abmfP_lrc_get_toplevel_widget =
     "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"
     "}"
@@ -894,11 +894,11 @@ static LibFuncRec abmfP_lrc_get_command =
     "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"
     "}"
@@ -1174,7 +1174,7 @@ static LibFuncRec abmfP_lrc_do_onitem_help =
     "dtb_do_onitem_help",
     
     /* proto */
-    "void dtb_do_onitem_help();",
+    "void dtb_do_onitem_help(void);",
     
     /* def */
     "/*\n"
@@ -1183,7 +1183,7 @@ static LibFuncRec abmfP_lrc_do_onitem_help =
     "** 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"
@@ -1456,14 +1456,14 @@ static LibFuncRec abmfP_lrc_get_client_session_saveCB =
     "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"
@@ -1603,14 +1603,14 @@ static LibFuncRec abmfP_lrc_get_client_session_restoreCB =
     "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"
@@ -4854,14 +4854,14 @@ static LibFuncRec abmfP_lrc_get_tt_msg_quitCB =
     "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"
     "}"
@@ -4940,14 +4940,14 @@ static LibFuncRec abmfP_lrc_get_tt_msg_do_commandCB =
     "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"
     "}"
@@ -5026,14 +5026,14 @@ static LibFuncRec abmfP_lrc_get_tt_msg_get_statusCB =
     "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"
     "}"
@@ -5112,14 +5112,14 @@ static LibFuncRec abmfP_lrc_get_tt_msg_pause_resumeCB =
     "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"
     "}"
@@ -5245,7 +5245,7 @@ static LibFuncRec abmfP_lrc_tt_close =
     "dtb_tt_close",
     
     /* proto */
-    "void dtb_tt_close();",
+    "void dtb_tt_close(void);",
     
     /* def */
     "/*\n"
@@ -5253,7 +5253,7 @@ static LibFuncRec abmfP_lrc_tt_close =
     " * Close ToolTalk Connection\n"
     " */\n"
     "void\n"
-    "dtb_tt_close()\n"
+    "dtb_tt_close(void)\n"
     "{\n"
     "    ttdt_close(NULL, NULL, True);\n"
     "}"
index 98905a374c1e9a067b37a2ad5828ccdb6c234469..83c82d1f2f7e7416cc11eaf22cd0f5b8b129b6ee 100644 (file)
@@ -1681,7 +1681,7 @@ epilogue:
 
 
 CSegArray
-cseg_array_create()
+cseg_array_create(void)
 {
     CSegArray  newArray = (CSegArray)util_malloc(sizeof(CSegArrayRec));
     if (newArray != NULL)
@@ -1869,7 +1869,7 @@ main(int argc, char *argv[])
 /* DTB_USER_CODE_START */
 
 static int
-myfunc()
+myfunc(void)
 {
     return 0;
 }
index feca036279bee550ae548c15023bc023895decea..32dfdbd0c93f6ab7195be98df9c60736acb56e0d 100644 (file)
@@ -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 */
index 0b2712db59c46068ca7ea9d75ca1c0c654bc7083..d168954e0124f1bbe067a1fb8d9382bb5b192d0b 100644 (file)
@@ -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;
 }
index b7772daec7966d9c631709f1ff461710651b83b3..bea8c284f87b6620ce2b03e4a3731cb9062bc60d 100644 (file)
@@ -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;
index 9da3c65355581ef06ddc2d5e49609e0d81420978..12185d2e09ce974a06e0a3e871df608ce833e4d8 100644 (file)
@@ -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;
index fa71dd4eeebe719ff0badd7375391ba31f8fe78d..cc9a8f96ae9e7445b855cac28ca12a72bcd75765 100644 (file)
@@ -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;
index 5d3f3128cd4fbaef872ae81153e5bb1984da70b9..3b75ff4d245bf0a14761ae5c6acfe44389f69a9f 100644 (file)
@@ -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;
 
index 59f2f8291c10b9ea03877db8bfc5538b5d23fd3b..7540f2a19de6dfe788d3e63c78c68460cacb53e9 100644 (file)
@@ -263,7 +263,7 @@ obj_add_update_with_data_callback(ObjUpdateWithDataCallback cb,
 **************************************************************************/
 
 int
-objP_notify_push_mode()
+objP_notify_push_mode(void)
 {
     if (modeStackIndex >= (MAX_MODE_DEPTH-1))
     {
@@ -294,7 +294,7 @@ objP_notify_clear_mode(OBJ_EVENT_MODE deadMode)
  * the notify queue is flushed.
  */
 int
-objP_notify_pop_mode()
+objP_notify_pop_mode(void)
 {
     objP_notify_pop_mode_dont_flush();
 
@@ -311,7 +311,7 @@ objP_notify_pop_mode()
 
 
 OBJ_EVENT_MODE
-objP_notify_get_mode()
+objP_notify_get_mode(void)
 {
     return current_notify_mode();
 }
@@ -698,7 +698,7 @@ epilogue:
  *             generated while sending.  Guarantees empty queue on return.
  */
 static int
-flush_queue()
+flush_queue(void)
 {
     int                iReturn= 0;
     int                numEventsProcessed= 0;
@@ -1056,7 +1056,7 @@ event_print(OBJ_EVENT *event, FILE *outFile, BOOL addNewline, STRING name)
 
 
 static int
-event_queue_print()
+event_queue_print(void)
 {
     int                oldFirst= firstEventIndex;
     int                oldLast= lastEventIndex;
index 407eb3d85020bd7fc374d8c3a337525e9c7487a0..1b77f3db8ee7d830be0479dd1b149070f8d8f13e 100644 (file)
@@ -1602,7 +1602,7 @@ sig_fault_handler_uninstall(void)
 
 
 static void
-sig_fault_handler()
+sig_fault_handler(void)
 {
     if (mem_fault_occurred)
     {
index 601e9fc49bb0b7aa0465cbf061956bc8151b941c..230cd42857c538dd6bc54ae5c33fff575ef1cf0f 100644 (file)
@@ -1478,8 +1478,7 @@ formlist_append(
  * resize requests after they've been already managed.
  */
 static int
-formlist_force_resize(
-)
+formlist_force_resize(void)
 {
     Dimension  f_width, f_height;
     int        i;
index deeede9f3182d07aad74b9c0f8ae242995abeff1..934844d7c236aaee6687bc69fa49a352ac856363 100644 (file)
@@ -159,8 +159,7 @@ static XtArgVal     resize_default(WidgetClass wclass);
  * Initialize all Xm string tables
  */
 void
-objxm_strs_init(
-)
+objxm_strs_init(void)
 {
     load_enum_table();
     load_res_table();
@@ -606,8 +605,7 @@ xm_reg_res(
  * 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_));
@@ -1164,8 +1162,7 @@ find_res_entry_by_strname(ISTRING strname)
  * 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_); \
@@ -1473,8 +1470,7 @@ load_enum_table(
  * 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_); \
index 0ae627ef17c144def0f5a443240697690b214ead..e9ea84942bcfa1fcd9f52941a087dc4e0fe39de1 100644 (file)
@@ -211,7 +211,7 @@ util_get_program_name(void)
  * the ones that don't we'll do a normal fork.
  */
 pid_t
-util_vfork()
+util_vfork(void)
 {
     return fork();
 }
index fe9d2be7ad11d3e2fbc9e373a2463d37409b3557..c319d39b5dfd0650be0f26b00b6e7d325b4e7357 100644 (file)
@@ -121,7 +121,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;
@@ -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())
 
 static int
-obj_type_table_init()
+obj_type_table_init(void)
 {
 #define ott obj_type_table
     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())
 
 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;
@@ -316,7 +316,7 @@ static ISTRING      when_table[AB_WHEN_NUM_VALUES];
 static BOOL    when_table_inited= FALSE;
 
 static int
-when_table_init()
+when_table_init(void)
 {
 #define wt when_table
        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())
 
 static int
-align_tab_init()
+align_tab_init(void)
 {
 #define at align_tab
     align_tab_inited= TRUE;
@@ -429,7 +429,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;
@@ -469,7 +469,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;
@@ -504,7 +504,7 @@ static BOOL arg_class_tab_inited= FALSE;
                (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;
@@ -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())
 
 static int
-arg_type_tab_init()
+arg_type_tab_init(void)
 {
 #define att arg_type_tab
     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())
  
 static int
-container_tab_init()
+container_tab_init(void)
 {
 #define cont container_tab
     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())
  
 static int
-item_tab_init()
+item_tab_init(void)
 {
 #define it item_tab
     item_tab_inited= TRUE;