=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/net/tinyfugue", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for tf-4.0s1nb9 Configuring TinyFugue version 4.0 stable 1 TF binary will be installed as /opt/pkg/bin/tf-40s1 with a symbolic link: /opt/pkg/bin/tf Library, help, and utilities: /opt/pkg/lib/tf-40s1-lib/ Default mail directory: /usr/mail/ Man page will be installed in /opt/pkg/share/man/man1/tf.1 in nroff format To change these locations type "n" now and edit the unix/Config file. Will compile with: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses Preprocessor: cpp Ah ha, gcc is GNU C gcc (GCC) 15.2.0 Copyright (C) 2025 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Right on, your system is POSIX. Found . Found . Found . Found . Found . Found . Found . Found . Found . Found . Found . Testing for library symbols... Found bcopy. Found bsearch. Found bzero. Did not find connect, but that's ok. Found fileno. Found getcwd. Did not find gethostbyname, but that's ok. Found getpwnam. Found gettimeofday. Found getwd. Did not find h_errno, but that's ok. Did not find hstrerror, but that's ok. Found index. Found kill. Found memcpy. Found memset. Found raise. Found setlocale. Found sigaction. Found srand. Found srandom. Found strcasecmp. Found strchr. Did not find strcmpi, but that's ok. Found strcspn. Found strerror. Found strftime. Did not find stricmp, but that's ok. Found strstr. Found strtod. Found strtol. Found tzset. Found waitpid. Testing case conversion... ./tfconfig[645]: .//tmp/work/net/tinyfugue/work/tf-40s1/unix/tfconfig.out: not found [No such file or directory] Case conversion is broken, I'll have to use my own. Testing type of signal handlers... Signal handlers return void, as they should. Testing for time_t... Assuming time() returns long. Creating linker test... Will link with -lnsl for gethostbyname(). Will link with -lsocket for connect(), etc. WARNING: Can't link with term library. Will use hardcoded terminal codes: HARDCODE TERM_vt100 Will link with -lm math library. Using . cd ./src; { /opt/pkg/bin/bmake all 2>&1; echo; cat exitmsg; } | { tee -a ../Build.log || cat; } gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c command.c command.c: In function 'find_command': command.c:141:10: warning: old-style function definition [-Wold-style-definition] 141 | Handler *find_command(name) | ^~~~~~~~~~~~ command.c: In function 'handle_trigger_command': command.c:151:22: warning: old-style function definition [-Wold-style-definition] 151 | static struct Value *handle_trigger_command(args) | ^~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_substitute_func': command.c:199:5: warning: old-style function definition [-Wold-style-definition] 199 | int handle_substitute_func(string, attrstr, inline_flag) | ^~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_connect_command': command.c:235:22: warning: old-style function definition [-Wold-style-definition] 235 | static struct Value *handle_connect_command(args) | ^~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_localecho_command': command.c:257:22: warning: old-style function definition [-Wold-style-definition] 257 | static struct Value *handle_localecho_command(args) | ^~~~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_set_command': command.c:270:22: warning: old-style function definition [-Wold-style-definition] 270 | static struct Value *handle_set_command(args) | ^~~~~~~~~~~~~~~~~~ command.c: In function 'handle_setenv_command': command.c:276:22: warning: old-style function definition [-Wold-style-definition] 276 | static struct Value *handle_setenv_command(args) | ^~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_let_command': command.c:282:22: warning: old-style function definition [-Wold-style-definition] 282 | static struct Value *handle_let_command(args) | ^~~~~~~~~~~~~~~~~~ command.c: In function 'handle_quit_command': command.c:292:22: warning: old-style function definition [-Wold-style-definition] 292 | static struct Value *handle_quit_command(args) | ^~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_sh_command': command.c:299:22: warning: old-style function definition [-Wold-style-definition] 299 | static struct Value *handle_sh_command(args) | ^~~~~~~~~~~~~~~~~ command.c: In function 'handle_suspend_command': command.c:334:22: warning: old-style function definition [-Wold-style-definition] 334 | static struct Value *handle_suspend_command(args) | ^~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_version_command': command.c:340:22: warning: old-style function definition [-Wold-style-definition] 340 | static struct Value *handle_version_command(args) | ^~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_lcd_command': command.c:351:22: warning: old-style function definition [-Wold-style-definition] 351 | static struct Value *handle_lcd_command(args) | ^~~~~~~~~~~~~~~~~~ command.c: In function 'handle_echo_func': command.c:373:5: warning: old-style function definition [-Wold-style-definition] 373 | int handle_echo_func(string, attrstr, inline_flag, dest) | ^~~~~~~~~~~~~~~~ command.c: In function 'handle_restrict_command': command.c:421:22: warning: old-style function definition [-Wold-style-definition] 421 | static struct Value *handle_restrict_command(args) | ^~~~~~~~~~~~~~~~~~~~~~~ command.c: In function 'do_file_load': command.c:445:5: warning: old-style function definition [-Wold-style-definition] 445 | int do_file_load(args, tinytalk) | ^~~~~~~~~~~~ command.c: In function 'handle_beep_command': command.c:569:22: warning: old-style function definition [-Wold-style-definition] 569 | static struct Value *handle_beep_command(args) | ^~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_undef_command': command.c:588:22: warning: old-style function definition [-Wold-style-definition] 588 | static struct Value *handle_undef_command(args) /* Undefine a macro. */ | ^~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_save_command': command.c:599:22: warning: old-style function definition [-Wold-style-definition] 599 | static struct Value *handle_save_command(args) | ^~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_exit_command': command.c:611:15: warning: old-style function definition [-Wold-style-definition] 611 | struct Value *handle_exit_command(args) | ^~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_load_command': command.c:620:22: warning: old-style function definition [-Wold-style-definition] 620 | static struct Value *handle_load_command(args) | ^~~~~~~~~~~~~~~~~~~ command.c: In function 'split_args': command.c:650:13: warning: old-style function definition [-Wold-style-definition] 650 | static void split_args(args) | ^~~~~~~~~~ command.c: In function 'handle_hilite_command': command.c:665:22: warning: old-style function definition [-Wold-style-definition] 665 | static struct Value *handle_hilite_command(args) | ^~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_gag_command': command.c:684:22: warning: old-style function definition [-Wold-style-definition] 684 | static struct Value *handle_gag_command(args) | ^~~~~~~~~~~~~~~~~~ command.c: In function 'handle_trigpc_command': command.c:703:22: warning: old-style function definition [-Wold-style-definition] 703 | static struct Value *handle_trigpc_command(args) | ^~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_untrig_command': command.c:715:22: warning: old-style function definition [-Wold-style-definition] 715 | static struct Value *handle_untrig_command(args) | ^~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_hook_command': command.c:734:22: warning: old-style function definition [-Wold-style-definition] 734 | static struct Value *handle_hook_command(args) | ^~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_unhook_command': command.c:748:22: warning: old-style function definition [-Wold-style-definition] 748 | static struct Value *handle_unhook_command(args) | ^~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_unbind_command': command.c:759:22: warning: old-style function definition [-Wold-style-definition] 759 | static struct Value *handle_unbind_command(args) | ^~~~~~~~~~~~~~~~~~~~~ command.c: In function 'handle_bind_command': command.c:770:22: warning: old-style function definition [-Wold-style-definition] 770 | static struct Value *handle_bind_command(args) | ^~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c dstring.c dstring.c: In function 'dSinit': dstring.c:31:9: warning: old-style function definition [-Wold-style-definition] 31 | String *dSinit(str, size, file, line) | ^~~~~~ dstring.c: In function 'dSfree': dstring.c:48:6: warning: old-style function definition [-Wold-style-definition] 48 | void dSfree(str, file, line) | ^~~~~~ dstring.c: In function 'resize': dstring.c:62:13: warning: old-style function definition [-Wold-style-definition] 62 | static void resize(str, file, line) | ^~~~~~ dstring.c: In function 'dSadd': dstring.c:87:9: warning: old-style function definition [-Wold-style-definition] 87 | String *dSadd(str, c, file, line) | ^~~~~ dstring.c: In function 'dSnadd': dstring.c:100:9: warning: old-style function definition [-Wold-style-definition] 100 | String *dSnadd(str, c, n, file, line) | ^~~~~~ dstring.c: In function 'dSterm': dstring.c:115:9: warning: old-style function definition [-Wold-style-definition] 115 | String *dSterm(str, len, file, line) | ^~~~~~ dstring.c: In function 'dScpy': dstring.c:132:9: warning: old-style function definition [-Wold-style-definition] 132 | String *dScpy(dest, src, file, line) | ^~~~~ dstring.c: In function 'dSScpy': dstring.c:144:9: warning: old-style function definition [-Wold-style-definition] 144 | String *dSScpy(dest, src, file, line) | ^~~~~~ dstring.c: In function 'dSncpy': dstring.c:156:9: warning: old-style function definition [-Wold-style-definition] 156 | String *dSncpy(dest, src, n, file, line) | ^~~~~~ dstring.c: In function 'dScat': dstring.c:174:9: warning: old-style function definition [-Wold-style-definition] 174 | String *dScat(dest, src, file, line) | ^~~~~ dstring.c: In function 'dSScat': dstring.c:188:9: warning: old-style function definition [-Wold-style-definition] 188 | String *dSScat(dest, src, file, line) | ^~~~~~ dstring.c: In function 'dSncat': dstring.c:203:9: warning: old-style function definition [-Wold-style-definition] 203 | String *dSncat(dest, src, n, file, line) | ^~~~~~ dstring.c: In function 'dSfncat': dstring.c:223:9: warning: old-style function definition [-Wold-style-definition] 223 | String *dSfncat(dest, src, n, file, line) | ^~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c expand.c expand.c: In function 'handle_eval_command': expand.c:79:15: warning: old-style function definition [-Wold-style-definition] 79 | struct Value *handle_eval_command(args) | ^~~~~~~~~~~~~~~~~~~ expand.c: In function 'handle_test_command': expand.c:100:15: warning: old-style function definition [-Wold-style-definition] 100 | struct Value *handle_test_command(args) | ^~~~~~~~~~~~~~~~~~~ expand.c: In function 'handle_return_command': expand.c:114:15: warning: old-style function definition [-Wold-style-definition] 114 | struct Value *handle_return_command(args) | ^~~~~~~~~~~~~~~~~~~~~ expand.c: In function 'handle_result_command': expand.c:128:15: warning: old-style function definition [-Wold-style-definition] 128 | struct Value *handle_result_command(args) | ^~~~~~~~~~~~~~~~~~~~~ expand.c: In function 'handle_command': expand.c:142:5: warning: old-style function definition [-Wold-style-definition] 142 | int handle_command(cmd_line) | ^~~~~~~~~~~~~~ expand.c: In function 'process_macro': expand.c:196:5: warning: old-style function definition [-Wold-style-definition] 196 | int process_macro(body, args, subs, name) | ^~~~~~~~~~~~~ expand.c: In function 'list': expand.c:293:12: warning: old-style function definition [-Wold-style-definition] 293 | static int list(dest, subs) | ^~~~ expand.c: In function 'keyword': expand.c:576:14: warning: old-style function definition [-Wold-style-definition] 576 | CONST char **keyword(id) | ^~~~~~~ expand.c: In function 'statement': expand.c:604:12: warning: old-style function definition [-Wold-style-definition] 604 | static int statement(dest, subs) | ^~~~~~~~~ expand.c: In function 'slashsub': expand.c:665:12: warning: old-style function definition [-Wold-style-definition] 665 | static int slashsub(dest) | ^~~~~~~~ expand.c: In function 'parse_error': expand.c:691:6: warning: old-style function definition [-Wold-style-definition] 691 | void parse_error(type, expect) | ^~~~~~~~~~~ expand.c: In function 'exprsub': expand.c:699:5: warning: old-style function definition [-Wold-style-definition] 699 | int exprsub(dest) | ^~~~~~~ expand.c: In function 'cmdsub': expand.c:723:5: warning: old-style function definition [-Wold-style-definition] 723 | int cmdsub(dest) | ^~~~~~ expand.c: In function 'macsub': expand.c:767:5: warning: old-style function definition [-Wold-style-definition] 767 | int macsub(dest) | ^~~~~~ expand.c: In function 'backsub': expand.c:829:12: warning: old-style function definition [-Wold-style-definition] 829 | static int backsub(dest) | ^~~~~~~ expand.c: In function 'varsub': expand.c:843:5: warning: old-style function definition [-Wold-style-definition] 843 | int varsub(dest, sub_warn) | ^~~~~~ expand.c: In function 'conditional_add': expand.c:1057:13: warning: old-style function definition [-Wold-style-definition] 1057 | static void conditional_add(s, c) | ^~~~~~~~~~~~~~~ expand.c: In function 'handle_shift_command': expand.c:1065:15: warning: old-style function definition [-Wold-style-definition] 1065 | struct Value *handle_shift_command(args) | ^~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c expr.c expr.c: In function 'expr_value': expr.c:139:8: warning: old-style function definition [-Wold-style-definition] 139 | Value *expr_value(expression) | ^~~~~~~~~~ expr.c: In function 'expr_value_safe': expr.c:154:8: warning: old-style function definition [-Wold-style-definition] 154 | Value *expr_value_safe(expression) | ^~~~~~~~~~~~~~~ expr.c: In function 'newfloat_fl': expr.c:167:15: warning: old-style function definition [-Wold-style-definition] 167 | static Value *newfloat_fl(f, file, line) | ^~~~~~~~~~~ expr.c: In function 'mathtype': expr.c:184:12: warning: old-style function definition [-Wold-style-definition] 184 | static int mathtype(val) | ^~~~~~~~ expr.c: In function 'newint_fl': expr.c:212:8: warning: old-style function definition [-Wold-style-definition] 212 | Value *newint_fl(i, file, line) | ^~~~~~~~~ expr.c: In function 'newstrid': expr.c:228:8: warning: old-style function definition [-Wold-style-definition] 228 | Value *newstrid(str, len, type, file, line) | ^~~~~~~~ expr.c: In function 'freeval': expr.c:247:6: warning: old-style function definition [-Wold-style-definition] 247 | void freeval(val) | ^~~~~~~ expr.c: In function 'valbool': expr.c:257:5: warning: old-style function definition [-Wold-style-definition] 257 | int valbool(val) | ^~~~~~~ expr.c: In function 'valint': expr.c:268:13: warning: old-style function definition [-Wold-style-definition] 268 | static long valint(val) | ^~~~~~ expr.c: In function 'valfloat': expr.c:295:15: warning: old-style function definition [-Wold-style-definition] 295 | static double valfloat(val) | ^~~~~~~~ expr.c: In function 'valstr': expr.c:318:13: warning: old-style function definition [-Wold-style-definition] 318 | CONST char *valstr(val) | ^~~~~~ expr.c: In function 'vallen': expr.c:343:12: warning: old-style function definition [-Wold-style-definition] 343 | static int vallen(val) | ^~~~~~ expr.c: In function 'pushval': expr.c:350:5: warning: old-style function definition [-Wold-style-definition] 350 | int pushval(val) | ^~~~~~~ expr.c: In function 'reduce': expr.c:363:12: warning: old-style function definition [-Wold-style-definition] 363 | static int reduce(op, n) | ^~~~~~ expr.c: In function 'function_switch': expr.c:520:15: warning: old-style function definition [-Wold-style-definition] 520 | static Value *function_switch(symbol, n, parent) | ^~~~~~~~~~~~~~~ expr.c: In function 'do_function': expr.c:968:15: warning: old-style function definition [-Wold-style-definition] 968 | static Value *do_function(n) | ^~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c help.c help.c: In function 'handle_help_command': help.c:32:15: warning: old-style function definition [-Wold-style-definition] 32 | struct Value *handle_help_command(args) | ^~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c history.c history.c: In function 'init_history': history.c:62:17: warning: old-style function definition [-Wold-style-definition] 62 | struct History *init_history(hist, maxsize) | ^~~~~~~~~~~~ history.c: In function 'alloc_history': history.c:74:13: warning: old-style function definition [-Wold-style-definition] 74 | static void alloc_history(hist, maxsize) | ^~~~~~~~~~~~~ history.c: In function 'free_history': history.c:110:6: warning: old-style function definition [-Wold-style-definition] 110 | void free_history(hist) | ^~~~~~~~~~~~ history.c: In function 'save_to_hist': history.c:129:13: warning: old-style function definition [-Wold-style-definition] 129 | static void save_to_hist(hist, aline) | ^~~~~~~~~~~~ history.c: In function 'save_to_log': history.c:147:13: warning: old-style function definition [-Wold-style-definition] 147 | static void save_to_log(hist, str) | ^~~~~~~~~~~ history.c: In function 'recordline': history.c:176:6: warning: old-style function definition [-Wold-style-definition] 176 | void recordline(hist, aline) | ^~~~~~~~~~ history.c: In function 'hold_input': history.c:184:13: warning: old-style function definition [-Wold-style-definition] 184 | static void hold_input(str, tv) | ^~~~~~~~~~ history.c: In function 'record_input': history.c:199:6: warning: old-style function definition [-Wold-style-definition] 199 | void record_input(str, tv) | ^~~~~~~~~~~~ history.c: In function 'recall_input': history.c:232:8: warning: old-style function definition [-Wold-style-definition] 232 | Aline *recall_input(dir, searchflag) | ^~~~~~~~~~~~ history.c: In function 'handle_recall_command': history.c:267:15: warning: old-style function definition [-Wold-style-definition] 267 | struct Value *handle_recall_command(args) | ^~~~~~~~~~~~~~~~~~~~~ history.c: In function 'do_recall': history.c:273:5: warning: old-style function definition [-Wold-style-definition] 273 | int do_recall(args) | ^~~~~~~~~ history.c: In function 'do_watch': history.c:485:12: warning: old-style function definition [-Wold-style-definition] 485 | static int do_watch(args, id, wlines, wmatch) | ^~~~~~~~ history.c: In function 'handle_watchdog_command': history.c:513:15: warning: old-style function definition [-Wold-style-definition] 513 | struct Value *handle_watchdog_command(args) | ^~~~~~~~~~~~~~~~~~~~~~~ history.c: In function 'handle_watchname_command': history.c:519:15: warning: old-style function definition [-Wold-style-definition] 519 | struct Value *handle_watchname_command(args) | ^~~~~~~~~~~~~~~~~~~~~~~~ history.c: In function 'is_watchname': history.c:525:5: warning: old-style function definition [-Wold-style-definition] 525 | int is_watchname(hist, aline) | ^~~~~~~~~~~~ history.c: In function 'is_watchdog': history.c:548:5: warning: old-style function definition [-Wold-style-definition] 548 | int is_watchdog(hist, aline) | ^~~~~~~~~~~ history.c: In function 'history_sub': history.c:563:9: warning: old-style function definition [-Wold-style-definition] 563 | String *history_sub(pattern) | ^~~~~~~~~~~ history.c: In function 'stoplog': history.c:588:13: warning: old-style function definition [-Wold-style-definition] 588 | static void stoplog(world) | ^~~~~~~ history.c: In function 'listlog': history.c:595:13: warning: old-style function definition [-Wold-style-definition] 595 | static void listlog(world) | ^~~~~~~ history.c: In function 'next_hist_opt': history.c:609:12: warning: old-style function definition [-Wold-style-definition] 609 | static int next_hist_opt(argp, histp, nump) | ^~~~~~~~~~~~~ history.c: In function 'handle_recordline_command': history.c:641:15: warning: old-style function definition [-Wold-style-definition] 641 | struct Value *handle_recordline_command(args) | ^~~~~~~~~~~~~~~~~~~~~~~~~ history.c: In function 'handle_log_command': history.c:674:15: warning: old-style function definition [-Wold-style-definition] 674 | struct Value *handle_log_command(args) | ^~~~~~~~~~~~~~~~~~ history.c: In function 'handle_histsize_command': history.c:754:15: warning: old-style function definition [-Wold-style-definition] 754 | struct Value *handle_histsize_command(args) | ^~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c keyboard.c keyboard.c: In function 'find_key': keyboard.c:78:8: warning: old-style function definition [-Wold-style-definition] 78 | Macro *find_key(key) | ^~~~~~~~ keyboard.c: In function 'bind_key': keyboard.c:84:5: warning: old-style function definition [-Wold-style-definition] 84 | int bind_key(spec) /* install Macro's binding in key structures */ | ^~~~~~~~ keyboard.c: In function 'unbind_key': keyboard.c:116:6: warning: old-style function definition [-Wold-style-definition] 116 | void unbind_key(macro) | ^~~~~~~~~~ keyboard.c: In function 'handle_keyboard_input': keyboard.c:124:5: warning: old-style function definition [-Wold-style-definition] 124 | int handle_keyboard_input(read_flag) | ^~~~~~~~~~~~~~~~~~~~~ keyboard.c: In function 'handle_input_string': keyboard.c:232:13: warning: old-style function definition [-Wold-style-definition] 232 | static void handle_input_string(input, len) | ^~~~~~~~~~~~~~~~~~~ keyboard.c: In function 'handle_input_command': keyboard.c:262:15: warning: old-style function definition [-Wold-style-definition] 262 | struct Value *handle_input_command(args) | ^~~~~~~~~~~~~~~~~~~~ keyboard.c: In function 'handle_dokey_command': keyboard.c:274:15: warning: old-style function definition [-Wold-style-definition] 274 | struct Value *handle_dokey_command(args) | ^~~~~~~~~~~~~~~~~~~~ keyboard.c: In function 'replace_input': keyboard.c:323:12: warning: old-style function definition [-Wold-style-definition] 323 | static int replace_input(aline) | ^~~~~~~~~~~~~ keyboard.c: In function 'do_kbdel': keyboard.c:338:5: warning: old-style function definition [-Wold-style-definition] 338 | int do_kbdel(place) | ^~~~~~~~ keyboard.c: In function 'do_kbword': keyboard.c:358:5: warning: old-style function definition [-Wold-style-definition] 358 | int do_kbword(start, dir) | ^~~~~~~~~ keyboard.c: In function 'do_kbmatch': keyboard.c:370:5: warning: old-style function definition [-Wold-style-definition] 370 | int do_kbmatch(start) | ^~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c macro.c macro.c: In function 'parse_attrs': macro.c:89:8: warning: old-style function definition [-Wold-style-definition] 89 | attr_t parse_attrs(argp) /* convert attr string to bitfields */ | ^~~~~~~~~~~ macro.c: In function 'parse_hook': macro.c:134:6: warning: old-style function definition [-Wold-style-definition] 134 | long parse_hook(argp) | ^~~~~~~~~~ macro.c: In function 'macro_spec': macro.c:170:15: warning: old-style function definition [-Wold-style-definition] 170 | static Macro *macro_spec(args, xmflag, allowshort) | ^~~~~~~~~~ macro.c: In function 'init_aux_patterns': macro.c:317:17: warning: old-style function definition [-Wold-style-definition] 317 | static Pattern *init_aux_patterns(spec, mflag) | ^~~~~~~~~~~~~~~~~ macro.c: In function 'macro_match': macro.c:342:12: warning: old-style function definition [-Wold-style-definition] 342 | static int macro_match(spec, macro, aux) | ^~~~~~~~~~~ macro.c: In function 'find_macro': macro.c:426:8: warning: old-style function definition [-Wold-style-definition] 426 | Macro *find_macro(name) /* find Macro by name */ | ^~~~~~~~~~ macro.c: In function 'match_exact': macro.c:434:15: warning: old-style function definition [-Wold-style-definition] 434 | static Macro *match_exact(ishook, str, flags) /* find single exact match */ | ^~~~~~~~~~~ macro.c: In function 'new_macro': macro.c:465:8: warning: old-style function definition [-Wold-style-definition] 465 | Macro *new_macro(trig, bind, hook, hargs, body, pri, prob, attr, invis, mflag) | ^~~~~~~~~ macro.c: In function 'add_macro': macro.c:511:5: warning: old-style function definition [-Wold-style-definition] 511 | int add_macro(macro) | ^~~~~~~~~ macro.c: In function 'rpricmp': macro.c:565:12: warning: old-style function definition [-Wold-style-definition] 565 | static int rpricmp(m1, m2) | ^~~~~~~ macro.c: In function 'handle_def_command': macro.c:572:15: warning: old-style function definition [-Wold-style-definition] 572 | struct Value *handle_def_command(args) | ^~~~~~~~~~~~~~~~~~ macro.c: In function 'complete_macro': macro.c:584:12: warning: old-style function definition [-Wold-style-definition] 584 | static int complete_macro(spec) | ^~~~~~~~~~~~~~ macro.c: In function 'add_hook': macro.c:657:5: warning: old-style function definition [-Wold-style-definition] 657 | int add_hook(args, body) /* define a new Macro with hook */ | ^~~~~~~~ macro.c: In function 'handle_edit_command': macro.c:676:15: warning: old-style function definition [-Wold-style-definition] 676 | struct Value *handle_edit_command(args) | ^~~~~~~~~~~~~~~~~~~ macro.c: In function 'kill_macro': macro.c:746:6: warning: old-style function definition [-Wold-style-definition] 746 | void kill_macro(macro) | ^~~~~~~~~~ macro.c: In function 'nuke_macro': macro.c:779:13: warning: old-style function definition [-Wold-style-definition] 779 | static void nuke_macro(macro) /* free macro structure */ | ^~~~~~~~~~ macro.c: In function 'remove_macro': macro.c:799:5: warning: old-style function definition [-Wold-style-definition] 799 | int remove_macro(str, flags, byhook) /* delete a macro */ | ^~~~~~~~~~~~ macro.c: In function 'handle_purge_command': macro.c:822:15: warning: old-style function definition [-Wold-style-definition] 822 | struct Value *handle_purge_command(args) /* delete all specified macros */ | ^~~~~~~~~~~~~~~~~~~~ macro.c: In function 'handle_undefn_command': macro.c:850:15: warning: old-style function definition [-Wold-style-definition] 850 | struct Value *handle_undefn_command(args) /* delete macro by number */ | ^~~~~~~~~~~~~~~~~~~~~ macro.c: In function 'find_num_macro': macro.c:865:8: warning: old-style function definition [-Wold-style-definition] 865 | Macro *find_num_macro(num) | ^~~~~~~~~~~~~~ macro.c: In function 'remove_world_macros': macro.c:879:6: warning: old-style function definition [-Wold-style-definition] 879 | void remove_world_macros(w) | ^~~~~~~~~~~~~~~~~~~ macro.c: In function 'hook_name': macro.c:895:16: warning: old-style function definition [-Wold-style-definition] 895 | static String *hook_name(hook) /* convert hook bitfield to string */ | ^~~~~~~~~ macro.c: In function 'attr2str': macro.c:911:16: warning: old-style function definition [-Wold-style-definition] 911 | static String *attr2str(attrs) | ^~~~~~~~ macro.c: In function 'list_defs': macro.c:937:12: warning: old-style function definition [-Wold-style-definition] 937 | static int list_defs(file, spec, mflag) /* list all specified macros */ | ^~~~~~~~~ macro.c: In function 'save_macros': macro.c:1062:5: warning: old-style function definition [-Wold-style-definition] 1062 | int save_macros(args) /* write specified macros to file */ | ^~~~~~~~~~~ macro.c: In function 'handle_list_command': macro.c:1095:15: warning: old-style function definition [-Wold-style-definition] 1095 | struct Value *handle_list_command(args) /* list specified macros on screen */ | ^~~~~~~~~~~~~~~~~~~ macro.c: In function 'do_macro': macro.c:1113:5: warning: old-style function definition [-Wold-style-definition] 1113 | int do_macro(macro, args) /* Do a macro! */ | ^~~~~~~~ macro.c: In function 'macro_body': macro.c:1134:13: warning: old-style function definition [-Wold-style-definition] 1134 | CONST char *macro_body(name) /* get body of macro */ | ^~~~~~~~~~ macro.c: In function 'find_and_run_matches': macro.c:1218:5: warning: old-style function definition [-Wold-style-definition] 1218 | int find_and_run_matches(text, hook, alinep, world, globalflag) | ^~~~~~~~~~~~~~~~~~~~ macro.c: In function 'run_match': macro.c:1304:12: warning: old-style function definition [-Wold-style-definition] 1304 | static int run_match(macro, text, hook, aline) | ^~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c main.c main.c: In function 'main': main.c:65:5: warning: old-style function definition [-Wold-style-definition] 65 | int main(argc, argv) | ^~~~ main.c: In function 'read_configuration': main.c:216:13: warning: old-style function definition [-Wold-style-definition] 216 | static void read_configuration(fname) | ^~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c malloc.c malloc.c: In function 'xmalloc': malloc.c:23:10: warning: old-style function definition [-Wold-style-definition] 23 | GENERIC *xmalloc(size, file, line) | ^~~~~~~ malloc.c: In function 'xrealloc': malloc.c:48:10: warning: old-style function definition [-Wold-style-definition] 48 | GENERIC *xrealloc(ptr, size, file, line) | ^~~~~~~~ malloc.c: In function 'xfree': malloc.c:74:6: warning: old-style function definition [-Wold-style-definition] 74 | void xfree(ptr, file, line) | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c mccp.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c output.c output.c: In function 'fbufputc': output.c:331:12: warning: old-style function definition [-Wold-style-definition] 331 | static int fbufputc(c) | ^~~~~~~~ output.c: In function 'dobell': output.c:353:6: warning: old-style function definition [-Wold-style-definition] 353 | void dobell(n) | ^~~~~~ output.c: In function 'setscroll': output.c:522:13: warning: old-style function definition [-Wold-style-definition] 522 | static void setscroll(top,bottom) | ^~~~~~~~~ output.c: In function 'xy': output.c:538:13: warning: old-style function definition [-Wold-style-definition] 538 | static void xy(x,y) | ^~ output.c: In function 'tdirectputs': output.c:592:13: warning: old-style function definition [-Wold-style-definition] 592 | static void tdirectputs(str) | ^~~~~~~~~~~ output.c: In function 'tbufputs': output.c:603:13: warning: old-style function definition [-Wold-style-definition] 603 | static void tbufputs(str) | ^~~~~~~~ output.c: In function 'get_keycode': output.c:614:13: warning: old-style function definition [-Wold-style-definition] 614 | CONST char *get_keycode(name) | ^~~~~~~~~~~ output.c: In function 'setup_screen': output.c:628:6: warning: old-style function definition [-Wold-style-definition] 628 | void setup_screen(addlines) | ^~~~~~~~~~~~ output.c: In function 'format_status_field': output.c:846:13: warning: old-style function definition [-Wold-style-definition] 846 | static void format_status_field(field, attrp) | ^~~~~~~~~~~~~~~~~~~ output.c: In function 'update_status_field': output.c:930:6: warning: old-style function definition [-Wold-style-definition] 930 | void update_status_field(var, internal) | ^~~~~~~~~~~~~~~~~~~ output.c: In function 'clear_lines': output.c:1071:13: warning: old-style function definition [-Wold-style-definition] 1071 | static void clear_lines(start, end) | ^~~~~~~~~~~ output.c: In function 'scroll_input': output.c:1109:13: warning: old-style function definition [-Wold-style-definition] 1109 | static void scroll_input(n) | ^~~~~~~~~~~~ output.c: In function 'ictrl_put': output.c:1139:13: warning: old-style function definition [-Wold-style-definition] 1139 | static void ictrl_put(s, n) | ^~~~~~~~~ output.c: In function 'ioutputs': output.c:1167:12: warning: old-style function definition [-Wold-style-definition] 1167 | static int ioutputs(str, len) | ^~~~~~~~ output.c: In function 'ioutall': output.c:1192:13: warning: old-style function definition [-Wold-style-definition] 1192 | static void ioutall(kpos) | ^~~~~~~ output.c: In function 'iput': output.c:1209:6: warning: old-style function definition [-Wold-style-definition] 1209 | void iput(len) | ^~~~ output.c: In function 'idel': output.c:1327:6: warning: old-style function definition [-Wold-style-definition] 1327 | void idel(place) | ^~~~ output.c: In function 'igoto': output.c:1422:5: warning: old-style function definition [-Wold-style-definition] 1422 | int igoto(place) | ^~~~~ output.c: In function 'update_prompt': output.c:1541:6: warning: old-style function definition [-Wold-style-definition] 1541 | void update_prompt(newprompt, display) | ^~~~~~~~~~~~~ output.c: In function 'attributes_off': output.c:1564:13: warning: old-style function definition [-Wold-style-definition] 1564 | static void attributes_off(attrs) | ^~~~~~~~~~~~~~ output.c: In function 'attributes_on': output.c:1582:13: warning: old-style function definition [-Wold-style-definition] 1582 | static void attributes_on(attrs) | ^~~~~~~~~~~~~ output.c: In function 'color_on': output.c:1599:13: warning: old-style function definition [-Wold-style-definition] 1599 | static void color_on(color) | ^~~~~~~~ output.c: In function 'hwrite': output.c:1616:13: warning: old-style function definition [-Wold-style-definition] 1616 | static void hwrite(line, start, end) | ^~~~~~ output.c: In function 'clear_more': output.c:1687:5: warning: old-style function definition [-Wold-style-definition] 1687 | int clear_more(new) | ^~~~~~~~~~ output.c: In function 'screen_flush': output.c:1711:5: warning: old-style function definition [-Wold-style-definition] 1711 | int screen_flush(selective) | ^~~~~~~~~~~~ output.c: In function 'wraplen': output.c:1782:5: warning: old-style function definition [-Wold-style-definition] 1782 | int wraplen(str, len, indent) | ^~~~~~~ output.c: In function 'screenout': output.c:1825:6: warning: old-style function definition [-Wold-style-definition] 1825 | void screenout(aline) | ^~~~~~~~~ output.c: In function 'set_attr_var': output.c:1949:12: warning: old-style function definition [-Wold-style-definition] 1949 | static int set_attr_var(idx, attrp) | ^~~~~~~~~~~~ output.c: In function 'set_attr': output.c:1967:13: warning: old-style function definition [-Wold-style-definition] 1967 | static void set_attr(aline, dest, starting, current) | ^~~~~~~~ output.c: In function 'handle_ansi_attr': output.c:2000:8: warning: old-style function definition [-Wold-style-definition] 2000 | attr_t handle_ansi_attr(aline, attrs) | ^~~~~~~~~~~~~~~~ output.c: In function 'handle_inline_attr': output.c:2059:8: warning: old-style function definition [-Wold-style-definition] 2059 | attr_t handle_inline_attr(aline, attrs) | ^~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c process.c process.c: In function 'handle_ps_command': process.c:79:15: warning: old-style function definition [-Wold-style-definition] 79 | struct Value *handle_ps_command(args) | ^~~~~~~~~~~~~~~~~ process.c: In function 'newproc': process.c:152:22: warning: old-style function definition [-Wold-style-definition] 152 | static struct Value *newproc(type, func, count, pre, suf, input, world, cmd, ptime, disp) | ^~~~~~~ process.c: In function 'killproc': process.c:201:22: warning: old-style function definition [-Wold-style-definition] 201 | static struct Value *killproc(proc, needresult) | ^~~~~~~~ process.c: In function 'nukeproc': process.c:220:13: warning: old-style function definition [-Wold-style-definition] 220 | static void nukeproc(proc) | ^~~~~~~~ process.c: In function 'kill_procs_by_world': process.c:260:6: warning: old-style function definition [-Wold-style-definition] 260 | void kill_procs_by_world(world) | ^~~~~~~~~~~~~~~~~~~ process.c: In function 'handle_kill_command': process.c:270:15: warning: old-style function definition [-Wold-style-definition] 270 | struct Value *handle_kill_command(args) | ^~~~~~~~~~~~~~~~~~~ process.c: In function 'runproc': process.c:323:12: warning: old-style function definition [-Wold-style-definition] 323 | static int runproc(p) | ^~~~~~~ process.c: In function 'do_repeat': process.c:342:12: warning: old-style function definition [-Wold-style-definition] 342 | static int do_repeat(proc) | ^~~~~~~~~ process.c: In function 'do_quote': process.c:352:12: warning: old-style function definition [-Wold-style-definition] 352 | static int do_quote(proc) | ^~~~~~~~ process.c: In function 'strip_escapes': process.c:375:13: warning: old-style function definition [-Wold-style-definition] 375 | static void strip_escapes(src) | ^~~~~~~~~~~~~ process.c: In function 'procopt': process.c:387:12: warning: old-style function definition [-Wold-style-definition] 387 | static int procopt(opts, argp, ptime, world, disp, subflag) | ^~~~~~~ process.c: In function 'handle_quote_command': process.c:429:15: warning: old-style function definition [-Wold-style-definition] 429 | struct Value *handle_quote_command(args) | ^~~~~~~~~~~~~~~~~~~~ process.c: In function 'handle_repeat_command': process.c:527:15: warning: old-style function definition [-Wold-style-definition] 527 | struct Value *handle_repeat_command(args) | ^~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c search.c search.c: In function 'trie_find': search.c:31:10: warning: old-style function definition [-Wold-style-definition] 31 | GENERIC *trie_find(root, key) | ^~~~~~~~~ search.c: In function 'intrie': search.c:46:5: warning: old-style function definition [-Wold-style-definition] 46 | int intrie(root, datum, key) | ^~~~~~ search.c: In function 'untrie': search.c:79:11: warning: old-style function definition [-Wold-style-definition] 79 | TrieNode *untrie(root, s) | ^~~~~~ search.c: In function 'init_list': search.c:97:6: warning: old-style function definition [-Wold-style-definition] 97 | void init_list(list) | ^~~~~~~~~ search.c: In function 'unlist': search.c:103:10: warning: old-style function definition [-Wold-style-definition] 103 | GENERIC *unlist(node, list) /* delete Node from linked list */ | ^~~~~~ search.c: In function 'sinsert': search.c:119:12: warning: old-style function definition [-Wold-style-definition] 119 | ListEntry *sinsert(datum, list, cmp) | ^~~~~~~ search.c: In function 'inlist_fl': search.c:136:12: warning: old-style function definition [-Wold-style-definition] 136 | ListEntry *inlist_fl(datum, list, where, file, line) | ^~~~~~~~~ search.c: In function 'init_hashtable': search.c:164:6: warning: old-style function definition [-Wold-style-definition] 164 | void init_hashtable(table, size, cmp) | ^~~~~~~~~~~~~~ search.c: In function 'hash_find': search.c:176:10: warning: old-style function definition [-Wold-style-definition] 176 | GENERIC *hash_find(name, table) /* find entry by name */ | ^~~~~~~~~ search.c: In function 'hash_string': search.c:192:21: warning: old-style function definition [-Wold-style-definition] 192 | static unsigned int hash_string(str) | ^~~~~~~~~~~ search.c: In function 'hash_insert': search.c:202:12: warning: old-style function definition [-Wold-style-definition] 202 | ListEntry *hash_insert(datum, table) /* add node to hash table */ | ^~~~~~~~~~~ search.c: In function 'hash_remove': search.c:217:6: warning: old-style function definition [-Wold-style-definition] 217 | void hash_remove(node, tab) /* remove node from hash table */ | ^~~~~~~~~~~ search.c: In function 'strstructcmp': search.c:259:5: warning: old-style function definition [-Wold-style-definition] 259 | int strstructcmp(key, datum) | ^~~~~~~~~~~~ search.c: In function 'cstrstructcmp': search.c:266:5: warning: old-style function definition [-Wold-style-definition] 266 | int cstrstructcmp(key, datum) | ^~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c signals.c signals.c: In function 'setsighandler': signals.c:148:20: warning: old-style function definition [-Wold-style-definition] 148 | static SigHandler *setsighandler(sig, func) | ^~~~~~~~~~~~~ signals.c: In function 'core_handler': signals.c:251:15: warning: old-style function definition [-Wold-style-definition] 251 | static RETSIG core_handler(sig) | ^~~~~~~~~~~~ signals.c: In function 'crash': signals.c:312:6: warning: old-style function definition [-Wold-style-definition] 312 | void crash(internal, fmt, file, line, n) | ^~~~~ signals.c: In function 'terminate': signals.c:344:13: warning: old-style function definition [-Wold-style-definition] 344 | static void terminate(sig) | ^~~~~~~~~ signals.c: In function 'signal_scheduler': signals.c:354:15: warning: old-style function definition [-Wold-style-definition] 354 | static RETSIG signal_scheduler(sig) | ^~~~~~~~~~~~~~~~ signals.c: In function 'shell_status': signals.c:383:5: warning: old-style function definition [-Wold-style-definition] 383 | int shell_status(result) | ^~~~~~~~~~~~ signals.c: In function 'shell': signals.c:395:5: warning: old-style function definition [-Wold-style-definition] 395 | int shell(cmd) | ^~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c socket.c socket.c: In function 'is_active': socket.c:581:5: warning: old-style function definition [-Wold-style-definition] 581 | int is_active(fd) | ^~~~~~~~~ socket.c: In function 'readers_clear': socket.c:587:6: warning: old-style function definition [-Wold-style-definition] 587 | void readers_clear(fd) | ^~~~~~~~~~~~~ socket.c: In function 'readers_set': socket.c:593:6: warning: old-style function definition [-Wold-style-definition] 593 | void readers_set(fd) | ^~~~~~~~~~~ socket.c: In function 'sockidle': socket.c:622:8: warning: old-style function definition [-Wold-style-definition] 622 | TIME_T sockidle(name, dir) | ^~~~~~~~ socket.c: In function 'find_sock': socket.c:630:14: warning: old-style function definition [-Wold-style-definition] 630 | static Sock *find_sock(name) | ^~~~~~~~~ socket.c: In function 'wload': socket.c:646:13: warning: old-style function definition [-Wold-style-definition] 646 | static void wload(w) | ^~~~~ socket.c: In function 'fg_sock': socket.c:657:12: warning: old-style function definition [-Wold-style-definition] 657 | static int fg_sock(sock, quiet) | ^~~~~~~ socket.c: In function 'handle_fg_command': socket.c:707:15: warning: old-style function definition [-Wold-style-definition] 707 | struct Value *handle_fg_command(args) | ^~~~~~~~~~~~~~~~~ socket.c: In function 'openworld': socket.c:755:5: warning: old-style function definition [-Wold-style-definition] 755 | int openworld(name, port, autologin, quietlogin) | ^~~~~~~~~ socket.c: In function 'opensock': socket.c:781:5: warning: old-style function definition [-Wold-style-definition] 781 | int opensock(world, autologin, quietlogin) | ^~~~~~~~ socket.c: In function 'openconn': socket.c:901:12: warning: old-style function definition [-Wold-style-definition] 901 | static int openconn(sock) | ^~~~~~~~ socket.c: In function 'get_host_address': socket.c:1024:12: warning: old-style function definition [-Wold-style-definition] 1024 | static int get_host_address(name, sin_addr, pidp, what, errp) | ^~~~~~~~~~~~~~~~ socket.c: In function 'blocking_gethost': socket.c:1053:12: warning: old-style function definition [-Wold-style-definition] 1053 | static int blocking_gethost(name, sin_addr, errp) | ^~~~~~~~~~~~~~~~ socket.c: In function 'waitforhostname': socket.c:1070:13: warning: old-style function definition [-Wold-style-definition] 1070 | static void waitforhostname(fd, name) | ^~~~~~~~~~~~~~~ socket.c: In function 'nonblocking_gethost': socket.c:1103:12: warning: old-style function definition [-Wold-style-definition] 1103 | static int nonblocking_gethost(name, sin_addr, pidp, what) | ^~~~~~~~~~~~~~~~~~~ socket.c: In function 'establish': socket.c:1160:12: warning: old-style function definition [-Wold-style-definition] 1160 | static int establish(sock) | ^~~~~~~~~ socket.c: In function 'nukesock': socket.c:1278:13: warning: old-style function definition [-Wold-style-definition] 1278 | static void nukesock(sock) | ^~~~~~~~ socket.c: In function 'handle_dc_command': socket.c:1358:15: warning: old-style function definition [-Wold-style-definition] 1358 | struct Value *handle_dc_command(args) | ^~~~~~~~~~~~~~~~~ socket.c: In function 'handle_listsockets_command': socket.c:1385:15: warning: old-style function definition [-Wold-style-definition] 1385 | struct Value *handle_listsockets_command(args) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ socket.c: In function 'handle_send_function': socket.c:1472:5: warning: old-style function definition [-Wold-style-definition] 1472 | int handle_send_function(text, world, eol_flag) | ^~~~~~~~~~~~~~~~~~~~ socket.c: In function 'transmit': socket.c:1492:12: warning: old-style function definition [-Wold-style-definition] 1492 | static int transmit(str, numtowrite) | ^~~~~~~~ socket.c: In function 'send_line': socket.c:1536:5: warning: old-style function definition [-Wold-style-definition] 1536 | int send_line(src, len, eol_flag) | ^~~~~~~~~ socket.c: In function 'world_output': socket.c:1614:6: warning: old-style function definition [-Wold-style-definition] 1614 | void world_output(world, aline) | ^~~~~~~~~~~~ socket.c: In function 'handle_prompt_command': socket.c:1670:15: warning: old-style function definition [-Wold-style-definition] 1670 | struct Value *handle_prompt_command(args) | ^~~~~~~~~~~~~~~~~~~~~ socket.c: In function 'handle_prompt': socket.c:1677:13: warning: old-style function definition [-Wold-style-definition] 1677 | static void handle_prompt(str, confirmed) | ^~~~~~~~~~~~~ socket.c: In function 'unprompt': socket.c:1701:13: warning: old-style function definition [-Wold-style-definition] 1701 | static void unprompt(sock, update) | ^~~~~~~~ socket.c: In function 'f_telnet_recv': socket.c:1712:13: warning: old-style function definition [-Wold-style-definition] 1712 | static void f_telnet_recv(cmd, opt) | ^~~~~~~~~~~~~ socket.c: In function 'is_quiet': socket.c:2046:12: warning: old-style function definition [-Wold-style-definition] 2046 | static int is_quiet(str) | ^~~~~~~~ socket.c: In function 'is_bamf': socket.c:2058:12: warning: old-style function definition [-Wold-style-definition] 2058 | static int is_bamf(str) | ^~~~~~~ socket.c: In function 'do_naws': socket.c:2095:13: warning: old-style function definition [-Wold-style-definition] 2095 | static void do_naws(sock) | ^~~~~~~ socket.c: In function 'telnet_debug': socket.c:2122:13: warning: old-style function definition [-Wold-style-definition] 2122 | static void telnet_debug(dir, str, len) | ^~~~~~~~~~~~ socket.c: In function 'telnet_send': socket.c:2156:13: warning: old-style function definition [-Wold-style-definition] 2156 | static void telnet_send(cmd) | ^~~~~~~~~~~ socket.c: In function 'local_echo': socket.c:2163:5: warning: old-style function definition [-Wold-style-definition] 2163 | int local_echo(flag) | ^~~~~~~~~~ socket.c: In function 'world_info': socket.c:2199:13: warning: old-style function definition [-Wold-style-definition] 2199 | CONST char *world_info(worldname, fieldname) | ^~~~~~~~~~ socket.c: In function 'nactive': socket.c:2230:5: warning: old-style function definition [-Wold-style-definition] 2230 | int nactive(worldname) | ^~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c tfio.c tfio.c: In function 'tfname': tfio.c:95:7: warning: old-style function definition [-Wold-style-definition] 95 | char *tfname(name, macro) | ^~~~~~ tfio.c: In function 'expand_filename': tfio.c:111:7: warning: old-style function definition [-Wold-style-definition] 111 | char *expand_filename(str) | ^~~~~~~~~~~~~~~ tfio.c: In function 'tfopen': tfio.c:151:8: warning: old-style function definition [-Wold-style-definition] 151 | TFILE *tfopen(name, mode) | ^~~~~~ tfio.c: In function 'tfclose': tfio.c:266:5: warning: old-style function definition [-Wold-style-definition] 266 | int tfclose(file) | ^~~~~~~ tfio.c: In function 'tfselect': tfio.c:298:5: warning: old-style function definition [-Wold-style-definition] 298 | int tfselect(nfds, readers, writers, excepts, timeout) | ^~~~~~~~ tfio.c: In function 'tfputs': tfio.c:351:6: warning: old-style function definition [-Wold-style-definition] 351 | void tfputs(str, file) | ^~~~~~ tfio.c: In function 'tfputansi': tfio.c:368:8: warning: old-style function definition [-Wold-style-definition] 368 | attr_t tfputansi(str, file, attrs) | ^~~~~~~~~ tfio.c: In function 'tfputa': tfio.c:388:6: warning: old-style function definition [-Wold-style-definition] 388 | void tfputa(aline, file) | ^~~~~~ tfio.c: In function 'queueputa': tfio.c:404:13: warning: old-style function definition [-Wold-style-definition] 404 | static void queueputa(aline, file) | ^~~~~~~~~ tfio.c: In function 'fileputs': tfio.c:423:13: warning: old-style function definition [-Wold-style-definition] 423 | static void fileputs(str, fp) | ^~~~~~~~ tfio.c: In function 'vSprintf': tfio.c:448:6: warning: old-style function definition [-Wold-style-definition] 448 | void vSprintf(buf, flags, fmt, ap) | ^~~~~~~~ tfio.c: In function 'eprefix': tfio.c:636:6: warning: old-style function definition [-Wold-style-definition] 636 | void eprefix(buffer) | ^~~~~~~ tfio.c: In function 'tfgetS': tfio.c:692:9: warning: old-style function definition [-Wold-style-definition] 692 | String *tfgetS(str, file) | ^~~~~~ tfio.c: In function 'flushout_queue': tfio.c:776:6: warning: old-style function definition [-Wold-style-definition] 776 | void flushout_queue(src, quiet) | ^~~~~~~~~~~~~~ tfio.c: In function 'dnew_aline': tfio.c:799:8: warning: old-style function definition [-Wold-style-definition] 799 | Aline *dnew_aline(str, attrs, len, file, line) | ^~~~~~~~~~ tfio.c: In function 'dfree_aline': tfio.c:825:6: warning: old-style function definition [-Wold-style-definition] 825 | void dfree_aline(aline, file, line) | ^~~~~~~~~~~ tfio.c: In function 'handle_tfopen_func': tfio.c:847:5: warning: old-style function definition [-Wold-style-definition] 847 | int handle_tfopen_func(name, mode) | ^~~~~~~~~~~~~~~~~~ tfio.c: In function 'find_tfile': tfio.c:876:8: warning: old-style function definition [-Wold-style-definition] 876 | TFILE *find_tfile(handle) | ^~~~~~~~~~ tfio.c: In function 'find_usable_tfile': tfio.c:900:8: warning: old-style function definition [-Wold-style-definition] 900 | TFILE *find_usable_tfile(handle, mode) | ^~~~~~~~~~~~~~~~~ tfio.c: In function 'handle_liststreams_command': tfio.c:922:15: warning: old-style function definition [-Wold-style-definition] 922 | struct Value *handle_liststreams_command(args) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c tty.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c util.c util.c: In function 'lcase': util.c:63:5: warning: old-style function definition [-Wold-style-definition] 63 | int lcase(x) char x; { return is_upper(x) ? tolower(x) : x; } | ^~~~~ util.c: In function 'ucase': util.c:64:5: warning: old-style function definition [-Wold-style-definition] 64 | int ucase(x) char x; { return is_lower(x) ? toupper(x) : x; } | ^~~~~ util.c: In function 'ascii_to_print': util.c:112:7: warning: old-style function definition [-Wold-style-definition] 112 | char *ascii_to_print(str) | ^~~~~~~~~~~~~~ util.c: In function 'print_to_ascii': util.c:136:7: warning: old-style function definition [-Wold-style-definition] 136 | char *print_to_ascii(src) | ^~~~~~~~~~~~~~ util.c: In function 'enum2int': util.c:202:5: warning: old-style function definition [-Wold-style-definition] 202 | int enum2int(str, vec, msg) | ^~~~~~~~ util.c: In function 'estrchr': util.c:232:7: warning: old-style function definition [-Wold-style-definition] 232 | char *estrchr(s, c, e) | ^~~~~~~ util.c: In function 'numarg': util.c:309:5: warning: old-style function definition [-Wold-style-definition] 309 | int numarg(str) | ^~~~~~ util.c: In function 'stringarg': util.c:329:7: warning: old-style function definition [-Wold-style-definition] 329 | char *stringarg(str, end) | ^~~~~~~~~ util.c: In function 'stringliteral': util.c:343:5: warning: old-style function definition [-Wold-style-definition] 343 | int stringliteral(dest, str) | ^~~~~~~~~~~~~ util.c: In function 'regexec_in_scope': util.c:369:5: warning: old-style function definition [-Wold-style-definition] 369 | int regexec_in_scope(re, str) | ^~~~~~~~~~~~~~~~ util.c: In function 'new_reg_scope': util.c:391:7: warning: old-style function definition [-Wold-style-definition] 391 | void *new_reg_scope(re, str) | ^~~~~~~~~~~~~ util.c: In function 'restore_reg_scope': util.c:412:6: warning: old-style function definition [-Wold-style-definition] 412 | void restore_reg_scope(old) | ^~~~~~~~~~~~~~~~~ util.c: In function 'regsubstr': util.c:427:5: warning: old-style function definition [-Wold-style-definition] 427 | int regsubstr(dest, n) | ^~~~~~~~~ util.c: In function 'regerror': util.c:451:6: warning: old-style function definition [-Wold-style-definition] 451 | void regerror(msg) | ^~~~~~~~ util.c: In function 'init_pattern': util.c:461:5: warning: old-style function definition [-Wold-style-definition] 461 | int init_pattern(pat, str, mflag) | ^~~~~~~~~~~~ util.c: In function 'init_pattern_str': util.c:469:5: warning: old-style function definition [-Wold-style-definition] 469 | int init_pattern_str(pat, str) | ^~~~~~~~~~~~~~~~ util.c: In function 'init_pattern_mflag': util.c:479:5: warning: old-style function definition [-Wold-style-definition] 479 | int init_pattern_mflag(pat, mflag) | ^~~~~~~~~~~~~~~~~~ util.c: In function 'free_pattern': util.c:501:6: warning: old-style function definition [-Wold-style-definition] 501 | void free_pattern(pat) | ^~~~~~~~~~~~ util.c: In function 'patmatch': util.c:510:5: warning: old-style function definition [-Wold-style-definition] 510 | int patmatch(pat, str) | ^~~~~~~~ util.c: In function 'cmatch': util.c:529:14: warning: old-style function definition [-Wold-style-definition] 529 | static char *cmatch(class, ch) | ^~~~~~ util.c: In function 'smatch': util.c:557:5: warning: old-style function definition [-Wold-style-definition] 557 | int smatch(pat, str) | ^~~~~~ util.c: In function 'smatch_check': util.c:652:5: warning: old-style function definition [-Wold-style-definition] 652 | int smatch_check(pat) | ^~~~~~~~~~~~ util.c: In function 'stripstr': util.c:693:7: warning: old-style function definition [-Wold-style-definition] 693 | char *stripstr(s) | ^~~~~~~~ util.c: In function 'startopt': util.c:738:6: warning: old-style function definition [-Wold-style-definition] 738 | void startopt(args, opts) | ^~~~~~~~ util.c: In function 'nextopt': util.c:747:6: warning: old-style function definition [-Wold-style-definition] 747 | char nextopt(arg, num) | ^~~~~~~ util.c: In function 'parsetime': util.c:1062:6: warning: old-style function definition [-Wold-style-definition] 1062 | long parsetime(strp, istime) | ^~~~~~~~~ util.c: In function 'abstime': util.c:1099:8: warning: old-style function definition [-Wold-style-definition] 1099 | TIME_T abstime(hms) | ^~~~~~~ util.c: In function 'tftime': util.c:1113:5: warning: old-style function definition [-Wold-style-definition] 1113 | int tftime(dest, fmt, sec, usec) | ^~~~~~ util.c: In function 'internal_error': util.c:1150:6: warning: old-style function definition [-Wold-style-definition] 1150 | void internal_error(file, line) | ^~~~~~~~~~~~~~ util.c: In function 'die': util.c:1158:6: warning: old-style function definition [-Wold-style-definition] 1158 | void die(why, err) | ^~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c variable.c variable.c: In function 'newvarscope': variable.c:161:6: warning: old-style function definition [-Wold-style-definition] 161 | void newvarscope(level) | ^~~~~~~~~~~ variable.c: In function 'findlevelvar': variable.c:182:13: warning: old-style function definition [-Wold-style-definition] 182 | static Var *findlevelvar(name, level) | ^~~~~~~~~~~~ variable.c: In function 'findlocalvar': variable.c:194:13: warning: old-style function definition [-Wold-style-definition] 194 | static Var *findlocalvar(name) | ^~~~~~~~~~~~ variable.c: In function 'getvar': variable.c:207:13: warning: old-style function definition [-Wold-style-definition] 207 | CONST char *getvar(name) | ^~~~~~ variable.c: In function 'ffindglobalvar': variable.c:216:6: warning: old-style function definition [-Wold-style-definition] 216 | Var *ffindglobalvar(name) | ^~~~~~~~~~~~~~ variable.c: In function 'getnearestvar': variable.c:223:13: warning: old-style function definition [-Wold-style-definition] 223 | CONST char *getnearestvar(name, np) | ^~~~~~~~~~~~~ variable.c: In function 'setnearestvar': variable.c:242:6: warning: old-style function definition [-Wold-style-definition] 242 | Var *setnearestvar(name, value) | ^~~~~~~~~~~~~ variable.c: In function 'newvar': variable.c:261:13: warning: old-style function definition [-Wold-style-definition] 261 | static Var *newvar(name, value) | ^~~~~~ variable.c: In function 'newlocalvar': variable.c:278:6: warning: old-style function definition [-Wold-style-definition] 278 | Var *newlocalvar(name, value) | ^~~~~~~~~~~ variable.c: In function 'new_env': variable.c:297:14: warning: old-style function definition [-Wold-style-definition] 297 | static char *new_env(var) | ^~~~~~~ variable.c: In function 'replace_env': variable.c:308:13: warning: old-style function definition [-Wold-style-definition] 308 | static void replace_env(str) | ^~~~~~~~~~~ variable.c: In function 'append_env': variable.c:320:13: warning: old-style function definition [-Wold-style-definition] 320 | static void append_env(str) | ^~~~~~~~~~ variable.c: In function 'find_env': variable.c:334:15: warning: old-style function definition [-Wold-style-definition] 334 | static char **find_env(str) | ^~~~~~~~ variable.c: In function 'remove_env': variable.c:348:13: warning: old-style function definition [-Wold-style-definition] 348 | static void remove_env(str) | ^~~~~~~~~~ variable.c: In function 'setvar': variable.c:364:6: warning: old-style function definition [-Wold-style-definition] 364 | Var *setvar(var, name, ivalue, value, exportflag) | ^~~~~~ variable.c: In function 'do_set': variable.c:414:5: warning: old-style function definition [-Wold-style-definition] 414 | int do_set(args, exportflag, localflag) | ^~~~~~ variable.c: In function 'handle_listvar_command': variable.c:476:15: warning: old-style function definition [-Wold-style-definition] 476 | struct Value *handle_listvar_command(args) | ^~~~~~~~~~~~~~~~~~~~~~ variable.c: In function 'handle_export_command': variable.c:523:15: warning: old-style function definition [-Wold-style-definition] 523 | struct Value *handle_export_command(name) | ^~~~~~~~~~~~~~~~~~~~~ variable.c: In function 'handle_unset_command': variable.c:537:15: warning: old-style function definition [-Wold-style-definition] 537 | struct Value *handle_unset_command(name) | ^~~~~~~~~~~~~~~~~~~~ variable.c: In function 'set_special_var': variable.c:577:12: warning: old-style function definition [-Wold-style-definition] 577 | static int set_special_var(var, ivalue, value, fpp, oldvaluep) | ^~~~~~~~~~~~~~~ variable.c: In function 'listvar': variable.c:636:12: warning: old-style function definition [-Wold-style-definition] 636 | static int listvar(name, value, mflag, exportflag, shortflag) | ^~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/opt/pkg/include/ncurses -c world.c world.c: In function 'free_world': world.c:42:13: warning: old-style function definition [-Wold-style-definition] 42 | static void free_world(w) | ^~~~~~~~~~ world.c: In function 'new_world': world.c:95:8: warning: old-style function definition [-Wold-style-definition] 95 | World *new_world(name, character, pass, host, port, mfile, type, flags) | ^~~~~~~~~ world.c: In function 'nuke_world': world.c:176:5: warning: old-style function definition [-Wold-style-definition] 176 | int nuke_world(w) | ^~~~~~~~~~ world.c: In function 'handle_unworld_command': world.c:194:15: warning: old-style function definition [-Wold-style-definition] 194 | struct Value *handle_unworld_command(args) | ^~~~~~~~~~~~~~~~~~~~~~ world.c: In function 'handle_listworlds_command': world.c:215:15: warning: old-style function definition [-Wold-style-definition] 215 | struct Value *handle_listworlds_command(args) | ^~~~~~~~~~~~~~~~~~~~~~~~~ world.c: In function 'list_worlds': world.c:248:12: warning: old-style function definition [-Wold-style-definition] 248 | static int list_worlds(name, type, file, flags) | ^~~~~~~~~~~ world.c: In function 'handle_saveworld_command': world.c:307:15: warning: old-style function definition [-Wold-style-definition] 307 | struct Value *handle_saveworld_command(args) | ^~~~~~~~~~~~~~~~~~~~~~~~ world.c: In function 'find_world': world.c:339:8: warning: old-style function definition [-Wold-style-definition] 339 | World *find_world(name) | ^~~~~~~~~~ world.c: In function 'mapworld': world.c:350:6: warning: old-style function definition [-Wold-style-definition] 350 | void mapworld(func) | ^~~~~~~~ cd ./regexp; make CC='gcc' CFLAGS='-pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses' O=o regexp.o >err 2>&1 || { cat err; rm err; exit 1; } gcc -DCHARBITS=0377 -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wno-implicit-int -Wno-implicit-function-declaration -I/opt/pkg/include -I/opt/pkg/include/ncurses -c regexp.c regexp.c: In function 'regcomp': regexp.c:210:1: warning: old-style function definition [-Wold-style-definition] 210 | regcomp(exp) | ^~~~~~~ regexp.c:218:22: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 218 | extern char *malloc(); | ^~~~~~ regexp.c:49:1: note: 'malloc' is declared in header '' 48 | #include "regmagic.h" +++ |+#include 49 | regexp.c:228:9: error: too many arguments to function 'regc'; expected 0, have 1 228 | regc(MAGIC); | ^~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c:229:13: error: too many arguments to function 'reg'; expected 0, have 2 229 | if (reg(0, &flags) == NULL) | ^~~ ~ regexp.c:180:14: note: declared here 180 | STATIC char *reg(); | ^~~ regexp.c:237:23: error: too many arguments to function 'malloc'; expected 0, have 1 237 | r = (regexp *)malloc(sizeof(regexp) + (unsigned)regsize); | ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ regexp.c:218:22: note: declared here 218 | extern char *malloc(); | ^~~~~~ regexp.c:245:9: error: too many arguments to function 'regc'; expected 0, have 1 245 | regc(MAGIC); | ^~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c:246:13: error: too many arguments to function 'reg'; expected 0, have 2 246 | if (reg(0, &flags) == NULL) | ^~~ ~ regexp.c:180:14: note: declared here 180 | STATIC char *reg(); | ^~~ regexp.c:255:16: error: too many arguments to function 'regnext'; expected 0, have 1 255 | if (OP(regnext(scan)) == END) { /* Only one top-level choice. */ | ^~~~~~~ ~~~~ regexp.c:135:20: note: in definition of macro 'OP' 135 | #define OP(p) (*(p)) | ^ regexp.c:185:14: note: declared here 185 | STATIC char *regnext(); | ^~~~~~~ regexp.c:275:53: error: too many arguments to function 'regnext'; expected 0, have 1 275 | for (; scan != NULL; scan = regnext(scan)) | ^~~~~~~ ~~~~ regexp.c:185:14: note: declared here 185 | STATIC char *regnext(); | ^~~~~~~ regexp.c:276:60: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 276 | if (OP(scan) == EXACTLY && strlen(OPERAND(scan)) >= len) { | ^~~~~~ regexp.c:49:1: note: include '' or provide a declaration of 'strlen' 48 | #include "regmagic.h" +++ |+#include 49 | regexp.c: In function 'reg': regexp.c:298:1: warning: old-style function definition [-Wold-style-definition] 298 | reg(paren, flagp) | ^~~ regexp.c:316:23: error: too many arguments to function 'regnode'; expected 0, have 1 316 | ret = regnode(OPEN+parno); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:321:14: error: too many arguments to function 'regbranch'; expected 0, have 1 321 | br = regbranch(&flags); | ^~~~~~~~~ ~~~~~~ regexp.c:181:14: note: declared here 181 | STATIC char *regbranch(); | ^~~~~~~~~ regexp.c:325:17: error: too many arguments to function 'regtail'; expected 0, have 2 325 | regtail(ret, br); /* OPEN -> first. */ | ^~~~~~~ ~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:333:22: error: too many arguments to function 'regbranch'; expected 0, have 1 333 | br = regbranch(&flags); | ^~~~~~~~~ ~~~~~~ regexp.c:181:14: note: declared here 181 | STATIC char *regbranch(); | ^~~~~~~~~ regexp.c:336:17: error: too many arguments to function 'regtail'; expected 0, have 2 336 | regtail(ret, br); /* BRANCH -> BRANCH. */ | ^~~~~~~ ~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:343:17: error: too many arguments to function 'regnode'; expected 0, have 1 343 | ender = regnode((paren) ? CLOSE+parno : END); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:344:9: error: too many arguments to function 'regtail'; expected 0, have 2 344 | regtail(ret, ender); | ^~~~~~~ ~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:347:41: error: too many arguments to function 'regnext'; expected 0, have 1 347 | for (br = ret; br != NULL; br = regnext(br)) | ^~~~~~~ ~~ regexp.c:185:14: note: declared here 185 | STATIC char *regnext(); | ^~~~~~~ regexp.c:348:17: error: too many arguments to function 'regoptail'; expected 0, have 2 348 | regoptail(br, ender); | ^~~~~~~~~ ~~ regexp.c:189:13: note: declared here 189 | STATIC void regoptail(); | ^~~~~~~~~ regexp.c: In function 'regbranch': regexp.c:370:1: warning: old-style function definition [-Wold-style-definition] 370 | regbranch(flagp) | ^~~~~~~~~ regexp.c:380:15: error: too many arguments to function 'regnode'; expected 0, have 1 380 | ret = regnode(BRANCH); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:383:26: error: too many arguments to function 'regpiece'; expected 0, have 1 383 | latest = regpiece(&flags); | ^~~~~~~~ ~~~~~~ regexp.c:182:14: note: declared here 182 | STATIC char *regpiece(); | ^~~~~~~~ regexp.c:390:25: error: too many arguments to function 'regtail'; expected 0, have 2 390 | regtail(chain, latest); | ^~~~~~~ ~~~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:394:24: error: too many arguments to function 'regnode'; expected 0, have 1 394 | (void) regnode(NOTHING); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c: In function 'regpiece': regexp.c:409:1: warning: old-style function definition [-Wold-style-definition] 409 | regpiece(flagp) | ^~~~~~~~ regexp.c:417:15: error: too many arguments to function 'regatom'; expected 0, have 1 417 | ret = regatom(&flags); | ^~~~~~~ ~~~~~~ regexp.c:183:14: note: declared here 183 | STATIC char *regatom(); | ^~~~~~~ regexp.c:432:17: error: too many arguments to function 'reginsert'; expected 0, have 2 432 | reginsert(STAR, ret); | ^~~~~~~~~ regexp.c:187:13: note: declared here 187 | STATIC void reginsert(); | ^~~~~~~~~ regexp.c:435:17: error: too many arguments to function 'reginsert'; expected 0, have 2 435 | reginsert(BRANCH, ret); /* Either x */ | ^~~~~~~~~ regexp.c:187:13: note: declared here 187 | STATIC void reginsert(); | ^~~~~~~~~ regexp.c:436:32: error: too many arguments to function 'regnode'; expected 0, have 1 436 | regoptail(ret, regnode(BACK)); /* and loop */ | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:436:17: error: too many arguments to function 'regoptail'; expected 0, have 2 436 | regoptail(ret, regnode(BACK)); /* and loop */ | ^~~~~~~~~ ~~~ regexp.c:189:13: note: declared here 189 | STATIC void regoptail(); | ^~~~~~~~~ regexp.c:437:17: error: too many arguments to function 'regoptail'; expected 0, have 2 437 | regoptail(ret, ret); /* back */ | ^~~~~~~~~ ~~~ regexp.c:189:13: note: declared here 189 | STATIC void regoptail(); | ^~~~~~~~~ regexp.c:438:30: error: too many arguments to function 'regnode'; expected 0, have 1 438 | regtail(ret, regnode(BRANCH)); /* or */ | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:438:17: error: too many arguments to function 'regtail'; expected 0, have 2 438 | regtail(ret, regnode(BRANCH)); /* or */ | ^~~~~~~ ~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:439:30: error: too many arguments to function 'regnode'; expected 0, have 1 439 | regtail(ret, regnode(NOTHING)); /* null. */ | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:439:17: error: too many arguments to function 'regtail'; expected 0, have 2 439 | regtail(ret, regnode(NOTHING)); /* null. */ | ^~~~~~~ ~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:441:17: error: too many arguments to function 'reginsert'; expected 0, have 2 441 | reginsert(PLUS, ret); | ^~~~~~~~~ regexp.c:187:13: note: declared here 187 | STATIC void reginsert(); | ^~~~~~~~~ regexp.c:444:24: error: too many arguments to function 'regnode'; expected 0, have 1 444 | next = regnode(BRANCH); /* Either */ | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:445:17: error: too many arguments to function 'regtail'; expected 0, have 2 445 | regtail(ret, next); | ^~~~~~~ ~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:446:25: error: too many arguments to function 'regnode'; expected 0, have 1 446 | regtail(regnode(BACK), ret); /* loop back */ | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:446:17: error: too many arguments to function 'regtail'; expected 0, have 2 446 | regtail(regnode(BACK), ret); /* loop back */ | ^~~~~~~ ~~~~~~~~~~~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:447:31: error: too many arguments to function 'regnode'; expected 0, have 1 447 | regtail(next, regnode(BRANCH)); /* or */ | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:447:17: error: too many arguments to function 'regtail'; expected 0, have 2 447 | regtail(next, regnode(BRANCH)); /* or */ | ^~~~~~~ ~~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:448:30: error: too many arguments to function 'regnode'; expected 0, have 1 448 | regtail(ret, regnode(NOTHING)); /* null. */ | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:448:17: error: too many arguments to function 'regtail'; expected 0, have 2 448 | regtail(ret, regnode(NOTHING)); /* null. */ | ^~~~~~~ ~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:451:17: error: too many arguments to function 'reginsert'; expected 0, have 2 451 | reginsert(BRANCH, ret); /* Either x */ | ^~~~~~~~~ regexp.c:187:13: note: declared here 187 | STATIC void reginsert(); | ^~~~~~~~~ regexp.c:452:30: error: too many arguments to function 'regnode'; expected 0, have 1 452 | regtail(ret, regnode(BRANCH)); /* or */ | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:452:17: error: too many arguments to function 'regtail'; expected 0, have 2 452 | regtail(ret, regnode(BRANCH)); /* or */ | ^~~~~~~ ~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:453:24: error: too many arguments to function 'regnode'; expected 0, have 1 453 | next = regnode(NOTHING); /* null. */ | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:454:17: error: too many arguments to function 'regtail'; expected 0, have 2 454 | regtail(ret, next); | ^~~~~~~ ~~~ regexp.c:188:13: note: declared here 188 | STATIC void regtail(); | ^~~~~~~ regexp.c:455:17: error: too many arguments to function 'regoptail'; expected 0, have 2 455 | regoptail(ret, next); | ^~~~~~~~~ ~~~ regexp.c:189:13: note: declared here 189 | STATIC void regoptail(); | ^~~~~~~~~ regexp.c: In function 'regatom': regexp.c:473:1: warning: old-style function definition [-Wold-style-definition] 473 | regatom(flagp) | ^~~~~~~ regexp.c:483:23: error: too many arguments to function 'regnode'; expected 0, have 1 483 | ret = regnode(BOL); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:486:23: error: too many arguments to function 'regnode'; expected 0, have 1 486 | ret = regnode(EOL); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:489:23: error: too many arguments to function 'regnode'; expected 0, have 1 489 | ret = regnode(ANY); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:497:39: error: too many arguments to function 'regnode'; expected 0, have 1 497 | ret = regnode(ANYBUT); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:500:39: error: too many arguments to function 'regnode'; expected 0, have 1 500 | ret = regnode(ANYOF); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:502:33: error: too many arguments to function 'regc'; expected 0, have 1 502 | regc(*regparse++); | ^~~~ ~~~~~~~~~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c:507:49: error: too many arguments to function 'regc'; expected 0, have 1 507 | regc('-'); | ^~~~ ~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c:514:57: error: too many arguments to function 'regc'; expected 0, have 1 514 | regc(class); | ^~~~ ~~~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c:518:41: error: too many arguments to function 'regc'; expected 0, have 1 518 | regc(*regparse++); | ^~~~ ~~~~~~~~~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c:520:25: error: too many arguments to function 'regc'; expected 0, have 1 520 | regc('\0'); | ^~~~ ~~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c:528:23: error: too many arguments to function 'reg'; expected 0, have 2 528 | ret = reg(1, &flags); | ^~~ ~ regexp.c:298:1: note: declared here 298 | reg(paren, flagp) | ^~~ regexp.c:546:23: error: too many arguments to function 'regnode'; expected 0, have 1 546 | ret = regnode(EXACTLY); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:547:17: error: too many arguments to function 'regc'; expected 0, have 1 547 | regc(*regparse++); | ^~~~ ~~~~~~~~~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c:548:17: error: too many arguments to function 'regc'; expected 0, have 1 548 | regc('\0'); | ^~~~ ~~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c:556:31: warning: incompatible implicit declaration of built-in function 'strcspn' [-Wbuiltin-declaration-mismatch] 556 | len = strcspn(regparse, META); | ^~~~~~~ regexp.c:556:31: note: include '' or provide a declaration of 'strcspn' regexp.c:565:31: error: too many arguments to function 'regnode'; expected 0, have 1 565 | ret = regnode(EXACTLY); | ^~~~~~~ regexp.c:184:14: note: declared here 184 | STATIC char *regnode(); | ^~~~~~~ regexp.c:567:33: error: too many arguments to function 'regc'; expected 0, have 1 567 | regc(*regparse++); | ^~~~ ~~~~~~~~~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c:570:25: error: too many arguments to function 'regc'; expected 0, have 1 570 | regc('\0'); | ^~~~ ~~~~ regexp.c:186:13: note: declared here 186 | STATIC void regc(); | ^~~~ regexp.c: In function 'regnode': regexp.c:582:1: warning: old-style function definition [-Wold-style-definition] 582 | regnode(op) | ^~~~~~~ regexp.c: In function 'regc': regexp.c:607:1: warning: old-style function definition [-Wold-style-definition] 607 | regc(b) | ^~~~ regexp.c: In function 'reginsert': regexp.c:622:1: warning: old-style function definition [-Wold-style-definition] 622 | reginsert(op, opnd) | ^~~~~~~~~ regexp.c: In function 'regtail': regexp.c:651:1: warning: old-style function definition [-Wold-style-definition] 651 | regtail(p, val) | ^~~~~~~ regexp.c:665:24: error: too many arguments to function 'regnext'; expected 0, have 1 665 | temp = regnext(scan); | ^~~~~~~ ~~~~ regexp.c:185:14: note: declared here 185 | STATIC char *regnext(); | ^~~~~~~ regexp.c: In function 'regoptail': regexp.c:683:1: warning: old-style function definition [-Wold-style-definition] 683 | regoptail(p, val) | ^~~~~~~~~ regexp.c:690:9: error: too many arguments to function 'regtail'; expected 0, have 2 690 | regtail(OPERAND(p), val); | ^~~~~~~ regexp.c:651:1: note: declared here 651 | regtail(p, val) | ^~~~~~~ regexp.c: In function 'regexec': regexp.c:722:1: warning: old-style function definition [-Wold-style-definition] 722 | regexec(prog, string) | ^~~~~~~ regexp.c:727:22: warning: conflicting types for built-in function 'strchr'; expected 'char *(const char *, int)' [-Wbuiltin-declaration-mismatch] 727 | extern char *strchr(); | ^~~~~~ regexp.c:727:22: note: 'strchr' is declared in header '' regexp.c:744:29: error: too many arguments to function 'strchr'; expected 0, have 2 744 | while ((s = strchr(s, prog->regmust[0])) != NULL) { | ^~~~~~ ~ regexp.c:727:22: note: declared here 727 | extern char *strchr(); | ^~~~~~ regexp.c:745:59: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 745 | if (strncmp(s, prog->regmust, prog->regmlen) == 0) | ~~~~^~~~~~~~~ : note: built-in 'strncmp' declared here regexp.c:758:24: error: too many arguments to function 'regtry'; expected 0, have 2 758 | return(regtry(prog, string)); | ^~~~~~ ~~~~ regexp.c:708:12: note: declared here 708 | STATIC int regtry(); | ^~~~~~ regexp.c:764:29: error: too many arguments to function 'strchr'; expected 0, have 2 764 | while ((s = strchr(s, prog->regstart)) != NULL) { | ^~~~~~ ~ regexp.c:727:22: note: declared here 727 | extern char *strchr(); | ^~~~~~ regexp.c:765:29: error: too many arguments to function 'regtry'; expected 0, have 2 765 | if (regtry(prog, s)) | ^~~~~~ ~~~~ regexp.c:708:12: note: declared here 708 | STATIC int regtry(); | ^~~~~~ regexp.c:772:29: error: too many arguments to function 'regtry'; expected 0, have 2 772 | if (regtry(prog, s)) | ^~~~~~ ~~~~ regexp.c:708:12: note: declared here 708 | STATIC int regtry(); | ^~~~~~ regexp.c: In function 'regtry': regexp.c:784:1: warning: old-style function definition [-Wold-style-definition] 784 | regtry(prog, string) | ^~~~~~ regexp.c:802:13: error: too many arguments to function 'regmatch'; expected 0, have 1 802 | if (regmatch(prog->program + 1)) { | ^~~~~~~~ ~~~~~~~~~~~~~~~~~ regexp.c:709:12: note: declared here 709 | STATIC int regmatch(); | ^~~~~~~~ regexp.c: In function 'regmatch': regexp.c:821:1: warning: old-style function definition [-Wold-style-definition] 821 | regmatch(prog) | ^~~~~~~~ regexp.c:838:24: error: too many arguments to function 'regnext'; expected 0, have 1 838 | next = regnext(scan); | ^~~~~~~ ~~~~ regexp.c:185:14: note: declared here 185 | STATIC char *regnext(); | ^~~~~~~ regexp.c:862:39: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 862 | len = strlen(opnd); | ^~~~~~ regexp.c:862:39: note: include '' or provide a declaration of 'strlen' regexp.c:863:72: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 863 | if (len > 1 && strncmp(opnd, reginput, len) != 0) | ^~~ : note: built-in 'strncmp' declared here regexp.c:869:50: error: too many arguments to function 'strchr'; expected 0, have 2 869 | if (*reginput == '\0' || strchr(OPERAND(scan), *reginput) == NULL) | ^~~~~~ regexp.c:826:22: note: declared here 826 | extern char *strchr(); | ^~~~~~ regexp.c:874:50: error: too many arguments to function 'strchr'; expected 0, have 2 874 | if (*reginput == '\0' || strchr(OPERAND(scan), *reginput) != NULL) | ^~~~~~ regexp.c:826:22: note: declared here 826 | extern char *strchr(); | ^~~~~~ regexp.c:897:37: error: too many arguments to function 'regmatch'; expected 0, have 1 897 | if (regmatch(next)) { | ^~~~~~~~ ~~~~ regexp.c:821:1: note: declared here 821 | regmatch(prog) | ^~~~~~~~ regexp.c:925:37: error: too many arguments to function 'regmatch'; expected 0, have 1 925 | if (regmatch(next)) { | ^~~~~~~~ ~~~~ regexp.c:821:1: note: declared here 821 | regmatch(prog) | ^~~~~~~~ regexp.c:946:53: error: too many arguments to function 'regmatch'; expected 0, have 1 946 | if (regmatch(OPERAND(scan))) | ^~~~~~~~ regexp.c:821:1: note: declared here 821 | regmatch(prog) | ^~~~~~~~ regexp.c:949:56: error: too many arguments to function 'regnext'; expected 0, have 1 949 | scan = regnext(scan); | ^~~~~~~ ~~~~ regexp.c:185:14: note: declared here 185 | STATIC char *regnext(); | ^~~~~~~ regexp.c:972:38: error: too many arguments to function 'regrepeat'; expected 0, have 1 972 | no = regrepeat(OPERAND(scan)); | ^~~~~~~~~ regexp.c:710:12: note: declared here 710 | STATIC int regrepeat(); | ^~~~~~~~~ regexp.c:976:53: error: too many arguments to function 'regmatch'; expected 0, have 1 976 | if (regmatch(next)) | ^~~~~~~~ ~~~~ regexp.c:821:1: note: declared here 821 | regmatch(prog) | ^~~~~~~~ regexp.c: In function 'regrepeat': regexp.c:1009:1: warning: old-style function definition [-Wold-style-definition] 1009 | regrepeat(p) | ^~~~~~~~~ regexp.c:1021:25: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1021 | count = strlen(scan); | ^~~~~~ regexp.c:1021:25: note: include '' or provide a declaration of 'strlen' regexp.c:1031:41: error: too many arguments to function 'strchr'; expected 0, have 2 1031 | while (*scan != '\0' && strchr(opnd, *scan) != NULL) { | ^~~~~~ ~~~~ regexp.c:1015:22: note: declared here 1015 | extern char *strchr(); /* missing declaration added by ksk */ | ^~~~~~ regexp.c:1037:41: error: too many arguments to function 'strchr'; expected 0, have 2 1037 | while (*scan != '\0' && strchr(opnd, *scan) == NULL) { | ^~~~~~ ~~~~ regexp.c:1015:22: note: declared here 1015 | extern char *strchr(); /* missing declaration added by ksk */ | ^~~~~~ regexp.c: In function 'regnext': regexp.c:1056:1: warning: old-style function definition [-Wold-style-definition] 1056 | regnext(p) | ^~~~~~~ *** Error code 1 Stop. make[2]: stopped making "regexp.o" in /tmp/work/net/tinyfugue/work/tf-40s1/src/regexp cat: cannot open *** Error code 1 Stop. bmake[1]: stopped making "all" in /tmp/work/net/tinyfugue/work/tf-40s1/src exitmsg: No such file or directory