=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/misc/xrolodex", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xrolodex-1.5nb6 --- xrolo.o --- --- xrolo.db.o --- 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.o --- 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.db.o --- 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 C23 [-Wdeprecated-non-prototype] 70 | 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 C23 [-Wdeprecated-non-prototype] 71 | 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 C23 [-Wdeprecated-non-prototype] 72 | 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 C23 [-Wdeprecated-non-prototype] 63 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | 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 C23 [-Wdeprecated-non-prototype] 84 | 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 C23 [-Wdeprecated-non-prototype] 86 | 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 C23 [-Wdeprecated-non-prototype] 112 | 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 C23 [-Wdeprecated-non-prototype] 130 | 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 C23 [-Wdeprecated-non-prototype] 121 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | 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 C23 [-Wdeprecated-non-prototype] 150 | 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 C23 [-Wdeprecated-non-prototype] 143 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 164 | 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 C23 [-Wdeprecated-non-prototype] 195 | 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 C23 [-Wdeprecated-non-prototype] 209 | 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 C23 [-Wdeprecated-non-prototype] 222 | 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 C23 [-Wdeprecated-non-prototype] 217 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | 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 C23 [-Wdeprecated-non-prototype] 235 | 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 C23 [-Wdeprecated-non-prototype] 230 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | 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 C23 [-Wdeprecated-non-prototype] 255 | 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 C23 [-Wdeprecated-non-prototype] 258 | 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 C23 [-Wdeprecated-non-prototype] 290 | 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 C23 [-Wdeprecated-non-prototype] 293 | 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 C23 [-Wdeprecated-non-prototype] 308 | 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 C23 [-Wdeprecated-non-prototype] 323 | 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 C23 [-Wdeprecated-non-prototype] 339 | 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 C23 [-Wdeprecated-non-prototype] 370 | 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 C23 [-Wdeprecated-non-prototype] 372 | 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 C23 [-Wdeprecated-non-prototype] 373 | 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 C23 [-Wdeprecated-non-prototype] 351 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | 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 C23 [-Wdeprecated-non-prototype] 397 | 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 C23 [-Wdeprecated-non-prototype] 398 | 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 C23 [-Wdeprecated-non-prototype] 399 | 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 C23 [-Wdeprecated-non-prototype] 400 | 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 C23 [-Wdeprecated-non-prototype] 401 | 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 C23 [-Wdeprecated-non-prototype] 403 | 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 C23 [-Wdeprecated-non-prototype] 420 | 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 C23 [-Wdeprecated-non-prototype] 421 | 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 C23 [-Wdeprecated-non-prototype] 435 | 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 C23 [-Wdeprecated-non-prototype] 437 | 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 C23 [-Wdeprecated-non-prototype] 439 | 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 C23 [-Wdeprecated-non-prototype] 455 | 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 C23 [-Wdeprecated-non-prototype] 459 | 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 C23 [-Wdeprecated-non-prototype] 462 | 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 C23 [-Wdeprecated-non-prototype] 465 | 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 C23 [-Wdeprecated-non-prototype] 467 | 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 C23 [-Wdeprecated-non-prototype] 472 | 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 C23 [-Wdeprecated-non-prototype] 450 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | 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 C23 [-Wdeprecated-non-prototype] 489 | 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 C23 [-Wdeprecated-non-prototype] 497 | 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 C23 [-Wdeprecated-non-prototype] 501 | 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 C23 [-Wdeprecated-non-prototype] 504 | 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 C23 [-Wdeprecated-non-prototype] 508 | 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 C23 [-Wdeprecated-non-prototype] 510 | 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 C23 [-Wdeprecated-non-prototype] 515 | 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 C23 [-Wdeprecated-non-prototype] 484 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | 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 C23 [-Wdeprecated-non-prototype] 537 | 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 C23 [-Wdeprecated-non-prototype] 543 | 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 C23 [-Wdeprecated-non-prototype] 545 | 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 C23 [-Wdeprecated-non-prototype] 546 | 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 C23 [-Wdeprecated-non-prototype] 562 | 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 C23 [-Wdeprecated-non-prototype] 528 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | 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 C23 [-Wdeprecated-non-prototype] 596 | 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 C23 [-Wdeprecated-non-prototype] 597 | 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 C23 [-Wdeprecated-non-prototype] 591 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | 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 C23 [-Wdeprecated-non-prototype] 611 | 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 C23 [-Wdeprecated-non-prototype] 612 | 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 C23 [-Wdeprecated-non-prototype] 606 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 627 | 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 C23 [-Wdeprecated-non-prototype] 622 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | extern char *xrolo_db_set_delimiter(); | ^ --- xrolo.o --- xrolo.c:284:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 284 | void main(argc, argv) | ^ xrolo.c:284:1: note: change return type to 'int' 284 | 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 C23 [-Wdeprecated-non-prototype] 323 | 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 C23 [-Wdeprecated-non-prototype] 335 | 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 C23 [-Wdeprecated-non-prototype] 341 | 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 C23 [-Wdeprecated-non-prototype] 344 | 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 C23 [-Wdeprecated-non-prototype] 353 | 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 C23 [-Wdeprecated-non-prototype] 358 | 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 C23 [-Wdeprecated-non-prototype] 361 | 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 C23 [-Wdeprecated-non-prototype] 366 | 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 C23 [-Wdeprecated-non-prototype] 372 | 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 C23 [-Wdeprecated-non-prototype] 373 | 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 C23 [-Wdeprecated-non-prototype] 375 | 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 C23 [-Wdeprecated-non-prototype] 376 | 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 C23 [-Wdeprecated-non-prototype] 385 | 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 C23 [-Wdeprecated-non-prototype] 389 | 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 C23 [-Wdeprecated-non-prototype] 390 | 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 C23 [-Wdeprecated-non-prototype] 391 | 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 C23 [-Wdeprecated-non-prototype] 392 | 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 C23 [-Wdeprecated-non-prototype] 393 | 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 C23 [-Wdeprecated-non-prototype] 394 | 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 C23 [-Wdeprecated-non-prototype] 395 | 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 C23 [-Wdeprecated-non-prototype] 396 | 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 C23 [-Wdeprecated-non-prototype] 397 | 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 C23 [-Wdeprecated-non-prototype] 398 | 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 C23 [-Wdeprecated-non-prototype] 399 | 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 C23 [-Wdeprecated-non-prototype] 400 | 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 C23 [-Wdeprecated-non-prototype] 402 | 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 C23 [-Wdeprecated-non-prototype] 284 | 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 C23 [-Wdeprecated-non-prototype] 509 | 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 C23 [-Wdeprecated-non-prototype] 510 | 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 C23 [-Wdeprecated-non-prototype] 417 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | 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 C23 [-Wdeprecated-non-prototype] 538 | 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 C23 [-Wdeprecated-non-prototype] 520 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | 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 C23 [-Wdeprecated-non-prototype] 635 | 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 C23 [-Wdeprecated-non-prototype] 639 | 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 C23 [-Wdeprecated-non-prototype] 643 | 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 C23 [-Wdeprecated-non-prototype] 647 | 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 C23 [-Wdeprecated-non-prototype] 651 | 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 C23 [-Wdeprecated-non-prototype] 655 | 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 C23 [-Wdeprecated-non-prototype] 660 | 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 C23 [-Wdeprecated-non-prototype] 665 | 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 C23 [-Wdeprecated-non-prototype] 670 | 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 C23 [-Wdeprecated-non-prototype] 672 | 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 C23 [-Wdeprecated-non-prototype] 674 | 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 C23 [-Wdeprecated-non-prototype] 726 | 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 C23 [-Wdeprecated-non-prototype] 797 | 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 C23 [-Wdeprecated-non-prototype] 550 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | 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 C23 [-Wdeprecated-non-prototype] 815 | 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 C23 [-Wdeprecated-non-prototype] 817 | 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 C23 [-Wdeprecated-non-prototype] 810 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | 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 C23 [-Wdeprecated-non-prototype] 825 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | 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 C23 [-Wdeprecated-non-prototype] 838 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | 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 C23 [-Wdeprecated-non-prototype] 861 | 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 C23 [-Wdeprecated-non-prototype] 856 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | 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 C23 [-Wdeprecated-non-prototype] 874 | 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 C23 [-Wdeprecated-non-prototype] 869 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | 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 C23 [-Wdeprecated-non-prototype] 888 | 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 C23 [-Wdeprecated-non-prototype] 890 | 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 C23 [-Wdeprecated-non-prototype] 883 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | 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 C23 [-Wdeprecated-non-prototype] 912 | 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 C23 [-Wdeprecated-non-prototype] 901 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | 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 C23 [-Wdeprecated-non-prototype] 933 | 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 C23 [-Wdeprecated-non-prototype] 924 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | 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 C23 [-Wdeprecated-non-prototype] 943 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | 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 C23 [-Wdeprecated-non-prototype] 967 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 984 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | 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 C23 [-Wdeprecated-non-prototype] 1002 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | static void SensitiveSearch(), WraparoundSearch(); | ^ xrolo.c:1035:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1035 | 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 C23 [-Wdeprecated-non-prototype] 1036 | open_rolodex_file(filename); | ^ xrolo.c:1037:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1037 | 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 C23 [-Wdeprecated-non-prototype] 1019 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | 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 C23 [-Wdeprecated-non-prototype] 1061 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | 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 C23 [-Wdeprecated-non-prototype] 1084 | 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] 1085 | 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 C23 [-Wdeprecated-non-prototype] 1086 | 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 C23 [-Wdeprecated-non-prototype] 1087 | cleanup_and_exit(w); | ^ xrolo.c:1089:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1089 | 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 C23 [-Wdeprecated-non-prototype] 1096 | 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 C23 [-Wdeprecated-non-prototype] 1075 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static void SaveUnsavedChanges(), DiscardUnsavedChanges(), | ^ xrolo.c:1114:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1114 | 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 C23 [-Wdeprecated-non-prototype] 1115 | 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 C23 [-Wdeprecated-non-prototype] 1116 | cleanup_and_exit(w); | ^ xrolo.c:1118:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1118 | 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 C23 [-Wdeprecated-non-prototype] 1125 | 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 C23 [-Wdeprecated-non-prototype] 1109 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | static void SaveUnsavedChanges(), DiscardUnsavedChanges(), | ^ xrolo.c:1143:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1143 | 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 C23 [-Wdeprecated-non-prototype] 1144 | dialog_deactivate(exitUnsavedDialog); | ^ xrolo.c:1145:11: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1145 | 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 C23 [-Wdeprecated-non-prototype] --- xrolo.db.o --- 81 warnings generated. --- xrolo.o --- 1146 | 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 C23 [-Wdeprecated-non-prototype] 1138 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | CancelUnsavedChanges(); | ^ xrolo.c:1156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | 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 C23 [-Wdeprecated-non-prototype] 1171 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | 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 C23 [-Wdeprecated-non-prototype] 1185 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | 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 C23 [-Wdeprecated-non-prototype] 1201 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | 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 C23 [-Wdeprecated-non-prototype] 1216 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | 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 C23 [-Wdeprecated-non-prototype] 1240 | 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 C23 [-Wdeprecated-non-prototype] 1229 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 1259 | 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 C23 [-Wdeprecated-non-prototype] 1248 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 1267 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 1282 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 1306 | 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 C23 [-Wdeprecated-non-prototype] 1308 | 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 C23 [-Wdeprecated-non-prototype] 1298 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 1317 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 1339 | 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 C23 [-Wdeprecated-non-prototype] 1332 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] --- xrolo.index.o --- --- xrolo.o --- 1354 | 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 C23 [-Wdeprecated-non-prototype] 1347 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] 1370 | 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 C23 [-Wdeprecated-non-prototype] 1374 | 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] 1376 | 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 C23 [-Wdeprecated-non-prototype] 1377 | !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 C23 [-Wdeprecated-non-prototype] 1378 | 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 C23 [-Wdeprecated-non-prototype] 1362 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] 1395 | 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 C23 [-Wdeprecated-non-prototype] 1398 | 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 C23 [-Wdeprecated-non-prototype] 1401 | 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 C23 [-Wdeprecated-non-prototype] 1401 | 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 C23 [-Wdeprecated-non-prototype] 1410 | 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 C23 [-Wdeprecated-non-prototype] 1412 | 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 C23 [-Wdeprecated-non-prototype] 1412 | 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] 1415 | 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 C23 [-Wdeprecated-non-prototype] 1416 | !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 C23 [-Wdeprecated-non-prototype] 1417 | 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 C23 [-Wdeprecated-non-prototype] 1386 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] 1434 | 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 C23 [-Wdeprecated-non-prototype] 1425 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] 1454 | 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 C23 [-Wdeprecated-non-prototype] 1455 | 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 C23 [-Wdeprecated-non-prototype] 1458 | 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 C23 [-Wdeprecated-non-prototype] 1444 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 1475 | 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] 1479 | 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 C23 [-Wdeprecated-non-prototype] 1480 | 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 C23 [-Wdeprecated-non-prototype] 1480 | 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 C23 [-Wdeprecated-non-prototype] 1482 | 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] 1483 | 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 C23 [-Wdeprecated-non-prototype] 1484 | !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 C23 [-Wdeprecated-non-prototype] 1485 | 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 C23 [-Wdeprecated-non-prototype] 1467 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 1498 | 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 C23 [-Wdeprecated-non-prototype] 1493 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 1519 | 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 C23 [-Wdeprecated-non-prototype] 1526 | 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 C23 [-Wdeprecated-non-prototype] 1530 | 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 C23 [-Wdeprecated-non-prototype] 1531 | 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 C23 [-Wdeprecated-non-prototype] 1534 | 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 C23 [-Wdeprecated-non-prototype] 1511 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | 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 C23 [-Wdeprecated-non-prototype] --- xrolo.index.o --- 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.o --- 1546 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | 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 C23 [-Wdeprecated-non-prototype] 1566 | 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 C23 [-Wdeprecated-non-prototype] 1560 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | 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 C23 [-Wdeprecated-non-prototype] 1579 | 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 C23 [-Wdeprecated-non-prototype] 1574 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 1596 | 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 C23 [-Wdeprecated-non-prototype] 1602 | 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 C23 [-Wdeprecated-non-prototype] 1588 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 1614 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 1628 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 1646 | 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 C23 [-Wdeprecated-non-prototype] 1641 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 1663 | 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 C23 [-Wdeprecated-non-prototype] 1669 | 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] 1672 | 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 C23 [-Wdeprecated-non-prototype] 1673 | !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 C23 [-Wdeprecated-non-prototype] 1674 | 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 C23 [-Wdeprecated-non-prototype] 1655 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | 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 C23 [-Wdeprecated-non-prototype] 1684 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | 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] 1704 | 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 C23 [-Wdeprecated-non-prototype] 1705 | !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 C23 [-Wdeprecated-non-prototype] 1706 | 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 C23 [-Wdeprecated-non-prototype] 1698 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | 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 C23 [-Wdeprecated-non-prototype] 1725 | 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 C23 [-Wdeprecated-non-prototype] 1720 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | 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 C23 [-Wdeprecated-non-prototype] 1741 | 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 C23 [-Wdeprecated-non-prototype] 1756 | 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 C23 [-Wdeprecated-non-prototype] 1769 | 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 C23 [-Wdeprecated-non-prototype] 1774 | 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 C23 [-Wdeprecated-non-prototype] 1765 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | 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 C23 [-Wdeprecated-non-prototype] 1806 | 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] 1816 | 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 C23 [-Wdeprecated-non-prototype] 1817 | !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 C23 [-Wdeprecated-non-prototype] 1818 | 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 C23 [-Wdeprecated-non-prototype] 1832 | 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 C23 [-Wdeprecated-non-prototype] 1832 | 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 C23 [-Wdeprecated-non-prototype] 1834 | 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 C23 [-Wdeprecated-non-prototype] 1869 | 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 C23 [-Wdeprecated-non-prototype] 1874 | 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 C23 [-Wdeprecated-non-prototype] 1876 | 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 C23 [-Wdeprecated-non-prototype] 1878 | 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 C23 [-Wdeprecated-non-prototype] 1894 | 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 C23 [-Wdeprecated-non-prototype] 1899 | 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 C23 [-Wdeprecated-non-prototype] 1901 | 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 C23 [-Wdeprecated-non-prototype] 1903 | 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 C23 [-Wdeprecated-non-prototype] 1925 | 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 C23 [-Wdeprecated-non-prototype] 1927 | 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 C23 [-Wdeprecated-non-prototype] 1927 | 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 C23 [-Wdeprecated-non-prototype] 1929 | 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] 1931 | 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 C23 [-Wdeprecated-non-prototype] 1932 | !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 C23 [-Wdeprecated-non-prototype] 1933 | 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 C23 [-Wdeprecated-non-prototype] 1913 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | 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 C23 [-Wdeprecated-non-prototype] 1943 | 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 C23 [-Wdeprecated-non-prototype] 1944 | 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 C23 [-Wdeprecated-non-prototype] 1960 | 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 C23 [-Wdeprecated-non-prototype] 1961 | 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 C23 [-Wdeprecated-non-prototype] 1998 | 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 C23 [-Wdeprecated-non-prototype] 1998 | 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 C23 [-Wdeprecated-non-prototype] 1994 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | 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 C23 [-Wdeprecated-non-prototype] 2011 | 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 C23 [-Wdeprecated-non-prototype] 2032 | 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 C23 [-Wdeprecated-non-prototype] 2048 | 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 C23 [-Wdeprecated-non-prototype] 2049 | 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 C23 [-Wdeprecated-non-prototype] 2050 | 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 C23 [-Wdeprecated-non-prototype] 2041 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 2065 | 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 C23 [-Wdeprecated-non-prototype] 2066 | 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 C23 [-Wdeprecated-non-prototype] 2062 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | 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 C23 [-Wdeprecated-non-prototype] 2095 | 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 C23 [-Wdeprecated-non-prototype] 2096 | 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 C23 [-Wdeprecated-non-prototype] 2097 | 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 C23 [-Wdeprecated-non-prototype] 2098 | 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 C23 [-Wdeprecated-non-prototype] 2099 | 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 C23 [-Wdeprecated-non-prototype] 2100 | 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 C23 [-Wdeprecated-non-prototype] 2101 | 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 C23 [-Wdeprecated-non-prototype] 2102 | 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 C23 [-Wdeprecated-non-prototype] 2103 | 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 C23 [-Wdeprecated-non-prototype] 2104 | 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 C23 [-Wdeprecated-non-prototype] 2074 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | 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 C23 [-Wdeprecated-non-prototype] 2127 | 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 C23 [-Wdeprecated-non-prototype] 2128 | 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 C23 [-Wdeprecated-non-prototype] 2129 | 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 C23 [-Wdeprecated-non-prototype] 2130 | 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 C23 [-Wdeprecated-non-prototype] 2131 | 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 C23 [-Wdeprecated-non-prototype] 2132 | 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 C23 [-Wdeprecated-non-prototype] 2133 | 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 C23 [-Wdeprecated-non-prototype] 2134 | 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 C23 [-Wdeprecated-non-prototype] 2135 | 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 C23 [-Wdeprecated-non-prototype] 2136 | 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 C23 [-Wdeprecated-non-prototype] 2144 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 2146 | (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 C23 [-Wdeprecated-non-prototype] 2147 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 2149 | (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 C23 [-Wdeprecated-non-prototype] 2150 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 2152 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 2154 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 2156 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 2158 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 2160 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 2162 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 2164 | 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 C23 [-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 C23 [-Wdeprecated-non-prototype] 2115 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | 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 C23 [-Wdeprecated-non-prototype] 2205 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | static int convert_delimiter_string(); | ^ 322 warnings generated. --- help.o --- 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 --- xrolo.index.o --- xrolo.index.c:62:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | 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 C23 [-Wdeprecated-non-prototype] 81 | 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 C23 [-Wdeprecated-non-prototype] 84 | 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 C23 [-Wdeprecated-non-prototype] 85 | 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 C23 [-Wdeprecated-non-prototype] 76 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 27 | 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 C23 [-Wdeprecated-non-prototype] 97 | listShell_free_list(entryIndex); | ^ 8 warnings generated. --- streamdb.o --- 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 --- help.o --- 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 C23 [-Wdeprecated-non-prototype] 181 | 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 C23 [-Wdeprecated-non-prototype] 182 | 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 C23 [-Wdeprecated-non-prototype] 72 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | 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 C23 [-Wdeprecated-non-prototype] 236 | 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 C23 [-Wdeprecated-non-prototype] 213 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | 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 C23 [-Wdeprecated-non-prototype] 248 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | 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 C23 [-Wdeprecated-non-prototype] 274 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | 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 C23 [-Wdeprecated-non-prototype] 287 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | static void HelpDismiss(); | ^ --- streamdb.o --- streamdb.c:128:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | 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 C23 [-Wdeprecated-non-prototype] 182 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | 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 C23 [-Wdeprecated-non-prototype] 194 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | 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 C23 [-Wdeprecated-non-prototype] 206 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | 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 C23 [-Wdeprecated-non-prototype] 218 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | 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 C23 [-Wdeprecated-non-prototype] 230 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | 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 C23 [-Wdeprecated-non-prototype] 243 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | 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 C23 [-Wdeprecated-non-prototype] 256 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | 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 C23 [-Wdeprecated-non-prototype] 275 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | 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 C23 [-Wdeprecated-non-prototype] 287 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | 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 C23 [-Wdeprecated-non-prototype] 300 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | 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 C23 [-Wdeprecated-non-prototype] 315 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | 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 C23 [-Wdeprecated-non-prototype] 340 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | 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 C23 [-Wdeprecated-non-prototype] 357 | 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 C23 [-Wdeprecated-non-prototype] 353 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | 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 C23 [-Wdeprecated-non-prototype] 366 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | 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 C23 [-Wdeprecated-non-prototype] 378 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | 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 C23 [-Wdeprecated-non-prototype] 414 | 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 C23 [-Wdeprecated-non-prototype] 399 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | 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 C23 [-Wdeprecated-non-prototype] 430 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | 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 C23 [-Wdeprecated-non-prototype] 454 | 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 C23 [-Wdeprecated-non-prototype] 458 | 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 C23 [-Wdeprecated-non-prototype] 460 | 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 C23 [-Wdeprecated-non-prototype] 448 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | 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 C23 [-Wdeprecated-non-prototype] 483 | 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 C23 [-Wdeprecated-non-prototype] 477 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | 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 C23 [-Wdeprecated-non-prototype] 500 | 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 C23 [-Wdeprecated-non-prototype] 503 | 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 C23 [-Wdeprecated-non-prototype] 496 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | 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 C23 [-Wdeprecated-non-prototype] 520 | 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 C23 [-Wdeprecated-non-prototype] 516 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | 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 C23 [-Wdeprecated-non-prototype] 529 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | 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 C23 [-Wdeprecated-non-prototype] 549 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | 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 C23 [-Wdeprecated-non-prototype] 622 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | 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 C23 [-Wdeprecated-non-prototype] 691 | 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 C23 [-Wdeprecated-non-prototype] 699 | 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 C23 [-Wdeprecated-non-prototype] 708 | 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 C23 [-Wdeprecated-non-prototype] 716 | 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 C23 [-Wdeprecated-non-prototype] 680 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | 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 C23 [-Wdeprecated-non-prototype] 744 | if (string_search_insensitive(entry->text, search_text, 0) != | ^ --- help.o --- 13 warnings generated. --- streamdb.o --- 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 C23 [-Wdeprecated-non-prototype] 752 | 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 C23 [-Wdeprecated-non-prototype] 761 | 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 C23 [-Wdeprecated-non-prototype] 769 | 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 C23 [-Wdeprecated-non-prototype] 733 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | 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 C23 [-Wdeprecated-non-prototype] 795 | 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 C23 [-Wdeprecated-non-prototype] 797 | 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 C23 [-Wdeprecated-non-prototype] 801 | 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 C23 [-Wdeprecated-non-prototype] 786 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | 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 C23 [-Wdeprecated-non-prototype] 810 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | 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 C23 [-Wdeprecated-non-prototype] 832 | 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 C23 [-Wdeprecated-non-prototype] 829 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | 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 C23 [-Wdeprecated-non-prototype] 857 | 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 C23 [-Wdeprecated-non-prototype] 858 | 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 C23 [-Wdeprecated-non-prototype] 845 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 909 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 937 | 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 C23 [-Wdeprecated-non-prototype] 931 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | 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 C23 [-Wdeprecated-non-prototype] 952 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | 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 C23 [-Wdeprecated-non-prototype] 976 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | static int write_to_disk(); | ^ --- ctrlpanel.o --- --- streamdb.o --- streamdb.c:1012:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | 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 C23 [-Wdeprecated-non-prototype] 1035 | 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 C23 [-Wdeprecated-non-prototype] 1030 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 1052 | 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 C23 [-Wdeprecated-non-prototype] 1046 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | 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 C23 [-Wdeprecated-non-prototype] 1075 | 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 C23 [-Wdeprecated-non-prototype] 1086 | 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 C23 [-Wdeprecated-non-prototype] 1064 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | 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 C23 [-Wdeprecated-non-prototype] 1107 | 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 C23 [-Wdeprecated-non-prototype] 1109 | 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 C23 [-Wdeprecated-non-prototype] 1100 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | 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 C23 [-Wdeprecated-non-prototype] 1124 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | 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 C23 [-Wdeprecated-non-prototype] 1161 | 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 C23 [-Wdeprecated-non-prototype] 1156 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | 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 C23 [-Wdeprecated-non-prototype] 1171 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | 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 C23 [-Wdeprecated-non-prototype] 1189 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | static void update_linked_list(); | ^ --- ctrlpanel.o --- 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 --- streamdb.o --- 121 warnings generated. --- editor.o --- 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 --- ctrlpanel.o --- ctrlpanel.c:87:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 162 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | 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 C23 [-Wdeprecated-non-prototype] 177 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | 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 C23 [-Wdeprecated-non-prototype] 184 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 191 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | extern Widget ctrlPanel_ctrlBox(); | ^ 10 warnings generated. --- listshell.o --- 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 --- editor.o --- 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 C23 [-Wdeprecated-non-prototype] 181 | 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 C23 [-Wdeprecated-non-prototype] 186 | 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 C23 [-Wdeprecated-non-prototype] 408 | 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 C23 [-Wdeprecated-non-prototype] 139 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | 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 C23 [-Wdeprecated-non-prototype] 417 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | 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 C23 [-Wdeprecated-non-prototype] 431 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | 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 C23 [-Wdeprecated-non-prototype] 443 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | 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 C23 [-Wdeprecated-non-prototype] 455 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | 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 C23 [-Wdeprecated-non-prototype] 467 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | 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 C23 [-Wdeprecated-non-prototype] 478 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | 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 C23 [-Wdeprecated-non-prototype] 494 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 119 | 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 C23 [-Wdeprecated-non-prototype] 501 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | 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 C23 [-Wdeprecated-non-prototype] 508 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 121 | 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 C23 [-Wdeprecated-non-prototype] 515 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 122 | 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 C23 [-Wdeprecated-non-prototype] 523 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | 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 C23 [-Wdeprecated-non-prototype] 531 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | 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 C23 [-Wdeprecated-non-prototype] 539 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | 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 C23 [-Wdeprecated-non-prototype] 547 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | 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 C23 [-Wdeprecated-non-prototype] 555 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 128 | 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 C23 [-Wdeprecated-non-prototype] 563 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 129 | 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 C23 [-Wdeprecated-non-prototype] 571 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 130 | 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 C23 [-Wdeprecated-non-prototype] 579 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 131 | 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 C23 [-Wdeprecated-non-prototype] 586 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 132 | 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 C23 [-Wdeprecated-non-prototype] 593 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 133 | 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 C23 [-Wdeprecated-non-prototype] 600 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 134 | 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 C23 [-Wdeprecated-non-prototype] 607 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 135 | 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 C23 [-Wdeprecated-non-prototype] 614 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 136 | 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 C23 [-Wdeprecated-non-prototype] 621 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 137 | 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 C23 [-Wdeprecated-non-prototype] 628 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 138 | 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 C23 [-Wdeprecated-non-prototype] 635 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | 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 C23 [-Wdeprecated-non-prototype] 642 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 140 | 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 C23 [-Wdeprecated-non-prototype] 649 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | 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 C23 [-Wdeprecated-non-prototype] 656 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 142 | 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 C23 [-Wdeprecated-non-prototype] 663 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | 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 C23 [-Wdeprecated-non-prototype] 670 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 144 | 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 C23 [-Wdeprecated-non-prototype] 677 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 145 | 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 C23 [-Wdeprecated-non-prototype] 684 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 146 | 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 C23 [-Wdeprecated-non-prototype] 691 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 147 | 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 C23 [-Wdeprecated-non-prototype] 698 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 148 | 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 C23 [-Wdeprecated-non-prototype] 705 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 149 | 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 C23 [-Wdeprecated-non-prototype] 729 | 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 C23 [-Wdeprecated-non-prototype] 721 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | 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 C23 [-Wdeprecated-non-prototype] 753 | 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 C23 [-Wdeprecated-non-prototype] 745 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | 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 C23 [-Wdeprecated-non-prototype] 778 | 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 C23 [-Wdeprecated-non-prototype] 779 | 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 C23 [-Wdeprecated-non-prototype] 768 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | 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 C23 [-Wdeprecated-non-prototype] 797 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | 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 C23 [-Wdeprecated-non-prototype] 845 | 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 C23 [-Wdeprecated-non-prototype] 850 | 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 C23 [-Wdeprecated-non-prototype] 834 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | 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 C23 [-Wdeprecated-non-prototype] 870 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | 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 C23 [-Wdeprecated-non-prototype] 888 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | 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 C23 [-Wdeprecated-non-prototype] 915 | 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 C23 [-Wdeprecated-non-prototype] 919 | 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 C23 [-Wdeprecated-non-prototype] 904 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | 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 C23 [-Wdeprecated-non-prototype] 952 | 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 C23 [-Wdeprecated-non-prototype] 939 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | 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 C23 [-Wdeprecated-non-prototype] 966 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 986 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | 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 C23 [-Wdeprecated-non-prototype] 1004 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | 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 C23 [-Wdeprecated-non-prototype] 1038 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | static char *retrieve_from_clipboard(); | ^ --- listshell.o --- 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 C23 [-Wdeprecated-non-prototype] 155 | 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 C23 [-Wdeprecated-non-prototype] 246 | 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 C23 [-Wdeprecated-non-prototype] 94 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 259 | 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 C23 [-Wdeprecated-non-prototype] 255 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | 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 C23 [-Wdeprecated-non-prototype] 274 | 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 C23 [-Wdeprecated-non-prototype] 269 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | 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 C23 [-Wdeprecated-non-prototype] 291 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 310 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | 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 C23 [-Wdeprecated-non-prototype] 321 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | 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 C23 [-Wdeprecated-non-prototype] 336 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 350 | 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 C23 [-Wdeprecated-non-prototype] 362 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | 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 C23 [-Wdeprecated-non-prototype] 377 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | 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 C23 [-Wdeprecated-non-prototype] 384 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | 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 C23 [-Wdeprecated-non-prototype] 391 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | 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 C23 [-Wdeprecated-non-prototype] 398 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | 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 C23 [-Wdeprecated-non-prototype] 405 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | 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 C23 [-Wdeprecated-non-prototype] 412 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | 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 C23 [-Wdeprecated-non-prototype] 419 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | 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 C23 [-Wdeprecated-non-prototype] 426 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | 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 C23 [-Wdeprecated-non-prototype] 442 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | 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 C23 [-Wdeprecated-non-prototype] 476 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | static void ListShellDismiss(); | ^ --- editor.o --- 112 warnings generated. --- dialog.o --- --- listshell.o --- 41 warnings generated. --- dialog.o --- 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 --- strstr.o --- 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 C23 [-Wdeprecated-non-prototype] 49 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | 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 C23 [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 88 | 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 C23 [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 91 | 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 C23 [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 94 | 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 C23 [-Wdeprecated-non-prototype] 79 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | 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 C23 [-Wdeprecated-non-prototype] 112 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23 [-Wdeprecated-non-prototype] 158 | 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 C23 [-Wdeprecated-non-prototype] 161 | 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 C23 [-Wdeprecated-non-prototype] 161 | 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 C23 [-Wdeprecated-non-prototype] 164 | 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 C23 [-Wdeprecated-non-prototype] 164 | 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 C23 [-Wdeprecated-non-prototype] 149 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | 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 C23 [-Wdeprecated-non-prototype] 180 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | static char get_upper(); | ^ 22 warnings generated. --- motif.o --- 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 --- dialog.o --- 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 C23 [-Wdeprecated-non-prototype] 344 | 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 C23 [-Wdeprecated-non-prototype] 172 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 174 | 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 C23 [-Wdeprecated-non-prototype] 353 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 175 | 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 C23 [-Wdeprecated-non-prototype] 368 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 176 | 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 C23 [-Wdeprecated-non-prototype] 388 | 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 C23 [-Wdeprecated-non-prototype] 390 | 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 C23 [-Wdeprecated-non-prototype] 382 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 177 | 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 C23 [-Wdeprecated-non-prototype] 400 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 178 | 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 C23 [-Wdeprecated-non-prototype] 423 | 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 C23 [-Wdeprecated-non-prototype] 424 | 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 C23 [-Wdeprecated-non-prototype] 425 | 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 C23 [-Wdeprecated-non-prototype] 415 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 179 | 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 C23 [-Wdeprecated-non-prototype] 440 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 180 | 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 C23 [-Wdeprecated-non-prototype] 462 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 181 | 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 C23 [-Wdeprecated-non-prototype] 475 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 182 | 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 C23 [-Wdeprecated-non-prototype] 490 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 183 | 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 C23 [-Wdeprecated-non-prototype] 503 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 184 | 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 C23 [-Wdeprecated-non-prototype] 515 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 185 | 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 C23 [-Wdeprecated-non-prototype] 532 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 186 | 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 C23 [-Wdeprecated-non-prototype] 549 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 187 | 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 C23 [-Wdeprecated-non-prototype] 556 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | 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 C23 [-Wdeprecated-non-prototype] 563 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | 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 C23 [-Wdeprecated-non-prototype] 570 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 190 | 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 C23 [-Wdeprecated-non-prototype] 577 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 191 | 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 C23 [-Wdeprecated-non-prototype] 584 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 192 | 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 C23 [-Wdeprecated-non-prototype] 591 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 193 | 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 C23 [-Wdeprecated-non-prototype] 598 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 194 | 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 C23 [-Wdeprecated-non-prototype] 614 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 151 | 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 C23 [-Wdeprecated-non-prototype] 633 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 152 | 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 C23 [-Wdeprecated-non-prototype] 663 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 159 | 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 C23 [-Wdeprecated-non-prototype] 685 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 160 | static void position_dialog(); | ^ 56 warnings generated. --- xrolodex._man --- 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 --- motif.o --- motif.c:38:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | 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 C23 [-Wdeprecated-non-prototype] 112 | 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 C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | extern void remove_sash_traversal(); | ^ 4 warnings generated. --- xrolodex --- 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