WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xrolodex-1.5nb6 clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c xrolo.c xrolo.c:284:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] void main(argc, argv) ^ xrolo.c:284:1: note: change return type to 'int' void main(argc, argv) ^~~~ int xrolo.c:323:36: warning: passing arguments to 'create_main_menu_bar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mainMenuBar = create_main_menu_bar(mainWindow); ^ xrolo.c:335:41: warning: passing arguments to 'create_entry_control_panel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entryPanel = create_entry_control_panel(mainWindow); ^ xrolo.c:341:32: warning: passing arguments to 'ctrlPanel_instance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(ctrlPanel_instance(entryPanel), args, i); ^ xrolo.c:344:16: warning: passing arguments to 'editor_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_create(mainWindow, xrolo_APP_CLASS, "entryEditWindow", ^ xrolo.c:353:64: warning: passing arguments to 'ctrlPanel_instance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetArg(args[i], XmNleftWidget, (XtArgVal) ctrlPanel_instance(entryPanel)); i++; ^ xrolo.c:358:29: warning: passing arguments to 'editor_instance' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(editor_instance(entryEditWindow), args, i); ^ xrolo.c:361:25: warning: passing arguments to 'editor_edit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(editor_edit(entryEditWindow), args, i); ^ xrolo.c:366:31: warning: passing arguments to 'listShell_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entryIndex = listShell_create(topLevel, xrolo_APP_CLASS, "listShell", ^ xrolo.c:372:24: warning: passing arguments to 'listShell_add_callback' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_add_callback(entryIndex, IndexSelection, 0); ^ xrolo.c:373:20: warning: passing arguments to 'xrolo_index_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_index_create(entryIndex); ^ xrolo.c:375:16: warning: passing arguments to 'create_dialogs' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_dialogs(app, topLevel, &resource_data); ^ xrolo.c:376:20: warning: passing arguments to 'help_create_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] help_create_dialog(topLevel, xrolo_APP_CLASS, ^ xrolo.c:385:24: warning: passing arguments to 'initialize_shell_icons' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initialize_shell_icons(topLevel, icon_name); ^ xrolo.c:389:16: warning: passing arguments to 'editor_realize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_realize(entryEditWindow); ^ xrolo.c:390:19: warning: passing arguments to 'listShell_realize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_realize(entryIndex); ^ xrolo.c:391:16: warning: passing arguments to 'dialog_realize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_realize(openUnsavedDialog); ^ xrolo.c:392:16: warning: passing arguments to 'dialog_realize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_realize(exitUnsavedDialog); ^ xrolo.c:393:16: warning: passing arguments to 'dialog_realize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_realize(overwriteDialog); ^ xrolo.c:394:16: warning: passing arguments to 'dialog_realize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_realize(delimiterDialog); ^ xrolo.c:395:16: warning: passing arguments to 'dialog_realize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_realize(sortDialog); ^ xrolo.c:396:16: warning: passing arguments to 'dialog_realize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_realize(indexDialog); ^ xrolo.c:397:16: warning: passing arguments to 'dialog_realize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_realize(messageDialog); ^ xrolo.c:398:16: warning: passing arguments to 'dialog_realize' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_realize(aboutDialog); ^ xrolo.c:399:19: warning: passing arguments to 'dialog_set_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_set_prompt(aboutDialog, VERSION_INFO); ^ xrolo.c:400:22: warning: passing arguments to 'handle_close_buttons' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] handle_close_buttons(topLevel); ^ xrolo.c:402:20: warning: passing arguments to 'open_rolodex_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_rolodex_file(argv[1]); ^ xrolo.c:284:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void main(argc, argv) ^ xrolo.c:509:14: warning: passing arguments to 'create_menus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_menus(mainMenuBar, menus, char_set); ^ xrolo.c:510:27: warning: passing arguments to 'help_create_pulldown_menu' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] help_create_pulldown_menu(mainMenuBar, help_menu, help_data, char_set); ^ xrolo.c:417:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static Widget create_main_menu_bar(parent) ^ xrolo.c:61:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static Widget create_main_menu_bar(); ^ xrolo.c:538:38: warning: passing arguments to 'ctrlPanel_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entryControlPanel = ctrlPanel_create(parent, "entryControlPanel", ^ xrolo.c:520:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static CtrlPanel create_entry_control_panel(parent) ^ xrolo.c:62:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static CtrlPanel create_entry_control_panel(); ^ xrolo.c:635:35: warning: passing arguments to 'dialog_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] exitUnsavedDialog = dialog_create(app, parent, "exitUnsavedDialog", ^ xrolo.c:639:35: warning: passing arguments to 'dialog_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] openUnsavedDialog = dialog_create(app, parent, "openUnsavedDialog", ^ xrolo.c:643:33: warning: passing arguments to 'dialog_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] overwriteDialog = dialog_create(app, parent, "overwriteDialog", ^ xrolo.c:647:31: warning: passing arguments to 'dialog_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] messageDialog = dialog_create(app, parent, "messageDialog", ^ xrolo.c:651:29: warning: passing arguments to 'dialog_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] aboutDialog = dialog_create(app, parent, "aboutDialog", ^ xrolo.c:655:33: warning: passing arguments to 'dialog_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delimiterDialog = dialog_create(app, parent, "delimiterDialog", ^ xrolo.c:660:28: warning: passing arguments to 'dialog_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sortDialog = dialog_create(app, parent, "sortDialog", ^ xrolo.c:665:29: warning: passing arguments to 'dialog_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] indexDialog = dialog_create(app, parent, "indexDialog", ^ xrolo.c:670:33: warning: passing arguments to 'dialog_dialogText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtAddCallback(dialog_dialogText(delimiterDialog), XmNactivateCallback, ^ xrolo.c:672:33: warning: passing arguments to 'dialog_dialogText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtAddCallback(dialog_dialogText(sortDialog), XmNactivateCallback, ^ xrolo.c:674:33: warning: passing arguments to 'dialog_dialogText' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtAddCallback(dialog_dialogText(indexDialog), XmNactivateCallback, ^ xrolo.c:726:14: warning: passing arguments to 'create_menus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_menus(findToggleBox, toggle_menu, char_set); ^ xrolo.c:797:23: warning: passing arguments to 'remove_sash_traversal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_sash_traversal(findPane); ^ xrolo.c:550:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void create_dialogs(app, parent, resource_data) ^ xrolo.c:63:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void create_dialogs(); ^ xrolo.c:815:31: warning: passing arguments to 'check_for_unsaved_changes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (check_for_unsaved_changes(exitUnsavedDialog)) ^ xrolo.c:817:18: warning: passing arguments to 'cleanup_and_exit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cleanup_and_exit((Widget) client_data); ^ xrolo.c:810:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Close(w, client_data, call_data) ^ xrolo.c:113:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Close(), UnmanageWindow(), UnmapWindow(), DialogCancel(); ^ xrolo.c:825:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UnmapWindow(w, client_data, call_data) ^ xrolo.c:113:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Close(), UnmanageWindow(), UnmapWindow(), DialogCancel(); ^ xrolo.c:838:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UnmanageWindow(w, client_data, call_data) ^ xrolo.c:113:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Close(), UnmanageWindow(), UnmapWindow(), DialogCancel(); ^ xrolo.c:861:15: warning: passing arguments to 'dialog_cancel' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_cancel((Dialog) client_data, 0); ^ xrolo.c:856:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DialogCancel(w, client_data, call_data) ^ xrolo.c:113:55: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Close(), UnmanageWindow(), UnmapWindow(), DialogCancel(); ^ xrolo.c:874:17: warning: passing arguments to 'dialog_activate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_activate(aboutDialog); ^ xrolo.c:869:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void About(w, client_data, call_data) ^ xrolo.c:99:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void About(), Open(), Save(), SaveAs(), Exit(); ^ xrolo.c:888:31: warning: passing arguments to 'check_for_unsaved_changes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (check_for_unsaved_changes(exitUnsavedDialog)) ^ xrolo.c:890:18: warning: passing arguments to 'cleanup_and_exit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cleanup_and_exit(w); ^ xrolo.c:883:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Exit(w, client_data, call_data) ^ xrolo.c:99:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void About(), Open(), Save(), SaveAs(), Exit(); ^ xrolo.c:912:31: warning: passing arguments to 'check_for_unsaved_changes' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (check_for_unsaved_changes(openUnsavedDialog)) ^ xrolo.c:901:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Open(w, client_data, call_data) ^ xrolo.c:99:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void About(), Open(), Save(), SaveAs(), Exit(); ^ xrolo.c:933:15: warning: passing arguments to 'xrolo_db_save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_db_save(force_save ? xrolo_db_FORCE_SAVE : xrolo_db_MOD_SAVE); ^ xrolo.c:924:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Save(w, client_data, call_data) ^ xrolo.c:99:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void About(), Open(), Save(), SaveAs(), Exit(); ^ xrolo.c:943:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SaveAs(w, client_data, call_data) ^ xrolo.c:99:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void About(), Open(), Save(), SaveAs(), Exit(); ^ xrolo.c:967:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void EntryModified(w, client_data, call_data) ^ xrolo.c:103:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void EntryModified(), IndexSelection(); ^ xrolo.c:984:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SensitiveSearch(w, client_data, call_data) ^ xrolo.c:104:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SensitiveSearch(), WraparoundSearch(); ^ xrolo.c:1002:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void WraparoundSearch(w, client_data, call_data) ^ xrolo.c:104:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SensitiveSearch(), WraparoundSearch(); ^ xrolo.c:1035:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if ((int) client_data == xrolo_OPEN) ^~~~~~~~~~~~~~~~~ xrolo.c:1036:20: warning: passing arguments to 'open_rolodex_file' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] open_rolodex_file(filename); ^ xrolo.c:1037:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] else if ((int) client_data == xrolo_SAVE_AS) { ^~~~~~~~~~~~~~~~~ xrolo.c:1019:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void FileSelectionOK(w, client_data, call_data) ^ xrolo.c:105:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FileSelectionOK(), FileSelectionCancel(); ^ xrolo.c:1061:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void FileSelectionCancel(w, client_data, call_data) ^ xrolo.c:105:32: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FileSelectionOK(), FileSelectionCancel(); ^ xrolo.c:1084:15: warning: passing arguments to 'xrolo_db_save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_db_save(xrolo_db_MOD_SAVE); ^ xrolo.c:1085:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if ((int) client_data == xrolo_EXIT_WARNING) { ^~~~~~~~~~~~~~~~~ xrolo.c:1086:20: warning: passing arguments to 'dialog_deactivate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_deactivate(exitUnsavedDialog); ^ xrolo.c:1087:19: warning: passing arguments to 'cleanup_and_exit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cleanup_and_exit(w); ^ xrolo.c:1089:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] else if ((int) client_data == xrolo_OPEN_WARNING) { ^~~~~~~~~~~~~~~~~ xrolo.c:1096:20: warning: passing arguments to 'dialog_deactivate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_deactivate(openUnsavedDialog); ^ xrolo.c:1075:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SaveUnsavedChanges(w, client_data, call_data) ^ xrolo.c:110:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SaveUnsavedChanges(), DiscardUnsavedChanges(), ^ xrolo.c:1114:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if ((int) client_data == xrolo_EXIT_WARNING) { ^~~~~~~~~~~~~~~~~ xrolo.c:1115:20: warning: passing arguments to 'dialog_deactivate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_deactivate(exitUnsavedDialog); ^ xrolo.c:1116:19: warning: passing arguments to 'cleanup_and_exit' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cleanup_and_exit(w); ^ xrolo.c:1118:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] else if ((int) client_data == xrolo_OPEN_WARNING) { ^~~~~~~~~~~~~~~~~ xrolo.c:1125:20: warning: passing arguments to 'dialog_deactivate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_deactivate(openUnsavedDialog); ^ xrolo.c:1109:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DiscardUnsavedChanges(w, client_data, call_data) ^ xrolo.c:110:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SaveUnsavedChanges(), DiscardUnsavedChanges(), ^ xrolo.c:1143:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] if ((int) client_data == xrolo_EXIT_WARNING) ^~~~~~~~~~~~~~~~~ xrolo.c:1144:20: warning: passing arguments to 'dialog_deactivate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_deactivate(exitUnsavedDialog); ^ xrolo.c:1145:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] else if ((int) client_data == xrolo_OPEN_WARNING) ^~~~~~~~~~~~~~~~~ xrolo.c:1146:20: warning: passing arguments to 'dialog_deactivate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_deactivate(openUnsavedDialog); ^ xrolo.c:1138:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CancelUnsavedChanges(w, client_data, call_data) ^ xrolo.c:111:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] CancelUnsavedChanges(); ^ xrolo.c:1156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void OverwriteOK(w, client_data, call_data) ^ xrolo.c:106:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void OverwriteOK(), OverwriteCancel(); ^ xrolo.c:1171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void OverwriteCancel(w, client_data, call_data) ^ xrolo.c:106:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void OverwriteOK(), OverwriteCancel(); ^ xrolo.c:1185:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void FindForward(w, client_data, call_data) ^ xrolo.c:112:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindForward(), FindReverse(), FindDismiss(); ^ xrolo.c:1201:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void FindReverse(w, client_data, call_data) ^ xrolo.c:112:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindForward(), FindReverse(), FindDismiss(); ^ xrolo.c:1216:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void FindDismiss(w, client_data, call_data) ^ xrolo.c:112:43: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindForward(), FindReverse(), FindDismiss(); ^ xrolo.c:1240:23: warning: passing arguments to 'update_current_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_current_entry(temp_entry); ^ xrolo.c:1229:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void First(w, client_data, call_data) ^ xrolo.c:100:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Next(), Previous(), First(), Last(); ^ xrolo.c:1259:23: warning: passing arguments to 'update_current_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_current_entry(temp_entry); ^ xrolo.c:1248:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Last(w, client_data, call_data) ^ xrolo.c:100:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Next(), Previous(), First(), Last(); ^ xrolo.c:1267:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Next(w, client_data, call_data) ^ xrolo.c:100:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Next(), Previous(), First(), Last(); ^ xrolo.c:1282:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Previous(w, client_data, call_data) ^ xrolo.c:100:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Next(), Previous(), First(), Last(); ^ xrolo.c:1306:24: warning: passing arguments to 'xrolo_index_build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!xrolo_index_build(char_set, index_row)) ^ xrolo.c:1308:20: warning: passing arguments to 'listShell_activate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_activate(entryIndex); ^ xrolo.c:1298:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Index(w, client_data, call_data) ^ xrolo.c:101:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Index(), Find(), Sort(), Delimiter(), SetIndexRow(), SetSortRow(); ^ xrolo.c:1317:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Find(w, client_data, call_data) ^ xrolo.c:101:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Index(), Find(), Sort(), Delimiter(), SetIndexRow(), SetSortRow(); ^ xrolo.c:1339:11: warning: passing arguments to 'new_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_entry(xrolo_INSERT); ^ xrolo.c:1332:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Insert(w, client_data, call_data) ^ xrolo.c:102:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Insert(), InsertAfter(), Copy(), Delete(), Undelete(); ^ xrolo.c:1354:11: warning: passing arguments to 'new_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] new_entry(xrolo_ADD); ^ xrolo.c:1347:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void InsertAfter(w, client_data, call_data) ^ xrolo.c:102:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Insert(), InsertAfter(), Copy(), Delete(), Undelete(); ^ xrolo.c:1370:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Nothing to copy."); ^ xrolo.c:1374:14: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Inserting a duplicate entry."); ^ xrolo.c:1376:6: warning: call to undeclared function 'listShell_is_active'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (listShell_is_active(entryIndex) && ^ xrolo.c:1377:20: warning: passing arguments to 'xrolo_index_build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !xrolo_index_build(char_set, index_row)) ^ xrolo.c:1378:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Can't (re)build index."); ^ xrolo.c:1362:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Copy(w, client_data, call_data) ^ xrolo.c:102:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Insert(), InsertAfter(), Copy(), Delete(), Undelete(); ^ xrolo.c:1395:23: warning: passing arguments to 'listShell_deactivate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_deactivate(entryIndex); ^ xrolo.c:1398:19: warning: passing arguments to 'editor_set_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, ""); ^ xrolo.c:1401:54: warning: passing arguments to 'xrolo_db_get_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, xrolo_db_get_text(current_entry)); ^ xrolo.c:1401:19: warning: passing arguments to 'editor_set_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, xrolo_db_get_text(current_entry)); ^ xrolo.c:1410:19: warning: passing arguments to 'editor_set_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, ""); ^ xrolo.c:1412:54: warning: passing arguments to 'xrolo_db_get_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, xrolo_db_get_text(current_entry)); ^ xrolo.c:1412:19: warning: passing arguments to 'editor_set_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, xrolo_db_get_text(current_entry)); ^ xrolo.c:1415:6: warning: call to undeclared function 'listShell_is_active'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (listShell_is_active(entryIndex) && ^ xrolo.c:1416:20: warning: passing arguments to 'xrolo_index_build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !xrolo_index_build(char_set, index_row)) ^ xrolo.c:1417:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Can't (re)build index."); ^ xrolo.c:1386:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Delete(w, client_data, call_data) ^ xrolo.c:102:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Insert(), InsertAfter(), Copy(), Delete(), Undelete(); ^ xrolo.c:1434:23: warning: passing arguments to 'update_current_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_current_entry(temp_entry); ^ xrolo.c:1425:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Undelete(w, client_data, call_data) ^ xrolo.c:102:56: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Insert(), InsertAfter(), Copy(), Delete(), Undelete(); ^ xrolo.c:1454:38: warning: passing arguments to 'xrolo_db_nth_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((temp_entry = xrolo_db_nth_entry(call_data->item_position - 1)) != NULL) ^ xrolo.c:1455:23: warning: passing arguments to 'update_current_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_current_entry(temp_entry); ^ xrolo.c:1458:24: warning: passing arguments to 'update_current_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_current_entry(temp_entry); ^ xrolo.c:1444:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void IndexSelection(w, client_data, call_data) ^ xrolo.c:103:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void EntryModified(), IndexSelection(); ^ xrolo.c:1475:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Nothing to sort."); ^ xrolo.c:1479:16: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] temp_entry = ((int) client_data == xrolo_ASCEND) ? ^~~~~~~~~~~~~~~~~ xrolo.c:1480:26: warning: passing arguments to 'xrolo_db_sort_ascending' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_db_sort_ascending(sort_row) : xrolo_db_sort_descending(sort_row); ^ xrolo.c:1480:63: warning: passing arguments to 'xrolo_db_sort_descending' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_db_sort_ascending(sort_row) : xrolo_db_sort_descending(sort_row); ^ xrolo.c:1482:23: warning: passing arguments to 'update_current_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_current_entry(temp_entry); ^ xrolo.c:1483:6: warning: call to undeclared function 'listShell_is_active'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (listShell_is_active(entryIndex) && ^ xrolo.c:1484:20: warning: passing arguments to 'xrolo_index_build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !xrolo_index_build(char_set, index_row)) ^ xrolo.c:1485:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Can't (re)build index."); ^ xrolo.c:1467:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Sort(w, client_data, call_data) ^ xrolo.c:101:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Index(), Find(), Sort(), Delimiter(), SetIndexRow(), SetSortRow(); ^ xrolo.c:1498:17: warning: passing arguments to 'dialog_activate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_activate(delimiterDialog); ^ xrolo.c:1493:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void Delimiter(w, client_data, call_data) ^ xrolo.c:101:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Index(), Find(), Sort(), Delimiter(), SetIndexRow(), SetSortRow(); ^ xrolo.c:1519:34: warning: passing arguments to 'dialog_get_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text_delimiter = dialog_get_text(delimiterDialog); ^ xrolo.c:1526:16: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Can't allocate memory for delimiter!"); ^ xrolo.c:1530:32: warning: passing arguments to 'convert_delimiter_string' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!convert_delimiter_string(new_delimiter, text_delimiter)) { ^ xrolo.c:1531:16: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Error(s) in delimiter."); ^ xrolo.c:1534:25: warning: passing arguments to 'xrolo_db_set_delimiter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_db_set_delimiter(delimiter); ^ xrolo.c:1511:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DelimiterOK(w, client_data, call_data) ^ xrolo.c:107:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DelimiterOK(), DelimiterCancel(), DelimiterReset(); ^ xrolo.c:1546:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DelimiterCancel(w, client_data, call_data) ^ xrolo.c:107:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DelimiterOK(), DelimiterCancel(), DelimiterReset(); ^ xrolo.c:1566:24: warning: passing arguments to 'xrolo_db_set_delimiter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_db_set_delimiter(delimiter); ^ xrolo.c:1560:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DelimiterReset(w, client_data, call_data) ^ xrolo.c:107:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DelimiterOK(), DelimiterCancel(), DelimiterReset(); ^ xrolo.c:1579:17: warning: passing arguments to 'dialog_activate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_activate(sortDialog); ^ xrolo.c:1574:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetSortRow(w, client_data, call_data) ^ xrolo.c:101:66: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Index(), Find(), Sort(), Delimiter(), SetIndexRow(), SetSortRow(); ^ xrolo.c:1596:33: warning: passing arguments to 'dialog_get_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text_sort_row = dialog_get_text(sortDialog); ^ xrolo.c:1602:16: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Sort line/row must be one or greater."); ^ xrolo.c:1588:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetSortRowOK(w, client_data, call_data) ^ xrolo.c:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetSortRowOK(), SetSortRowCancel(), SetSortRowReset(); ^ xrolo.c:1614:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetSortRowCancel(w, client_data, call_data) ^ xrolo.c:109:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetSortRowOK(), SetSortRowCancel(), SetSortRowReset(); ^ xrolo.c:1628:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetSortRowReset(w, client_data, call_data) ^ xrolo.c:109:49: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetSortRowOK(), SetSortRowCancel(), SetSortRowReset(); ^ xrolo.c:1646:17: warning: passing arguments to 'dialog_activate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_activate(indexDialog); ^ xrolo.c:1641:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetIndexRow(w, client_data, call_data) ^ xrolo.c:101:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void Index(), Find(), Sort(), Delimiter(), SetIndexRow(), SetSortRow(); ^ xrolo.c:1663:34: warning: passing arguments to 'dialog_get_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text_index_row = dialog_get_text(indexDialog); ^ xrolo.c:1669:16: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Index line/row must be one or greater."); ^ xrolo.c:1672:6: warning: call to undeclared function 'listShell_is_active'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (listShell_is_active(entryIndex) && ^ xrolo.c:1673:20: warning: passing arguments to 'xrolo_index_build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !xrolo_index_build(char_set, index_row)) ^ xrolo.c:1674:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Can't (re)build index."); ^ xrolo.c:1655:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetIndexRowOK(w, client_data, call_data) ^ xrolo.c:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetIndexRowOK(), SetIndexRowCancel(), SetIndexRowReset(); ^ xrolo.c:1684:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetIndexRowCancel(w, client_data, call_data) ^ xrolo.c:108:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetIndexRowOK(), SetIndexRowCancel(), SetIndexRowReset(); ^ xrolo.c:1704:6: warning: call to undeclared function 'listShell_is_active'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (listShell_is_active(entryIndex) && ^ xrolo.c:1705:20: warning: passing arguments to 'xrolo_index_build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !xrolo_index_build(char_set, index_row)) ^ xrolo.c:1706:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Can't (re)build index."); ^ xrolo.c:1698:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void SetIndexRowReset(w, client_data, call_data) ^ xrolo.c:108:51: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void SetIndexRowOK(), SetIndexRowCancel(), SetIndexRowReset(); ^ xrolo.c:1725:17: warning: passing arguments to 'dialog_activate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_activate(dialog_box); ^ xrolo.c:1720:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int check_for_unsaved_changes(dialog_box) ^ xrolo.c:64:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int check_for_unsaved_changes(); ^ xrolo.c:1741:23: warning: passing arguments to 'update_current_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_current_entry(temp_entry); ^ xrolo.c:1756:23: warning: passing arguments to 'update_current_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_current_entry(temp_entry); ^ xrolo.c:1769:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Already editing new entry."); ^ xrolo.c:1774:17: warning: passing arguments to 'editor_set_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, ""); ^ xrolo.c:1765:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void new_entry(operation) ^ xrolo.c:67:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void new_entry(); ^ xrolo.c:1806:23: warning: passing arguments to 'listShell_deactivate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_deactivate(entryIndex); ^ xrolo.c:1816:6: warning: call to undeclared function 'listShell_is_active'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (listShell_is_active(entryIndex) && ^ xrolo.c:1817:20: warning: passing arguments to 'xrolo_index_build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !xrolo_index_build(char_set, index_row)) ^ xrolo.c:1818:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Can't (re)build index."); ^ xrolo.c:1832:43: warning: passing arguments to 'editor_get_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_db_insert_new_entry(editor_get_text(entryEditWindow))) == NULL) { ^ xrolo.c:1832:27: warning: passing arguments to 'xrolo_db_insert_new_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_db_insert_new_entry(editor_get_text(entryEditWindow))) == NULL) { ^ xrolo.c:1834:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Can't insert new entry!"); ^ xrolo.c:1869:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Search forward: currently at last entry."); ^ xrolo.c:1874:29: warning: passing arguments to 'xrolo_db_find_entry_forward' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_db_find_entry_forward(search_text, case_sensitive_search, ^ xrolo.c:1876:23: warning: passing arguments to 'update_current_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_current_entry(temp_entry); ^ xrolo.c:1878:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Search forward: no match."); ^ xrolo.c:1894:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Search backward: currently at first entry."); ^ xrolo.c:1899:29: warning: passing arguments to 'xrolo_db_find_entry_reverse' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo_db_find_entry_reverse(search_text, case_sensitive_search, ^ xrolo.c:1901:23: warning: passing arguments to 'update_current_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_current_entry(temp_entry); ^ xrolo.c:1903:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Search backward: no match."); ^ xrolo.c:1925:33: warning: passing arguments to 'xrolo_db_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] current_entry = xrolo_db_create(filename, delimiter); ^ xrolo.c:1927:53: warning: passing arguments to 'xrolo_db_get_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, xrolo_db_get_text(current_entry)); ^ xrolo.c:1927:18: warning: passing arguments to 'editor_set_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, xrolo_db_get_text(current_entry)); ^ xrolo.c:1929:18: warning: passing arguments to 'editor_set_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, ""); /* file doesn't yet exist */ ^ xrolo.c:1931:6: warning: call to undeclared function 'listShell_is_active'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if (listShell_is_active(entryIndex) && ^ xrolo.c:1932:20: warning: passing arguments to 'xrolo_index_build' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] !xrolo_index_build(char_set, index_row)) ^ xrolo.c:1933:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Can't (re)build index."); ^ xrolo.c:1913:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void open_rolodex_file(filename) ^ xrolo.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void open_rolodex_file(), save_as_rolodex_file(); ^ xrolo.c:1943:17: warning: passing arguments to 'file_exists' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (file_exists(save_as_filename)) ^ xrolo.c:1944:18: warning: passing arguments to 'dialog_activate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_activate(overwriteDialog); ^ xrolo.c:1960:23: warning: passing arguments to 'xrolo_db_save_as' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!xrolo_db_save_as(save_as_filename)) { ^ xrolo.c:1961:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message("Can't save file."); ^ xrolo.c:1998:52: warning: passing arguments to 'xrolo_db_get_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, xrolo_db_get_text(current_entry)); ^ xrolo.c:1998:17: warning: passing arguments to 'editor_set_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_set_text(entryEditWindow, xrolo_db_get_text(current_entry)); ^ xrolo.c:1994:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void update_current_entry(new_entry) ^ xrolo.c:76:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void update_current_entry(); ^ xrolo.c:2011:15: warning: passing arguments to 'user_message' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] user_message( ^ xrolo.c:2032:23: warning: passing arguments to 'listShell_deactivate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_deactivate(entryIndex); ^ xrolo.c:2048:19: warning: passing arguments to 'ctrlPanel_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ctrlPanel_destroy(entryPanel); ^ xrolo.c:2049:16: warning: passing arguments to 'editor_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] editor_destroy(entryEditWindow); ^ xrolo.c:2050:19: warning: passing arguments to 'listShell_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_destroy(entryIndex); ^ xrolo.c:2041:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void cleanup_and_exit(w) ^ xrolo.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void cleanup_and_exit(); ^ xrolo.c:2065:19: warning: passing arguments to 'dialog_set_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_set_prompt(messageDialog, msg); ^ xrolo.c:2066:17: warning: passing arguments to 'dialog_activate' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_activate(messageDialog); ^ xrolo.c:2062:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void user_message(msg) ^ xrolo.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void user_message(); ^ xrolo.c:2095:33: warning: passing arguments to 'listShell_listShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(listShell_listShell(entryIndex), args, num_args); ^ xrolo.c:2096:33: warning: passing arguments to 'editor_replaceShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(editor_replaceShell(entryEditWindow), args, num_args); ^ xrolo.c:2097:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(aboutDialog), args, num_args); ^ xrolo.c:2098:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(messageDialog), args, num_args); ^ xrolo.c:2099:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(overwriteDialog), args, num_args); ^ xrolo.c:2100:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(delimiterDialog), args, num_args); ^ xrolo.c:2101:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(sortDialog), args, num_args); ^ xrolo.c:2102:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(indexDialog), args, num_args); ^ xrolo.c:2103:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(openUnsavedDialog), args, num_args); ^ xrolo.c:2104:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(exitUnsavedDialog), args, num_args); ^ xrolo.c:2074:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void initialize_shell_icons(w, icon_name) ^ xrolo.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void initialize_shell_icons(); ^ xrolo.c:2127:33: warning: passing arguments to 'listShell_listShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(listShell_listShell(entryIndex), &arg, 1); ^ xrolo.c:2128:33: warning: passing arguments to 'editor_replaceShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(editor_replaceShell(entryEditWindow), &arg, 1); ^ xrolo.c:2129:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(aboutDialog), &arg, 1); ^ xrolo.c:2130:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(messageDialog), &arg, 1); ^ xrolo.c:2131:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(overwriteDialog), &arg, 1); ^ xrolo.c:2132:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(delimiterDialog), &arg, 1); ^ xrolo.c:2133:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(sortDialog), &arg, 1); ^ xrolo.c:2134:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(indexDialog), &arg, 1); ^ xrolo.c:2135:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(openUnsavedDialog), &arg, 1); ^ xrolo.c:2136:32: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtSetValues(dialog_dialogShell(exitUnsavedDialog), &arg, 1); ^ xrolo.c:2144:45: warning: passing arguments to 'listShell_listShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmAddWMProtocolCallback(listShell_listShell(entryIndex), ^ xrolo.c:2144:45: warning: passing arguments to 'listShell_listShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo.c:2146:32: warning: passing arguments to 'listShell_listShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (caddr_t) listShell_listShell(entryIndex)); ^ xrolo.c:2147:45: warning: passing arguments to 'editor_replaceShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmAddWMProtocolCallback(editor_replaceShell(entryEditWindow), ^ xrolo.c:2147:45: warning: passing arguments to 'editor_replaceShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo.c:2149:32: warning: passing arguments to 'editor_replaceShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (caddr_t) editor_replaceShell(entryEditWindow)); ^ xrolo.c:2150:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmAddWMProtocolCallback(dialog_dialogShell(aboutDialog), ^ xrolo.c:2150:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo.c:2152:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmAddWMProtocolCallback(dialog_dialogShell(messageDialog), ^ xrolo.c:2152:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo.c:2154:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmAddWMProtocolCallback(dialog_dialogShell(overwriteDialog), ^ xrolo.c:2154:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo.c:2156:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmAddWMProtocolCallback(dialog_dialogShell(delimiterDialog), ^ xrolo.c:2156:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo.c:2158:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmAddWMProtocolCallback(dialog_dialogShell(sortDialog), ^ xrolo.c:2158:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo.c:2160:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmAddWMProtocolCallback(dialog_dialogShell(indexDialog), ^ xrolo.c:2160:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo.c:2162:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmAddWMProtocolCallback(dialog_dialogShell(openUnsavedDialog), ^ xrolo.c:2162:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo.c:2164:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmAddWMProtocolCallback(dialog_dialogShell(exitUnsavedDialog), ^ xrolo.c:2164:44: warning: passing arguments to 'dialog_dialogShell' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo.c:2115:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void handle_close_buttons(w) ^ xrolo.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void handle_close_buttons(); ^ xrolo.c:2205:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int convert_delimiter_string(out, in) ^ xrolo.c:83:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int convert_delimiter_string(); ^ 322 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c xrolo.db.c xrolo.db.c:70:25: warning: passing arguments to 'streamdb_create' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] xrolo = streamdb_create(filename, delimiter); ^ xrolo.db.c:71:23: warning: passing arguments to 'streamdb_load' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entry = streamdb_load(xrolo); /* NULL for a new file */ ^ xrolo.db.c:72:29: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return streamdb_set_current(xrolo, entry); ^ xrolo.db.c:63:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB xrolo_db_create(filename, delimiter) ^ In file included from xrolo.db.c:43: ./xrolo.db.h:38:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB xrolo_db_create(); ^ xrolo.db.c:84:26: warning: passing arguments to 'streamdb_free_solitaire' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_free_solitaire(xrolo, deleted_entry); ^ xrolo.db.c:86:19: warning: passing arguments to 'streamdb_destroy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_destroy(xrolo); ^ xrolo.db.c:112:27: warning: passing arguments to 'streamdb_modified' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return streamdb_modified(xrolo); ^ xrolo.db.c:130:34: warning: passing arguments to 'streamdb_save' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((status = streamdb_save(xrolo, force_save)) < 0) ^ xrolo.db.c:121:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int xrolo_db_save(force_save) ^ In file included from xrolo.db.c:43: ./xrolo.db.h:42:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int xrolo_db_save(); ^ xrolo.db.c:150:37: warning: passing arguments to 'streamdb_save_as' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((status = streamdb_save_as(xrolo, filename)) < 0) ^ xrolo.db.c:143:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int xrolo_db_save_as(filename) ^ In file included from xrolo.db.c:43: ./xrolo.db.h:43:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int xrolo_db_save_as(); ^ xrolo.db.c:164:28: warning: passing arguments to 'file_exists' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!xrolo || !file_exists(xrolo->filename)) ^ xrolo.db.c:195:38: warning: passing arguments to 'streamdb_get_first' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (entry == streamdb_get_first(xrolo)); ^ xrolo.db.c:209:37: warning: passing arguments to 'streamdb_get_last' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (entry == streamdb_get_last(xrolo)); ^ xrolo.db.c:222:32: warning: passing arguments to 'streamdb_get_entry_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return streamdb_get_entry_text(xrolo, entry); ^ xrolo.db.c:217:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *xrolo_db_get_text(entry) ^ In file included from xrolo.db.c:43: ./xrolo.db.h:47:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *xrolo_db_get_text(); ^ xrolo.db.c:235:50: warning: passing arguments to 'streamdb_get_entry_by_position' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((temp_entry = streamdb_get_entry_by_position(xrolo, position)) ^ xrolo.db.c:230:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB xrolo_db_nth_entry(position) ^ In file included from xrolo.db.c:43: ./xrolo.db.h:48:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB xrolo_db_nth_entry(); ^ xrolo.db.c:255:38: warning: passing arguments to 'streamdb_get_last' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((temp_entry = streamdb_get_last(xrolo)) == NULL) ^ xrolo.db.c:258:42: warning: passing arguments to 'streamdb_get_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((temp_entry = streamdb_get_next(xrolo, entry)) == NULL) ^ xrolo.db.c:290:38: warning: passing arguments to 'streamdb_get_last' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((temp_entry = streamdb_get_last(xrolo)) == NULL) ^ xrolo.db.c:293:46: warning: passing arguments to 'streamdb_get_previous' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((temp_entry = streamdb_get_previous(xrolo, entry)) == NULL) ^ xrolo.db.c:308:38: warning: passing arguments to 'streamdb_get_first' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((temp_entry = streamdb_get_first(xrolo)) == NULL) ^ xrolo.db.c:323:37: warning: passing arguments to 'streamdb_get_last' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((temp_entry = streamdb_get_last(xrolo)) == NULL) ^ xrolo.db.c:339:37: warning: passing arguments to 'streamdb_get_last' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((temp_entry = streamdb_get_last(xrolo)) == NULL) ^ xrolo.db.c:370:31: warning: passing arguments to 'streamdb_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp_entry = streamdb_insert(xrolo, text, streamdb_APPEND); ^ xrolo.db.c:372:23: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_current(xrolo, entry); ^ xrolo.db.c:373:31: warning: passing arguments to 'streamdb_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp_entry = streamdb_insert(xrolo, text, streamdb_CURRENT); ^ xrolo.db.c:351:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB xrolo_db_insert_new_entry(text) ^ In file included from xrolo.db.c:43: ./xrolo.db.h:55:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB xrolo_db_insert_new_entry(); ^ xrolo.db.c:397:26: warning: passing arguments to 'streamdb_free_solitaire' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_free_solitaire(xrolo, deleted_entry); ^ xrolo.db.c:398:43: warning: passing arguments to 'streamdb_create_solitaire' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] deleted_entry = streamdb_create_solitaire(xrolo, entry); ^ xrolo.db.c:399:40: warning: passing arguments to 'streamdb_get_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] delete_last_entry = (streamdb_get_next(xrolo, entry) == NULL); ^ xrolo.db.c:400:22: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_current(xrolo, entry); ^ xrolo.db.c:401:30: warning: passing arguments to 'streamdb_delete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp_entry = streamdb_delete(xrolo, streamdb_CURRENT); ^ xrolo.db.c:403:35: warning: passing arguments to 'streamdb_get_last' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return entry = streamdb_get_last(xrolo); ^ xrolo.db.c:420:22: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_current(xrolo, entry); ^ xrolo.db.c:421:30: warning: passing arguments to 'streamdb_delete' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] temp_entry = streamdb_delete(xrolo, streamdb_CURRENT); ^ xrolo.db.c:435:22: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_current(xrolo, entry); ^ xrolo.db.c:437:17: warning: passing arguments to 'streamdb_insert' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_insert(xrolo, deleted_entry->text, streamdb_CURRENT)) == NULL) ^ xrolo.db.c:439:25: warning: passing arguments to 'streamdb_free_solitaire' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_free_solitaire(xrolo, deleted_entry); ^ xrolo.db.c:455:46: warning: passing arguments to 'streamdb_get_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB current_entry = streamdb_get_current(xrolo); ^ xrolo.db.c:459:37: warning: passing arguments to 'streamdb_get_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((temp_entry = streamdb_get_next(xrolo, entry)) == NULL) { ^ xrolo.db.c:462:44: warning: passing arguments to 'streamdb_get_first' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((temp_entry = streamdb_get_first(xrolo)) == NULL) ^ xrolo.db.c:465:22: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_current(xrolo, temp_entry); ^ xrolo.db.c:467:25: warning: passing arguments to 'streamdb_search_forward' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_search_forward(xrolo, ^ xrolo.db.c:472:23: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_current(xrolo, current_entry); ^ xrolo.db.c:450:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB xrolo_db_find_entry_forward(search_text, case_sensitive_search, ^ In file included from xrolo.db.c:43: ./xrolo.db.h:59:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB xrolo_db_find_entry_forward(); ^ xrolo.db.c:489:46: warning: passing arguments to 'streamdb_get_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB current_entry = streamdb_get_current(xrolo); ^ xrolo.db.c:497:38: warning: passing arguments to 'streamdb_get_last' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((temp_entry = streamdb_get_last(xrolo)) == NULL) ^ xrolo.db.c:501:42: warning: passing arguments to 'streamdb_get_previous' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((temp_entry = streamdb_get_previous(xrolo, entry)) == NULL) { ^ xrolo.db.c:504:44: warning: passing arguments to 'streamdb_get_last' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] else if ((temp_entry = streamdb_get_last(xrolo)) == NULL) ^ xrolo.db.c:508:22: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_current(xrolo, temp_entry); ^ xrolo.db.c:510:26: warning: passing arguments to 'streamdb_search_backward' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_search_backward(xrolo, ^ xrolo.db.c:515:23: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_current(xrolo, current_entry); ^ xrolo.db.c:484:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB xrolo_db_find_entry_reverse(search_text, case_sensitive_search, ^ In file included from xrolo.db.c:43: ./xrolo.db.h:60:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB xrolo_db_find_entry_reverse(); ^ xrolo.db.c:537:45: warning: passing arguments to 'streamdb_get_num_entries' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((num_entries = streamdb_get_num_entries(xrolo)) == 0) ^ xrolo.db.c:543:33: warning: passing arguments to 'streamdb_get_first' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_entry = streamdb_get_first(xrolo); ^ xrolo.db.c:545:33: warning: passing arguments to 'streamdb_get_entry_text' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text = streamdb_get_entry_text(xrolo, next_entry); ^ xrolo.db.c:546:44: warning: passing arguments to 'streamdb_get_entry_text_begin_line' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] text = streamdb_get_entry_text_begin_line(text, line); ^ xrolo.db.c:562:33: warning: passing arguments to 'streamdb_get_next' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_entry = streamdb_get_next(xrolo, next_entry); ^ xrolo.db.c:528:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char **xrolo_db_build_index_array(line) ^ In file included from xrolo.db.c:43: ./xrolo.db.h:61:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char **xrolo_db_build_index_array(); ^ xrolo.db.c:596:23: warning: passing arguments to 'streamdb_sort' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entry = streamdb_sort(xrolo, streamdb_ASCEND, line); ^ xrolo.db.c:597:22: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_current(xrolo, entry); ^ xrolo.db.c:591:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB xrolo_db_sort_ascending(line) ^ In file included from xrolo.db.c:43: ./xrolo.db.h:63:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB xrolo_db_sort_ascending(); ^ xrolo.db.c:611:23: warning: passing arguments to 'streamdb_sort' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entry = streamdb_sort(xrolo, streamdb_DESCEND, line); ^ xrolo.db.c:612:22: warning: passing arguments to 'streamdb_set_current' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_current(xrolo, entry); ^ xrolo.db.c:606:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB xrolo_db_sort_descending(line) ^ In file included from xrolo.db.c:43: ./xrolo.db.h:64:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB xrolo_db_sort_descending(); ^ xrolo.db.c:627:31: warning: passing arguments to 'streamdb_set_delimiter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return streamdb_set_delimiter(xrolo, new_delimiter); ^ xrolo.db.c:622:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *xrolo_db_set_delimiter(new_delimiter) ^ In file included from xrolo.db.c:43: ./xrolo.db.h:65:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *xrolo_db_set_delimiter(); ^ 81 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c xrolo.index.c xrolo.index.c:62:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void xrolo_index_create(entry_index) ^ In file included from xrolo.index.c:36: ./xrolo.index.h:25:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void xrolo_index_create(); ^ xrolo.index.c:81:42: warning: passing arguments to 'xrolo_db_build_index_array' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] index_array = xrolo_db_build_index_array(line); ^ xrolo.index.c:84:21: warning: passing arguments to 'listShell_free_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_free_list(entryIndex); ^ xrolo.index.c:85:21: warning: passing arguments to 'listShell_make_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_make_list(entryIndex, index_array, char_set); ^ xrolo.index.c:76:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int xrolo_index_build(char_set, line) ^ In file included from xrolo.index.c:36: ./xrolo.index.h:27:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int xrolo_index_build(); ^ xrolo.index.c:97:21: warning: passing arguments to 'listShell_free_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_free_list(entryIndex); ^ 8 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c help.c help.c:181:23: warning: passing arguments to 'remove_sash_traversal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_sash_traversal(helpMainWindow); ^ help.c:182:23: warning: passing arguments to 'remove_sash_traversal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_sash_traversal(helpPanedWindow); ^ help.c:72:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void help_create_dialog(ref_wid, app_class, rows, columns, char_set) ^ In file included from help.c:42: ./help.h:40:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void help_create_dialog(); ^ help.c:236:14: warning: passing arguments to 'create_menus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_menus(menuHelpPane, help_menu, char_set); ^ help.c:213:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void help_create_pulldown_menu(mainMenuBar, help_menu, help_data, char_set) ^ In file included from help.c:42: ./help.h:43:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void help_create_pulldown_menu(); ^ help.c:248:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void Help(w, client_data, call_data) ^ In file included from help.c:42: ./help.h:44:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void Help(); ^ help.c:274:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HelpTopic(w, client_data, call_data) ^ help.c:51:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HelpTopic(); ^ help.c:287:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void HelpDismiss(w, client_data, call_data) ^ help.c:50:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void HelpDismiss(); ^ 13 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c streamdb.c streamdb.c:128:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StreamDB streamdb_create(filename, delimiter) ^ In file included from streamdb.c:86: ./streamdb.h:113:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern StreamDB streamdb_create(); ^ streamdb.c:158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void streamdb_destroy(sObject) ^ In file included from streamdb.c:86: ./streamdb.h:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void streamdb_destroy(); ^ streamdb.c:182:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int streamdb_modified(sObject) ^ In file included from streamdb.c:86: ./streamdb.h:115:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int streamdb_modified(); ^ streamdb.c:194:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int streamdb_get_num_entries(sObject) ^ In file included from streamdb.c:86: ./streamdb.h:116:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int streamdb_get_num_entries(); ^ streamdb.c:206:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_get_first(sObject) ^ In file included from streamdb.c:86: ./streamdb.h:117:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_get_first(); ^ streamdb.c:218:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_get_last(sObject) ^ In file included from streamdb.c:86: ./streamdb.h:118:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_get_last(); ^ streamdb.c:230:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_get_previous(sObject, entry) ^ In file included from streamdb.c:86: ./streamdb.h:119:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_get_previous(); ^ streamdb.c:243:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_get_next(sObject, entry) ^ In file included from streamdb.c:86: ./streamdb.h:120:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_get_next(); ^ streamdb.c:256:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_get_entry_by_position(sObject, position) ^ In file included from streamdb.c:86: ./streamdb.h:121:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_get_entry_by_position(); ^ streamdb.c:275:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_get_current(sObject) ^ In file included from streamdb.c:86: ./streamdb.h:122:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_get_current(); ^ streamdb.c:287:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_set_current(sObject, entry) ^ In file included from streamdb.c:86: ./streamdb.h:123:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_set_current(); ^ streamdb.c:300:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *streamdb_get_current_text(sObject) ^ In file included from streamdb.c:86: ./streamdb.h:124:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *streamdb_get_current_text(); ^ streamdb.c:315:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *streamdb_set_current_text(sObject, new_text) ^ In file included from streamdb.c:86: ./streamdb.h:125:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *streamdb_set_current_text(); ^ streamdb.c:340:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *streamdb_get_entry_text(sObject, entry) ^ In file included from streamdb.c:86: ./streamdb.h:126:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *streamdb_get_entry_text(); ^ streamdb.c:357:29: warning: passing arguments to 'move_forward_n_lines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return move_forward_n_lines(text, line - 1); ^ streamdb.c:353:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *streamdb_get_entry_text_begin_line(text, line) ^ In file included from streamdb.c:86: ./streamdb.h:127:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *streamdb_get_entry_text_begin_line(); ^ streamdb.c:366:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *streamdb_get_delimiter(sObject) ^ In file included from streamdb.c:86: ./streamdb.h:128:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *streamdb_get_delimiter(); ^ streamdb.c:378:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *streamdb_set_delimiter(sObject, new_delimiter) ^ In file included from streamdb.c:86: ./streamdb.h:129:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *streamdb_set_delimiter(); ^ streamdb.c:414:27: warning: passing arguments to 'streamdb_free_solitaire' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_free_solitaire(sObject, new_entry); ^ streamdb.c:399:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_create_solitaire(sObject, entry) ^ In file included from streamdb.c:86: ./streamdb.h:130:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_create_solitaire(); ^ streamdb.c:430:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void streamdb_free_solitaire(sObject, entry) ^ In file included from streamdb.c:86: ./streamdb.h:131:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void streamdb_free_solitaire(); ^ streamdb.c:454:23: warning: passing arguments to 'file_size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((size = file_size(sObject->filename)) == streamdb_NO_FILE) ^ streamdb.c:458:26: warning: passing arguments to 'load_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!(size = load_buffer(sObject, buffer))) ^ streamdb.c:460:28: warning: passing arguments to 'build_list_from_buffer' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (build_list_from_buffer(sObject, buffer, size)) { ^ streamdb.c:448:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_load(sObject) ^ In file included from streamdb.c:86: ./streamdb.h:132:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_load(); ^ streamdb.c:483:20: warning: passing arguments to 'write_to_disk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!write_to_disk(sObject, sObject->filename)) ^ streamdb.c:477:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int streamdb_save(sObject, force_save) ^ In file included from streamdb.c:86: ./streamdb.h:133:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int streamdb_save(); ^ streamdb.c:500:20: warning: passing arguments to 'write_to_disk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!write_to_disk(sObject, filename)) ^ streamdb.c:503:23: warning: passing arguments to 'streamdb_set_filename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] streamdb_set_filename(sObject, filename); ^ streamdb.c:496:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int streamdb_save_as(sObject, filename) ^ In file included from streamdb.c:86: ./streamdb.h:134:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int streamdb_save_as(); ^ streamdb.c:520:22: warning: passing arguments to 'write_to_disk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return write_to_disk(sObject, filename); ^ streamdb.c:516:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int streamdb_save_alt(sObject, filename) ^ In file included from streamdb.c:86: ./streamdb.h:135:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int streamdb_save_alt(); ^ streamdb.c:529:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *streamdb_set_filename(sObject, filename) ^ In file included from streamdb.c:86: ./streamdb.h:136:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *streamdb_set_filename(); ^ streamdb.c:549:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_insert(sObject, text, position) ^ In file included from streamdb.c:86: ./streamdb.h:137:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_insert(); ^ streamdb.c:622:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_delete(sObject, position) ^ In file included from streamdb.c:86: ./streamdb.h:138:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_delete(); ^ streamdb.c:691:33: warning: passing arguments to 'string_search_insensitive' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (string_search_insensitive(entry->text, search_text, 0) != ^ streamdb.c:699:34: warning: passing arguments to 'string_search_insensitive' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (string_search_insensitive(entry->text, search_text, 0) != ^ streamdb.c:708:21: warning: passing arguments to 'string_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (string_search(entry->text, search_text, 0) != ^ streamdb.c:716:22: warning: passing arguments to 'string_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (string_search(entry->text, search_text, 0) != ^ streamdb.c:680:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_search_forward(sObject, search_text, case_mode, wrap_mode) ^ In file included from streamdb.c:86: ./streamdb.h:139:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_search_forward(); ^ streamdb.c:744:33: warning: passing arguments to 'string_search_insensitive' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (string_search_insensitive(entry->text, search_text, 0) != ^ streamdb.c:752:34: warning: passing arguments to 'string_search_insensitive' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (string_search_insensitive(entry->text, search_text, 0) != ^ streamdb.c:761:21: warning: passing arguments to 'string_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (string_search(entry->text, search_text, 0) != ^ streamdb.c:769:22: warning: passing arguments to 'string_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (string_search(entry->text, search_text, 0) != ^ streamdb.c:733:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_search_backward(sObject, search_text, case_mode, wrap_mode) ^ In file included from streamdb.c:86: ./streamdb.h:140:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_search_backward(); ^ streamdb.c:795:23: warning: passing arguments to 'build_search_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (build_search_tree(&root, sObject->first, order, line)) { ^ streamdb.c:797:16: warning: passing arguments to 'traverse_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] traverse_tree(root); ^ streamdb.c:801:14: warning: passing arguments to 'destroy_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] destroy_tree(root); ^ streamdb.c:786:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EntryDB streamdb_sort(sObject, order, line) ^ In file included from streamdb.c:86: ./streamdb.h:141:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern EntryDB streamdb_sort(); ^ streamdb.c:810:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void streamdb_print(sObject, spacing) ^ In file included from streamdb.c:86: ./streamdb.h:142:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void streamdb_print(); ^ streamdb.c:832:19: warning: passing arguments to 'file_size' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return (file_size(file_spec) != streamdb_NO_FILE); ^ streamdb.c:829:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int file_exists(file_spec) ^ In file included from streamdb.c:86: ./streamdb.h:143:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int file_exists(); ^ streamdb.c:857:37: warning: passing arguments to 'offset_without_delimiter' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] current = offset_without_delimiter(sObject, buffer, next); ^ streamdb.c:858:29: warning: passing arguments to 'scan_for_next_entry' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next = scan_for_next_entry(sObject, buffer, current); ^ streamdb.c:845:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int build_list_from_buffer(sObject, buffer, size) ^ streamdb.c:101:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int build_list_from_buffer(); ^ streamdb.c:909:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int offset_without_delimiter(sObject, buffer, offset) ^ streamdb.c:103:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int offset_without_delimiter(); ^ streamdb.c:937:27: warning: passing arguments to 'read_from_disk' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((len = read_from_disk(buffer, sObject->filename)) == ^ streamdb.c:931:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int load_buffer(sObject, buffer) ^ streamdb.c:104:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int load_buffer(); ^ streamdb.c:952:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int read_from_disk(buffer, file_spec) ^ streamdb.c:105:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int read_from_disk(); ^ streamdb.c:976:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int write_to_disk(sObject, file_spec) ^ streamdb.c:106:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int write_to_disk(); ^ streamdb.c:1012:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int file_size(file_spec) ^ streamdb.c:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int file_size(); ^ streamdb.c:1035:22: warning: passing arguments to 'string_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] return string_search(buffer, sObject->delimiter, ^ streamdb.c:1030:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int scan_for_next_entry(sObject, buffer, offset) ^ streamdb.c:109:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int scan_for_next_entry(); ^ streamdb.c:1052:24: warning: passing arguments to 'insert_into_tree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!insert_into_tree(root, entry, order, line)) ^ streamdb.c:1046:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int build_search_tree(root, entry, order, line) ^ streamdb.c:110:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int build_search_tree(); ^ streamdb.c:1075:22: warning: passing arguments to 'go_left' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] next_node = go_left(entry, next_node, order, line) ? ^ streamdb.c:1086:14: warning: passing arguments to 'go_left' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (go_left(entry, previous_node, order, line)) ^ streamdb.c:1064:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int insert_into_tree(root, entry, order, line) ^ streamdb.c:111:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int insert_into_tree(); ^ streamdb.c:1107:34: warning: passing arguments to 'move_forward_n_lines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] entry_ptr = move_forward_n_lines(entry->text, line - 1); ^ streamdb.c:1109:23: warning: passing arguments to 'move_forward_n_lines' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_forward_n_lines(node->database_entry->text, line - 1); ^ streamdb.c:1100:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int go_left(entry, node, order, line) ^ streamdb.c:112:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int go_left(); ^ streamdb.c:1124:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *move_forward_n_lines(buffer, num_lines) ^ streamdb.c:113:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char *move_forward_n_lines(); ^ streamdb.c:1161:21: warning: passing arguments to 'update_linked_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] update_linked_list(node); ^ streamdb.c:1156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void traverse_tree(node) ^ streamdb.c:114:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void traverse_tree(); ^ streamdb.c:1171:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void destroy_tree(node) ^ streamdb.c:115:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void destroy_tree(); ^ streamdb.c:1189:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void update_linked_list(node) ^ streamdb.c:116:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void update_linked_list(); ^ 121 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c ctrlpanel.c ctrlpanel.c:87:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CtrlPanel ctrlPanel_create(parent, instance_name, items, char_set, orientation) ^ In file included from ctrlpanel.c:68: ./ctrlpanel.h:94:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern CtrlPanel ctrlPanel_create(); ^ ctrlpanel.c:162:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ctrlPanel_destroy(cObject) ^ In file included from ctrlpanel.c:68: ./ctrlpanel.h:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void ctrlPanel_destroy(); ^ ctrlpanel.c:177:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget ctrlPanel_instance(cObject) ^ In file included from ctrlpanel.c:68: ./ctrlpanel.h:96:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget ctrlPanel_instance(); ^ ctrlpanel.c:184:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget ctrlPanel_class(cObject) ^ In file included from ctrlpanel.c:68: ./ctrlpanel.h:97:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget ctrlPanel_class(); ^ ctrlpanel.c:191:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget ctrlPanel_ctrlBox(cObject) ^ In file included from ctrlpanel.c:68: ./ctrlpanel.h:98:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget ctrlPanel_ctrlBox(); ^ 10 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c editor.c editor.c:181:15: warning: passing arguments to 'create_menus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_menus(eObject->menuBar, menus, char_set); ^ editor.c:186:15: warning: passing arguments to 'create_menus' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_menus(eObject->popupMenu, menus, char_set); ^ editor.c:408:23: warning: passing arguments to 'remove_sash_traversal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_sash_traversal(eObject->replacePane); ^ editor.c:139:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Editor editor_create(parent, app_class, instance_name, num_rows, num_columns, ^ In file included from editor.c:62: ./editor.h:106:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Editor editor_create(); ^ editor.c:417:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void editor_destroy(eObject) ^ In file included from editor.c:62: ./editor.h:107:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void editor_destroy(); ^ editor.c:431:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void editor_realize(eObject) ^ In file included from editor.c:62: ./editor.h:108:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void editor_realize(); ^ editor.c:443:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void editor_set_sensitive(eObject) ^ In file included from editor.c:62: ./editor.h:109:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void editor_set_sensitive(); ^ editor.c:455:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void editor_set_nonsensitive(eObject) ^ In file included from editor.c:62: ./editor.h:110:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void editor_set_nonsensitive(); ^ editor.c:467:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *editor_get_text(eObject) ^ In file included from editor.c:62: ./editor.h:111:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *editor_get_text(); ^ editor.c:478:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void editor_set_text(eObject, text) ^ In file included from editor.c:62: ./editor.h:112:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void editor_set_text(); ^ editor.c:494:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_instance(eObject) ^ In file included from editor.c:62: ./editor.h:119:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_instance(); ^ editor.c:501:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_class(eObject) ^ In file included from editor.c:62: ./editor.h:120:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_class(); ^ editor.c:508:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_editBox(eObject) ^ In file included from editor.c:62: ./editor.h:121:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_editBox(); ^ editor.c:515:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_menuBar(eObject) ^ In file included from editor.c:62: ./editor.h:122:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_menuBar(); ^ editor.c:523:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_menuEditButton(eObject) /* maintain consistent interface */ ^ In file included from editor.c:62: ./editor.h:124:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_menuEditButton(); ^ editor.c:531:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_menuFindButton(eObject) /* maintain consistent interface */ ^ In file included from editor.c:62: ./editor.h:125:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_menuFindButton(); ^ editor.c:539:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_menuCutButton(eObject) /* maintain consistent interface */ ^ In file included from editor.c:62: ./editor.h:126:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_menuCutButton(); ^ editor.c:547:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_menuCopyButton(eObject) /* maintain consistent interface */ ^ In file included from editor.c:62: ./editor.h:127:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_menuCopyButton(); ^ editor.c:555:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_menuPasteButton(eObject) /* maintain consistent interface */ ^ In file included from editor.c:62: ./editor.h:128:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_menuPasteButton(); ^ editor.c:563:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_menuClearButton(eObject) /* maintain consistent interface */ ^ In file included from editor.c:62: ./editor.h:129:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_menuClearButton(); ^ editor.c:571:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_menuSearchButton(eObject) /* maintain consistent interface */ ^ In file included from editor.c:62: ./editor.h:130:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_menuSearchButton(); ^ editor.c:579:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_menuReplaceButton(eObject) /* maintain consistent interface */ ^ In file included from editor.c:62: ./editor.h:131:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_menuReplaceButton(); ^ editor.c:586:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_editWindow(eObject) ^ In file included from editor.c:62: ./editor.h:132:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_editWindow(); ^ editor.c:593:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_edit(eObject) ^ In file included from editor.c:62: ./editor.h:133:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_edit(); ^ editor.c:600:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceShell(eObject) ^ In file included from editor.c:62: ./editor.h:134:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceShell(); ^ editor.c:607:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceInstance(eObject) ^ In file included from editor.c:62: ./editor.h:135:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceInstance(); ^ editor.c:614:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceClass(eObject) ^ In file included from editor.c:62: ./editor.h:136:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceClass(); ^ editor.c:621:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replacePane(eObject) ^ In file included from editor.c:62: ./editor.h:137:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replacePane(); ^ editor.c:628:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceControl(eObject) ^ In file included from editor.c:62: ./editor.h:138:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceControl(); ^ editor.c:635:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceLabel(eObject) ^ In file included from editor.c:62: ./editor.h:139:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceLabel(); ^ editor.c:642:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceFindBox(eObject) ^ In file included from editor.c:62: ./editor.h:140:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceFindBox(); ^ editor.c:649:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceReplaceBox(eObject) ^ In file included from editor.c:62: ./editor.h:141:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceReplaceBox(); ^ editor.c:656:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceFindLabel(eObject) ^ In file included from editor.c:62: ./editor.h:142:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceFindLabel(); ^ editor.c:663:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceReplaceLabel(eObject) ^ In file included from editor.c:62: ./editor.h:143:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceReplaceLabel(); ^ editor.c:670:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceFindText(eObject) ^ In file included from editor.c:62: ./editor.h:144:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceFindText(); ^ editor.c:677:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceReplaceText(eObject) ^ In file included from editor.c:62: ./editor.h:145:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceReplaceText(); ^ editor.c:684:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceAction(eObject) ^ In file included from editor.c:62: ./editor.h:146:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceAction(); ^ editor.c:691:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceFindButton(eObject) ^ In file included from editor.c:62: ./editor.h:147:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceFindButton(); ^ editor.c:698:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceReplaceButton(eObject) ^ In file included from editor.c:62: ./editor.h:148:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceReplaceButton(); ^ editor.c:705:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget editor_replaceDismissButton(eObject) ^ In file included from editor.c:62: ./editor.h:149:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget editor_replaceDismissButton(); ^ editor.c:729:28: warning: passing arguments to 'selection_to_clipboard' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (selection_to_clipboard(eObject, ^ editor.c:721:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CutText(w, client_data, call_data) ^ editor.c:79:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CutText(); ^ editor.c:753:29: warning: passing arguments to 'selection_to_clipboard' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (!selection_to_clipboard(eObject, call_data->event->xbutton.time)) ^ editor.c:745:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void CopyText(w, client_data, call_data) ^ editor.c:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void CopyText(); ^ editor.c:778:39: warning: passing arguments to 'retrieve_from_clipboard' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if ((buffer = retrieve_from_clipboard(eObject)) != NULL) { ^ editor.c:779:52: warning: passing arguments to 'get_text_cursor_position' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmTextPosition cur_pos = get_text_cursor_position(eObject); ^ editor.c:768:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void PasteText(w, client_data, call_data) ^ editor.c:81:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void PasteText(); ^ editor.c:797:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ClearText(w, client_data, call_data) ^ editor.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ClearText(); ^ editor.c:845:52: warning: passing arguments to 'get_text_cursor_position' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmTextPosition cur_pos = get_text_cursor_position(eObject); ^ editor.c:850:43: warning: passing arguments to 'string_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cur_pos = (XmTextPosition) string_search(buffer, ^ editor.c:834:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void FindSelection(w, client_data, call_data) ^ editor.c:83:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void FindSelection(); ^ editor.c:870:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ReplaceText(w, client_data, call_data) ^ editor.c:84:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ReplaceText(); ^ editor.c:888:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ReplaceDismiss(w, client_data, call_data) ^ editor.c:85:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ReplaceDismiss(); ^ editor.c:915:52: warning: passing arguments to 'get_text_cursor_position' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XmTextPosition cur_pos = get_text_cursor_position(eObject); ^ editor.c:919:43: warning: passing arguments to 'string_search' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cur_pos = (XmTextPosition) string_search(buffer, ^ editor.c:904:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ReplaceFind(w, client_data, call_data) ^ editor.c:86:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ReplaceFind(); ^ editor.c:952:36: warning: passing arguments to 'get_text_cursor_position' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cur_pos = get_text_cursor_position(eObject); ^ editor.c:939:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ReplaceReplace(w, client_data, call_data) ^ editor.c:87:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ReplaceReplace(); ^ editor.c:966:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void PostMenu(w, menu, event) ^ editor.c:94:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void PostMenu(); ^ editor.c:986:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static XmTextPosition get_text_cursor_position(eObject) ^ editor.c:68:23: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static XmTextPosition get_text_cursor_position(); ^ editor.c:1004:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int selection_to_clipboard(eObject, time_stamp) ^ editor.c:70:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int selection_to_clipboard(); ^ editor.c:1038:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *retrieve_from_clipboard(eObject) ^ editor.c:71:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char *retrieve_from_clipboard(); ^ 112 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c listshell.c listshell.c:155:30: warning: passing arguments to 'listShell_allocate_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (listShell_allocate_list(lObject, items, char_set)) { ^ listshell.c:246:23: warning: passing arguments to 'remove_sash_traversal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_sash_traversal(lObject->listPane); ^ listshell.c:94:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ListShell listShell_create(ref_wid, app_class, instance_name, ^ In file included from listshell.c:67: ./listshell.h:88:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern ListShell listShell_create(); ^ listshell.c:259:21: warning: passing arguments to 'listShell_free_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] listShell_free_list(lObject); ^ listshell.c:255:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void listShell_destroy(lObject) ^ In file included from listshell.c:67: ./listshell.h:89:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void listShell_destroy(); ^ listshell.c:274:29: warning: passing arguments to 'listShell_allocate_list' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (listShell_allocate_list(lObject, items, char_set)) { ^ listshell.c:269:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void listShell_make_list(lObject, items, char_set) ^ In file included from listshell.c:67: ./listshell.h:90:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void listShell_make_list(); ^ listshell.c:291:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void listShell_free_list(lObject) ^ In file included from listshell.c:67: ./listshell.h:91:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void listShell_free_list(); ^ listshell.c:310:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void listShell_realize(lObject) ^ In file included from listshell.c:67: ./listshell.h:93:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void listShell_realize(); ^ listshell.c:321:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void listShell_activate(lObject) ^ In file included from listshell.c:67: ./listshell.h:92:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void listShell_activate(); ^ listshell.c:336:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void listShell_deactivate(lObject) ^ In file included from listshell.c:67: ./listshell.h:94:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void listShell_deactivate(); ^ listshell.c:350:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int listShell_is_active(lObject) ^ listshell.c:362:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void listShell_add_callback(lObject, cb_function, client_data) ^ In file included from listshell.c:67: ./listshell.h:95:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void listShell_add_callback(); ^ listshell.c:377:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget listShell_listShell(lObject) ^ In file included from listshell.c:67: ./listshell.h:96:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget listShell_listShell(); ^ listshell.c:384:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget listShell_instance(lObject) ^ In file included from listshell.c:67: ./listshell.h:97:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget listShell_instance(); ^ listshell.c:391:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget listShell_class(lObject) ^ In file included from listshell.c:67: ./listshell.h:98:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget listShell_class(); ^ listshell.c:398:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget listShell_listPane(lObject) ^ In file included from listshell.c:67: ./listshell.h:99:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget listShell_listPane(); ^ listshell.c:405:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget listShell_listAction(lObject) ^ In file included from listshell.c:67: ./listshell.h:100:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget listShell_listAction(); ^ listshell.c:412:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget listShell_listDismissButton(lObject) ^ In file included from listshell.c:67: ./listshell.h:101:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget listShell_listDismissButton(); ^ listshell.c:419:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget listShell_listPort(lObject) ^ In file included from listshell.c:67: ./listshell.h:102:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget listShell_listPort(); ^ listshell.c:426:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget listShell_listList(lObject) ^ In file included from listshell.c:67: ./listshell.h:103:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget listShell_listList(); ^ listshell.c:442:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int listShell_allocate_list(lObject, items, char_set) ^ listshell.c:81:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static int listShell_allocate_list(); ^ listshell.c:476:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ListShellDismiss(w, client_data, call_data) ^ listshell.c:74:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void ListShellDismiss(); ^ 41 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c dialog.c dialog.c:344:23: warning: passing arguments to 'remove_sash_traversal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] remove_sash_traversal(dObject->dialogPane); ^ dialog.c:172:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Dialog dialog_create(app, parent, instance_name, items, num_columns, ^ In file included from dialog.c:145: ./dialog.h:174:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Dialog dialog_create(); ^ dialog.c:353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dialog_destroy(dObject) ^ In file included from dialog.c:145: ./dialog.h:175:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void dialog_destroy(); ^ dialog.c:368:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dialog_realize(dObject) ^ In file included from dialog.c:145: ./dialog.h:176:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void dialog_realize(); ^ dialog.c:388:17: warning: passing arguments to 'position_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] position_dialog(dObject); ^ dialog.c:390:37: warning: passing arguments to 'popup_and_wait_for_button_response' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] popup_and_wait_for_button_response(dObject); ^ dialog.c:382:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dialog_activate(dObject) ^ In file included from dialog.c:145: ./dialog.h:177:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void dialog_activate(); ^ dialog.c:400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dialog_deactivate(dObject) ^ In file included from dialog.c:145: ./dialog.h:178:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void dialog_deactivate(); ^ dialog.c:423:18: warning: passing arguments to 'position_dialog' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] position_dialog(dObject); ^ dialog.c:424:20: warning: passing arguments to 'dialog_set_prompt' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dialog_set_prompt(dObject, prompt); ^ dialog.c:425:37: warning: passing arguments to 'popup_and_wait_for_button_response' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] popup_and_wait_for_button_response(dObject); ^ dialog.c:415:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int dialog_modal_prompt(dObject, prompt) ^ In file included from dialog.c:145: ./dialog.h:179:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int dialog_modal_prompt(); ^ dialog.c:440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dialog_set_prompt(dObject, prompt) ^ In file included from dialog.c:145: ./dialog.h:180:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void dialog_set_prompt(); ^ dialog.c:462:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char *dialog_get_text(dObject) ^ In file included from dialog.c:145: ./dialog.h:181:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern char *dialog_get_text(); ^ dialog.c:475:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dialog_set_text(dObject, string) ^ In file included from dialog.c:145: ./dialog.h:182:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void dialog_set_text(); ^ dialog.c:490:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dialog_forget_text(dObject) ^ In file included from dialog.c:145: ./dialog.h:183:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void dialog_forget_text(); ^ dialog.c:503:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dialog_remember_text(dObject) ^ In file included from dialog.c:145: ./dialog.h:184:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void dialog_remember_text(); ^ dialog.c:515:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] XtPointer dialog_get_most_recent_button_response(dObject) ^ In file included from dialog.c:145: ./dialog.h:185:18: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern XtPointer dialog_get_most_recent_button_response(); ^ dialog.c:532:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void dialog_cancel(dObject, button_pressed) ^ In file included from dialog.c:145: ./dialog.h:186:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void dialog_cancel(); ^ dialog.c:549:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget dialog_dialogShell(dObject) ^ In file included from dialog.c:145: ./dialog.h:187:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget dialog_dialogShell(); ^ dialog.c:556:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget dialog_instance(dObject) ^ In file included from dialog.c:145: ./dialog.h:188:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget dialog_instance(); ^ dialog.c:563:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget dialog_class(dObject) ^ In file included from dialog.c:145: ./dialog.h:189:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget dialog_class(); ^ dialog.c:570:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget dialog_dialogPane(dObject) ^ In file included from dialog.c:145: ./dialog.h:190:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget dialog_dialogPane(); ^ dialog.c:577:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget dialog_dialogControl(dObject) ^ In file included from dialog.c:145: ./dialog.h:191:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget dialog_dialogControl(); ^ dialog.c:584:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget dialog_dialogPrompt(dObject) ^ In file included from dialog.c:145: ./dialog.h:192:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget dialog_dialogPrompt(); ^ dialog.c:591:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget dialog_dialogText(dObject) ^ In file included from dialog.c:145: ./dialog.h:193:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget dialog_dialogText(); ^ dialog.c:598:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Widget dialog_dialogAction(dObject) ^ In file included from dialog.c:145: ./dialog.h:194:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern Widget dialog_dialogAction(); ^ dialog.c:614:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void DialogDismiss(w, client_data, call_data) ^ dialog.c:151:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void DialogDismiss(); ^ dialog.c:633:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void UpdateButtonResponse(w, client_data, call_data) ^ dialog.c:152:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void UpdateButtonResponse(); ^ dialog.c:663:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void popup_and_wait_for_button_response(dObject) ^ dialog.c:159:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void popup_and_wait_for_button_response(); ^ dialog.c:685:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void position_dialog(dObject) ^ dialog.c:160:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static void position_dialog(); ^ 56 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c strstr.c strstr.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int string_search(buffer, search_text, offset) ^ In file included from strstr.c:31: ./strstr.h:28:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int string_search(); ^ strstr.c:88:17: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_upper(buffer[offset]) == get_upper(search_text[next])) { ^ strstr.c:88:46: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_upper(buffer[offset]) == get_upper(search_text[next])) { ^ strstr.c:91:14: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_upper(buffer[offset++]) == get_upper(search_text[next++])) ^ strstr.c:91:45: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_upper(buffer[offset++]) == get_upper(search_text[next++])) ^ strstr.c:94:14: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_upper(buffer[--offset]) == get_upper(search_text[--next])) ^ strstr.c:94:45: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_upper(buffer[--offset]) == get_upper(search_text[--next])) ^ strstr.c:79:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int string_search_insensitive(buffer, search_text, offset) ^ In file included from strstr.c:31: ./strstr.h:30:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int string_search_insensitive(); ^ strstr.c:112:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int string_search_reverse(buffer, search_text, offset) ^ In file included from strstr.c:31: ./strstr.h:29:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int string_search_reverse(); ^ strstr.c:158:17: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_upper(buffer[offset]) == get_upper(search_text[next])) { ^ strstr.c:158:46: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if (get_upper(buffer[offset]) == get_upper(search_text[next])) { ^ strstr.c:161:14: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_upper(buffer[offset++]) == get_upper(search_text[next++])) ^ strstr.c:161:45: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_upper(buffer[offset++]) == get_upper(search_text[next++])) ^ strstr.c:164:14: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_upper(buffer[--offset]) == get_upper(search_text[--next])) { ^ strstr.c:164:45: warning: passing arguments to 'get_upper' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_upper(buffer[--offset]) == get_upper(search_text[--next])) { ^ strstr.c:149:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int string_search_reverse_insensitive(buffer, search_text, offset) ^ In file included from strstr.c:31: ./strstr.h:31:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern int string_search_reverse_insensitive(); ^ strstr.c:180:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char get_upper(c) ^ strstr.c:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] static char get_upper(); ^ 22 warnings generated. clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DWIDGET_ACCESS -DMANUAL_CLIP -DWIDGET_ACCESS -DMANUAL_CLIP -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -c motif.c motif.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void create_menus(parent, menu, char_set) ^ In file included from motif.c:28: ./motif.h:55:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void create_menus(); ^ motif.c:112:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void remove_sash_traversal(pane) ^ In file included from motif.c:28: ./motif.h:56:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] extern void remove_sash_traversal(); ^ 4 warnings generated. rm -f xrolodex._man if test -z "" ; then cd `dirname xrolodex` && ln -s `basename xrolodex.man` `basename xrolodex._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\ /'` X.Org" < xrolodex.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\/' >xrolodex._man; fi rm -f xrolodex clang -o xrolodex -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib xrolo.o xrolo.db.o xrolo.index.o help.o streamdb.o ctrlpanel.o editor.o listshell.o dialog.o strstr.o motif.o -L/opt/pkg/lib -L/opt/pkg/lib -lXm -lXft -lXt -lSM -lICE -lXext -lX11