=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/graphics/xgraph", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xgraph-11.3.2.9nb2 --- xgraph.o --- --- xgX.o --- --- xgraph.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 -I/opt/pkg/include -c xgraph.c --- xgX.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 -I/opt/pkg/include -c xgX.c xgX.c:82:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | void set_X(new_win, out_info) | ^ In file included from xgX.c:16: In file included from ./xgout.h:8: ./xgraph.h:34: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] 34 | extern void set_X(); /* Initializes X device */ | ^ xgX.c:186:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | void init_X(user_state) | ^ xgX.c:201:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | static GC textGC(t_win, t_font) | ^ xgX.c:226:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | static GC segGC(l_win, l_fg, l_style, l_width, l_chars, l_len) | ^ xgX.c:258:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | static GC dotGC(d_win, d_fg, d_clipmask, d_xorg, d_yorg) | ^ xgX.c:292:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | void text_X(user_state, x, y, text, just, style) | ^ xgX.c:38:6: 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 | void text_X(); | ^ xgX.c:391:46: warning: passing arguments to 'pixel_cache_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | if(st->pixel_cache_idx) pixel_cache_flush(st); | ^ xgX.c:363:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | void seg_X(user_state, ns, segs, width, style, lappr, color) | ^ xgX.c:39:6: 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 | void seg_X(); | ^ xgX.c:396:25: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 396 | gc = segGC(st->pm, PM_PIXEL("Foreground"), | ^ 397 | LineSolid, PM_INT("GridSize"), (char *) 0, 0); | ~~~~~~~~~~~~~~~~~~ ./params.h:98:18: note: expanded from macro 'PM_PIXEL' 98 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ xgX.c:399:25: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 399 | gc = segGC(st->pm, PM_PIXEL("Foreground"), | ^ 400 | LineOnOffDash, PM_INT("GridSize"), | ~~~~~~~~~~~~~~~~~~ ./params.h:98:18: note: expanded from macro 'PM_PIXEL' 98 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ --- xgraph.o --- xgraph.c:298:14: warning: passing arguments to 'ParseArgs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgX.o --- xgX.c:407:25: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 407 | gc = segGC(st->pm, PM_PIXEL("ZeroColor"), | ^ --- xgraph.o --- 298 | ParseArgs(argc, argv, 0); | ^ --- xgX.o --- 408 | LineSolid, PM_INT("ZeroWidth"), (char *) 0, 0); | ~~~~~~~~~~~~~~~~~~~ --- xgraph.o --- xgraph.c:307:27: warning: passing arguments to 'xgraph_stream_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgX.o --- ./params.h:98:18: note: expanded from macro 'PM_PIXEL' --- xgraph.o --- 307 | strm = xgraph_stream_open(NULL); | ^ xgraph.c:308:14: warning: passing arguments to 'ReadData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgX.o --- 98 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ xgX.c:410:25: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] --- xgraph.o --- 308 | if (ReadData(strm) < 0) { | ^ --- xgX.o --- 410 | gc = segGC(st->pm, PM_PIXEL("ZeroColor"), | ^ --- xgraph.o --- xgraph.c:311:21: warning: passing arguments to 'xgraph_stream_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgX.o --- 411 | LineOnOffDash, PM_INT("ZeroWidth"), | ~~~~~~~~~~~~~~~~~~~ --- xgraph.o --- 311 | xgraph_stream_close(strm); | ^ --- xgX.o --- ./params.h:98:18: note: expanded from macro 'PM_PIXEL' --- xgraph.o --- xgraph.c:319:31: warning: passing arguments to 'xgraph_stream_open' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgX.o --- 98 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ --- xgraph.o --- 319 | strm = xgraph_stream_open(inFileNames[idx]); | ^ xgraph.c:325:15: warning: passing arguments to 'ReadData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | if (ReadData(strm) < 0) { | ^ xgraph.c:328:22: warning: passing arguments to 'xgraph_stream_close' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | xgraph_stream_close(strm); | ^ xgraph.c:343:14: warning: passing arguments to 'ParseArgs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | ParseArgs(argc, argv, 1); | ^ xgraph.c:357:13: warning: passing arguments to 'Traverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgX.o --- xgX.c:451:17: warning: passing arguments to 'pixel_cache_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgraph.o --- 357 | Traverse(flags); | ^ --- xgX.o --- 451 | pixel_cache_put(st, x, y, color); | ^ xgX.c:454:43: warning: passing arguments to 'pixel_cache_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | if(st->pixel_cache_idx) pixel_cache_flush(st); | ^ --- xgraph.o --- xgraph.c:373:24: warning: passing arguments to 'NewWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgX.o --- xgX.c:463:43: warning: passing arguments to 'pixel_cache_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgraph.o --- 373 | primary = NewWindow(Prog_Name, | ^ --- xgX.o --- 463 | if(st->pixel_cache_idx) pixel_cache_flush(st); | ^ xgX.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 dot_X(user_state, x, y, style, type, color) | ^ xgX.c:40:6: 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 | void dot_X(); | ^ --- xgraph.o --- xgraph.c:410:9: warning: passing arguments to 'init_X' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | init_X(win_info->dev_info.user_state); | ^ xgraph.c:411:13: warning: passing arguments to 'DrawWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | DrawWindow(win_info); | ^ --- xgX.o --- xgX.c:475:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgraph.o --- xgraph.c:420:16: warning: passing arguments to 'DelWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgX.o --- 475 | int redraw_X(out) | ^ xgX.c:36:5: 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] 36 | int redraw_X(); | ^ --- xgraph.o --- 420 | DelWindow(theEvent.xkey.window, win_info); | ^ xgraph.c:425:18: warning: passing arguments to 'PrintWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | PrintWindow(theEvent.xany.window, win_info); | ^ xgraph.c:431:31: warning: passing arguments to 'HandleZoom' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | Num_Windows += HandleZoom(Prog_Name, | ^ --- xgX.o --- xgX.c:487:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgraph.o --- xgraph.c:257:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgX.o --- 487 | void start_X(out) | ^ xgX.c:37:6: 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] --- xgraph.o --- 257 | int main(argc, argv) | ^ --- xgX.o --- 37 | void start_X(); | ^ --- xgraph.o --- xgraph.c:371:28: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 371 | xtb_init(disp, screen, PM_PIXEL("Foreground"), PM_PIXEL("Background"), | ^ ~~~~~~~~~~~~~~~~~~~~~~ ./params.h:98:18: note: expanded from macro 'PM_PIXEL' --- xgX.o --- xgX.c:523:19: warning: passing arguments to 'pixel_cache_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgraph.o --- 98 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ --- xgX.o --- 523 | pixel_cache_flush(st); | ^ --- xgraph.o --- xgraph.c:374:4: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] --- xgX.o --- xgX.c:518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgraph.o --- 374 | PM_DBL("XLowLimit"), PM_DBL("YLowLimit"), | ^ ~~~~~~~~~~~~~~~~~~~ --- xgX.o --- 518 | void flush_X(user_state) | ^ --- xgraph.o --- ./params.h:118:18: note: expanded from macro 'PM_DBL' --- xgX.o --- xgX.c:41:6: 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] 41 | void flush_X(); | ^ --- xgraph.o --- 118 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ --- xgX.o --- xgX.c:529:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | void pixel_cache_flush(st) | ^ xgX.c:42:6: 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 | void pixel_cache_flush(); | ^ xgX.c:542:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | void pixel_cache_put(st, x, y, color) | ^ xgX.c:43:6: 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 | void pixel_cache_put(); | ^ --- xgraph.o --- xgraph.c:447:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | static void ReversePix(param_name) | ^ xgraph.c:494:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | static void Traverse(flags) | ^ xgraph.c:162: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] 162 | static void Traverse(); | ^ xgraph.c:559:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | do_error("Can't close window while\nhardcopy dialog is posted.\n"); | ^ xgraph.c:562:15: warning: passing arguments to 'DelWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | DelWindow(the_win, win_info); | ^ xgraph.c:544:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | xtb_hret del_func(win, bval, info) | ^ xgraph.c:585:13: warning: passing arguments to 'PrintWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | PrintWindow(the_win, win_info); | ^ xgraph.c:569:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | xtb_hret hcpy_func(win, bval, info) | ^ xgraph.c:614:9: warning: passing arguments to 'msg_box' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | msg_box("XGraph", msg_buf); | ^ xgraph.c:595:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | xtb_hret abt_func(win, bval, info) | ^ xgraph.c:739:7: warning: passing arguments to 'set_X' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 739 | set_X(new_window, &(new_info->dev_info)); | ^ xgraph.c:625:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | Window NewWindow(progname, lowX, lowY, upX, upY, asp) | ^ xgraph.c:781:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | static void DelWindow(win, win_info) | ^ xgraph.c:169: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] 169 | static void DelWindow(); | ^ xgraph.c:809:14: warning: passing arguments to 'ho_dialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | ho_dialog(win, Prog_Name, (char *) win_info); | ^ xgraph.c:800:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | static void PrintWindow(win, win_info) | ^ xgraph.c:170: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] 170 | static void PrintWindow(); | ^ xgraph.c:840:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | static int HandleZoom(progname, evt, wi, cur) | ^ xgraph.c:171: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] 171 | static int HandleZoom(); | ^ xgraph.c:868:22: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 868 | gcvals.foreground = PM_PIXEL("ZeroColor") ^ PM_PIXEL("Background"); | ^ ~~~~~~~~~~~~~~~~~~~~~~ ./params.h:98:18: note: expanded from macro 'PM_PIXEL' 98 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ xgraph.c:1113:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | int argerror(err, val) | ^ xgraph.c:1159:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | static void ParseArgs(argc, argv, do_it) | ^ xgraph.c:166: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] 166 | static void ParseArgs(); | ^ xgraph.c:1299:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1299 | static int rdSet(fn) | ^ xgraph.c:1327:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | static void rdSetName(name) | ^ xgraph.c:1360:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | static void rdPoint(xval, yval) | ^ xgraph.c:1449:19: 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 previous declaration [-Wdeprecated-non-prototype] 1449 | extern double atof(); | ^ /System/Volumes/Data/Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/_stdlib.h:149:9: note: conflicting prototype is here 149 | double atof(const char *); | ^ xgraph.c:1508:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | static LineType parse_line(line, result) | ^ xgraph.c:1640:30: warning: passing arguments to 'xgraph_stream_gets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1640 | while (xgraph_stream_gets(buffer, sizeof(buffer), stream)) { | ^ xgraph.c:1619:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1619 | static int ReadData(stream) | ^ xgraph.c:167: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] 167 | static int ReadData(); | ^ xgraph.c:1696:14: warning: passing arguments to 'ReDraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | if(ReDraw(win_info)) | ^ xgraph.c:1698:25: warning: passing arguments to 'TransformCompute' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1698 | if (TransformCompute(win_info)) { | ^ xgraph.c:1701:11: warning: passing arguments to 'DrawStart' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | DrawStart(win_info); | ^ xgraph.c:1704:11: warning: passing arguments to 'DrawTitle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | DrawTitle(win_info); | ^ xgraph.c:1707:12: warning: passing arguments to 'DrawLegend' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1707 | DrawLegend(win_info); | ^ xgraph.c:1710:17: warning: passing arguments to 'DrawGridAndAxis' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1710 | DrawGridAndAxis(win_info); | ^ xgraph.c:1713:10: warning: passing arguments to 'DrawData' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | DrawData(win_info); | ^ xgraph.c:1716:11: warning: passing arguments to 'DrawFlush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | DrawFlush(win_info); | ^ xgraph.c:1685:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1685 | static void DrawWindow(win_info) | ^ xgraph.c:168: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] 168 | static void DrawWindow(); | ^ xgraph.c:1733:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1723:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1723 | static void DrawTitle(wi) | ^ xgraph.c: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 | static void DrawTitle(); | ^ xgraph.c:1797:10: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | do_error(strcpy(err, "Drawing area is too small\n")); | ^ xgraph.c:1742:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1742 | static int TransformCompute(wi) | ^ xgraph.c:173: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] 173 | static int TransformCompute(); | ^ xgraph.c:1884:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1884 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1887:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1891:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1891 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1900:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1904:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1904 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1907:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1907 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1915:22: warning: passing arguments to 'initGrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1915 | Ystart = initGrid(wi->UsrOrgY, Yincr, logYFlag); | ^ xgraph.c:1919:12: warning: passing arguments to 'WriteValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1919 | WriteValue(value, Yindex, expY, logYFlag, PM_STR("LabelFormatY")); | ^ xgraph.c:1920:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1927:22: warning: passing arguments to 'initGrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | Xstart = initGrid(wi->UsrOrgX, Xincr, logXFlag); | ^ xgraph.c:1931:12: warning: passing arguments to 'WriteValue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1931 | WriteValue(value, Xindex, expX, logXFlag, PM_STR("LabelFormatX")); | ^ xgraph.c:1932:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1942:22: warning: passing arguments to 'initGrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1942 | Ystart = initGrid(wi->UsrOrgY, Yincr, logYFlag); | ^ xgraph.c:1957:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1957 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1961:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1961 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1966:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1966 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1970:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1970 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1978:22: warning: passing arguments to 'initGrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | Xstart = initGrid(wi->UsrOrgX, Xincr, logXFlag); | ^ xgraph.c:1993:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1993 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1996:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2002:25: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2005:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2005 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2019:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2019 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1828:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | static void DrawGridAndAxis(wi) | ^ xgraph.c: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 | static void DrawGridAndAxis(); | ^ xgraph.c:2079:20: warning: passing arguments to 'RoundUp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2079 | gridStep = RoundUp(step); | ^ xgraph.c:2029:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2029 | double initGrid(low, step, logFlag) | ^ xgraph.c:2094:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2094 | double RoundUp(val) | ^ xgraph.c:2130:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2130 | static void WriteValue(str, val, expv, logFlag, fmt) | ^ xgraph.c: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 | static void WriteValue(); | ^ xgraph.c:2213:19: warning: passing arguments to 'set_mark_flags' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | set_mark_flags(&markFlag, &pixelMarks, &bigPixel, &colorMark); | ^ xgraph.c:2267:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2267 | wi->dev_info.xg_dot(wi->dev_info.user_state, x, y, | ^ xgraph.c:2312:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2312 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2324:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2384:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2384 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2394:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2394 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2178:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2178 | static void DrawData(wi) | ^ xgraph.c: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 | static void DrawData(); | ^ xgraph.c:2410:31: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2410 | return wi->dev_info.xg_redraw(&wi->dev_info); | ^ xgraph.c:2406:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2406 | int ReDraw(wi) | ^ xgraph.c:172: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] 172 | static int ReDraw(); | ^ xgraph.c:2418:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2418 | wi->dev_info.xg_start(&wi->dev_info); | ^ xgraph.c:2414:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2414 | static void DrawStart(wi) | ^ xgraph.c:174: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] 174 | static void DrawStart(); | ^ xgraph.c:2425:23: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2425 | wi->dev_info.xg_flush(wi->dev_info.user_state); | ^ xgraph.c:2421:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2421 | static void DrawFlush(wi) | ^ xgraph.c:179: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] 179 | static void DrawFlush(); | ^ xgraph.c:2441:19: warning: passing arguments to 'set_mark_flags' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2441 | set_mark_flags(&markFlag, &pixelMarks, &bigPixel, &colorMark); | ^ xgraph.c:2452:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2452 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:2470:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2470 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2474:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2474 | wi->dev_info.xg_dot(wi->dev_info.user_state, | ^ xgraph.c:2430:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2430 | static void DrawLegend(wi) | ^ xgraph.c: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 | static void DrawLegend(); | ^ xgraph.c:2486:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2486 | static void set_mark_flags(markFlag, pixelMarks, bigPixel, colorMark) | ^ xgraph.c:161: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] 161 | static void set_mark_flags(); | ^ xgraph.c:2550:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2550 | do_error(sprintf(err, "Unable to issue command:\n %s\n", buf)); | ^ xgraph.c:2554:13: warning: passing arguments to 'tildeExpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2554 | tildeExpand(tilde, file_or_dev); | ^ xgraph.c:2557:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2557 | do_error(sprintf(err, "Unable to open file `%s'\n", tilde)); | ^ xgraph.c:2577:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2577 | if ((*init_fun)(out_stream, final_w, final_h, ti_fam, ti_size, | ^ xgraph.c:2581:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2581 | thisWin.dev_info.xg_end(thisWin.dev_info.user_state); | ^ xgraph.c:2584:10: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2584 | do_error(ierr); | ^ xgraph.c:2516:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2516 | void do_hardcopy(prog, info, init_fun, dev_spec, file_or_dev, maxdim, | ^ In file included from xgraph.c:18: In file included from ./xgout.h:8: ./xgraph.h:32: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] 32 | extern void do_hardcopy(); /* Carries out hardcopy */ | ^ xgraph.c:2594:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2594 | static char *tildeExpand(out, in) | ^ xgraph.c:159: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] 159 | static char *tildeExpand(); | ^ xgraph.c:2640:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2640 | static int XErrHandler(disp_ptr, evt) | ^ xgraph.c:252: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] 252 | static int XErrHandler(); /* Handles error messages */ | ^ xgraph.c:253: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] 253 | static XGraphStream *xgraph_stream_open(); | ^ xgraph.c:2717:22: note: conflicting prototype is here 2717 | static XGraphStream *xgraph_stream_open(char *filename) | ^ xgraph.c:2759:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2759 | static char *xgraph_stream_gets(buff, n, stream) | ^ xgraph.c:254: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] 254 | static char *xgraph_stream_gets(); | ^ xgraph.c:2795:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2795 | static void xgraph_stream_close(stream) | ^ xgraph.c:255: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] 255 | static void xgraph_stream_close(); | ^ --- xgX.o --- 31 warnings generated. --- hard_devices.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 -I/opt/pkg/include -c hard_devices.c --- 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 -I/opt/pkg/include -c dialog.c dialog.c:66:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | static xtb_hret df_fun(win, ch, text, val) | ^ dialog.c:131:15: warning: passing arguments to 'do_hardcopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | do_hardcopy(real_info->prog, real_info->cookie, | ^ dialog.c:138:12: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | do_error("Bad axis font size\n"); | ^ dialog.c:143:15: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | do_error("Bad title font size\n"); | ^ dialog.c:148:11: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | do_error("Bad maximum dimension\n"); | ^ dialog.c:153:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | do_error("Must specify `To File' or `To Device'\n"); | ^ dialog.c:158:10: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | do_error("Must specify an output device\n"); | ^ dialog.c:91:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | static xtb_hret ok_fun(win, bval, info) | ^ dialog.c:166:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | static xtb_hret can_fun(win, val, info) | ^ dialog.c:183:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | static xtb_hret docu_fun(win, val, info) | ^ dialog.c:232:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | do_error("Warning: can't read maximum dimension"); | ^ dialog.c:238:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | do_error("Warning: can't read title font size"); | ^ dialog.c:244:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | do_error("Warning: can't read axis font size"); | ^ dialog.c:200:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | static xtb_hret dev_fun(win, old, new, info) | ^ dialog.c:283:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | static xtb_hret fd_fun(win, old, new, info) | ^ dialog.c:336:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | static void make_dialog(win, spawned, prog, cookie, okbtn, frame) | ^ dialog.c:561:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | void ho_dialog(parent, prog, cookie) | ^ In file included from dialog.c:10: In file included from ./xgout.h:8: ./xgraph.h:33: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] 33 | extern void ho_dialog(); /* Hardcopy dialog */ | ^ dialog.c:631:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | static xtb_hret err_func(win, bval, info) | ^ dialog.c:659:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | static void make_msg_box(text, title, frame) | ^ dialog.c:33: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] 33 | static void make_msg_box(); | ^ dialog.c:792:16: warning: passing arguments to 'del_msg_box' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | del_msg_box(text_frame.win); | ^ dialog.c:747:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | void msg_box(title, text) | ^ In file included from dialog.c:10: In file included from ./xgout.h:8: ./xgraph.h:36: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] 36 | extern void msg_box(); | ^ dialog.c:795:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | void do_error(err_text) | ^ dialog.c:19:6: 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] 19 | void do_error(); | ^ dialog.c:803:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | static int get_line(tptr, lptr) | ^ dialog.c:829:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | static void del_msg_box(msg) | ^ dialog.c:34: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] 34 | static void del_msg_box(); | ^ --- xgraph.o --- 137 warnings generated. --- dialog.o --- 29 warnings generated. --- hpgl.o --- --- ps.o --- --- hpgl.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 -I/opt/pkg/include -c hpgl.c --- ps.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 -I/opt/pkg/include -c ps.c ps.c:97:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | int rd(dbl) | ^ ps.c:175:12: warning: passing arguments to 'psScale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | psScale(psFile, width, height, flags); | ^ ps.c:176:12: warning: passing arguments to 'psFuncs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | psFuncs(psFile, ui); | ^ ps.c:177:12: warning: passing arguments to 'psFonts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | psFonts(psFile); | ^ ps.c:178:12: warning: passing arguments to 'psMarks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | psMarks(psFile, ui); | ^ ps.c:109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | int psInit(psFile, width, height, tf, ts, af, as, flags, outInfo, errmsg) | ^ ps.c:187:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | static void psHeader(psFile, docu_flag) | ^ ps.c:208:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | static void psScale(psFile, width, height, flags) | ^ ps.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 psScale(), psFonts(), psMarks(), psFuncs(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:302:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | static void psFonts(psFile) | ^ ps.c:73:24: 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 psScale(), psFonts(), psMarks(), psFuncs(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:379:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | static void psMarks(psFile, ui) | ^ ps.c:73: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] 73 | static void psScale(), psFonts(), psMarks(), psFuncs(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:426:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | static void psFuncs(psFile, ui) | ^ ps.c:73: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] 73 | static void psScale(), psFonts(), psMarks(), psFuncs(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:442:13: 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 void psText(state, x, y, text, just, style) | ^ ps.c:73:57: 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 psScale(), psFonts(), psMarks(), psFuncs(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:473:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | static char *int_to_str(value, len_ret) | ^ ps.c:534:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | static void psSeg(state, ns, seglist, width, style, lappr, color) | ^ ps.c:73:67: 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 psScale(), psFonts(), psMarks(), psFuncs(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:600:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | static void psDot(state, x, y, style, type, color) | ^ ps.c:73:76: 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 psScale(), psFonts(), psMarks(), psFuncs(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:639:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | static void psEnd(userState) | ^ ps.c:73:85: 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 psScale(), psFonts(), psMarks(), psFuncs(), psText(), psSeg(), psDot(), psEnd(); | ^ --- hpgl.o --- hpgl.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | hpglInit(stream,width,height,title_family, title_size, | ^ hpgl.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | hpglText(userState,x,y,text,just,style) | ^ hpgl.c:19: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] 19 | static void hpglText(); | ^ hpgl.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | hpglSeg(userState,ns,segs,width,style,lappr,color) | ^ hpgl.c:20: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] 20 | static void hpglSeg(); | ^ hpgl.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | hpglDot(userState,x,y,style,type,color) | ^ hpgl.c:21: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] 21 | static void hpglDot(); | ^ hpgl.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | hpglEnd(userState) | ^ hpgl.c:22: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] 22 | static void hpglEnd(); | ^ 9 warnings generated. --- idraw.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 -I/opt/pkg/include -c idraw.c --- ps.o --- 24 warnings generated. --- xtb.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 -I/opt/pkg/include -c xtb.c --- idraw.o --- idraw.c:80:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | int idrawInit(strm, width, height, title_family, title_size, | ^ idraw.c:209:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | static void idraw_just(x, y, just, size, len) | ^ idraw.c:268:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | void idrawText(user_state, x, y, text, just, style) | ^ idraw.c:75:6: 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] 75 | void idrawText( ); | ^ idraw.c:347:31: warning: implicit conversion from 'int' to 'short' changes value from 65535 to -1 [-Wconstant-conversion] 347 | to_style = style == L_AXIS ? 65535 | ~ ^~~~~ idraw.c:348:23: warning: implicit conversion from 'int' to 'short' changes value from 65535 to -1 [-Wconstant-conversion] 347 | to_style = style == L_AXIS ? 65535 | ~ 348 | : style == L_ZERO ? 65535 | ^~~~~ idraw.c:314:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | void idrawSeg(user_state, ns, seglist, width, style, lappr, color) | ^ idraw.c:77:6: 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] 77 | void idrawSeg( ); | ^ idraw.c:396:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | void idrawDot(user_state, x, y, style, type, color) | ^ idraw.c:76:6: 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 | void idrawDot( ); | ^ idraw.c:414:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | void idrawEnd(user_state) | ^ idraw.c:78:6: 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] 78 | void idrawEnd( ); | ^ --- xtb.o --- xtb.c:53:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | void xtb_init(disp, scrn, foreground, background, font) | ^ xtb.c:86:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | static Pixmap make_stipple(disp, able, bits, width, height) | ^ xtb.c:122:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | static Pixmap gray_map(win) | ^ xtb.c:136:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | static GC set_gc(win, fg, bg, font, gray_p) | ^ xtb.c:169:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | void xtb_register(win, func, info) | ^ xtb.c:190:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | xtb_data xtb_lookup(win) | ^ xtb.c:205:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | xtb_hret xtb_dispatch(evt) | ^ xtb.c:220:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | int xtb_unregister(win, info) | ^ xtb.c:256:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | static void bt_draw(win, ri) | ^ xtb.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 bt_line(win, ri, pix) | ^ xtb.c:301:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | static xtb_hret bt_h(evt, info) | ^ xtb.c:335:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | void xtb_bt_new(win, text, func, val, frame) | ^ xtb.c:381:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | int xtb_bt_get(win, stuff, na) | ^ xtb.c:398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | int xtb_bt_set(win, val, stuff, na) | ^ xtb.c:423:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | void xtb_bt_del(win, info) | ^ xtb.c:457:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | static xtb_hret br_h(win, val, info) | ^ xtb.c:492:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | void xtb_br_new(win, cnt, lbls, init, func, val, frame) | ^ xtb.c:547:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | int xtb_br_get(win) | ^ xtb.c:560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | void xtb_br_del(win) | ^ xtb.c:591:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | static void to_draw(win, ri) | ^ xtb.c:604:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | static xtb_hret to_h(evt, info) | ^ xtb.c:623:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | void xtb_to_new(win, text, ft, frame) | ^ xtb.c:651:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | void xtb_to_del(win) | ^ xtb.c:689:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | static int text_width(font, str, len) | ^ xtb.c:704:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | static void ti_cursor_on(win, ri) | ^ xtb.c:718:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | static void ti_cursor_off(win, ri) | ^ xtb.c:732:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | static void ti_draw(win, ri, c_flag) | ^ xtb.c:752:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | static void ti_line(win, ri, pix) | ^ xtb.c:767:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | static void focus_evt(evt) | ^ xtb.c:815:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | static xtb_hret ti_h(evt, info) | ^ xtb.c:878:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | void xtb_ti_new(win, text, maxchar, func, val, frame) | ^ xtb.c:930:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | void xtb_ti_get(win, text, val) | ^ xtb.c:947:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | int xtb_ti_set(win, text, val) | ^ xtb.c:976:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | int xtb_ti_ins(win, ch) | ^ xtb.c:1005:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | int xtb_ti_dch(win) | ^ xtb.c:1032:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | void xtb_ti_del(win, info) | ^ xtb.c:1053:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | void xtb_bk_new(win, width, height, frame) | ^ xtb.c:1076:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | void xtb_bk_del(win) | ^ xtb.c:1094:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | xtb_fmt *xtb_w(w) | ^ xtb.c:1184:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | static void xtb_fmt_setpos(def, x, y) | ^ xtb.c:1209:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | static void xtb_fmt_addpos(def, x, y) | ^ xtb.c:1233:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1233 | static void xtb_fmt_hort(nd, defs, widths, heights, just, pad, inter, rw, rh) | ^ xtb.c:1280:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1280 | static void xtb_fmt_vert(nd, defs, widths, heights, just, pad, inter, rw, rh) | ^ xtb.c:1347:52: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1347 | xtb_fmt_hort(def->align.ni, def->align.items, widths, heights, | ^~~~~~ xtb.c:1347:60: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1347 | xtb_fmt_hort(def->align.ni, def->align.items, widths, heights, | ^~~~~~~ xtb.c:1349:28: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1349 | def->align.interspace, w, h); | ^ xtb.c:1349:31: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1349 | def->align.interspace, w, h); | ^ --- idraw.o --- 12 warnings generated. --- xtb.o --- xtb.c:1352:52: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1352 | xtb_fmt_vert(def->align.ni, def->align.items, widths, heights, | ^~~~~~ xtb.c:1352:60: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1352 | xtb_fmt_vert(def->align.ni, def->align.items, widths, heights, | ^~~~~~~ xtb.c:1354:28: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1354 | def->align.interspace, w, h); | ^ xtb.c:1354:31: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1354 | def->align.interspace, w, h); | ^ xtb.c:1326:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | static void xtb_fmt_top(def, w, h) | ^ xtb.c:1396:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | xtb_fmt *xtb_fmt_do(def, w, h) | ^ xtb.c:1415:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | void xtb_fmt_free(def) | ^ xtb.c:1431:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | void xtb_mv_frames(nf, frames) | ^ --- st.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 -I/opt/pkg/include -c st.c --- xtb.o --- 55 warnings generated. --- params.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 -I/opt/pkg/include -c params.c --- st.o --- st.c:46:5: 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 previous declaration [-Wdeprecated-non-prototype] 46 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ ./st.h:88:12: note: conflicting prototype is here 88 | extern int st_numhash | ^ st.c:46:19: 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 previous declaration [-Wdeprecated-non-prototype] 46 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ ./st.h:91:12: note: conflicting prototype is here 91 | extern int st_ptrhash | ^ st.c:46: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 previous declaration [-Wdeprecated-non-prototype] 46 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ ./st.h:94:12: note: conflicting prototype is here 94 | extern int st_numcmp | ^ st.c:46: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 previous declaration [-Wdeprecated-non-prototype] 46 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ ./st.h:97:12: note: conflicting prototype is here 97 | extern int st_ptrcmp | ^ st.c:51:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | st_table *st_init_table_with_params(compare, hash, size, density, grow_factor, | ^ st.c:65:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:82:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:88:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | st_table *st_init_table(compare, hash) | ^ st.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | st_free_table(table) | ^ st.c:136:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | int st_lookup(table, key, value) | ^ st.c:145:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | hash_val = do_hash(key, table); | ^ st.c:36:20: note: expanded from macro 'do_hash' 36 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:147:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^ st.c:127:12: note: expanded from macro 'FIND_ENTRY' 127 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^ st.c:122:33: note: expanded from macro 'PTR_NOT_EQUAL' 122 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^ st.c:30:43: note: expanded from macro 'EQUAL' 30 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^ st.c:178:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | int st_insert(table, key, value) | ^ st.c:188:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | hash_val = do_hash(key, table); | ^ st.c:36:20: note: expanded from macro 'do_hash' 36 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:190:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^ st.c:127:12: note: expanded from macro 'FIND_ENTRY' 127 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^ st.c:122:33: note: expanded from macro 'PTR_NOT_EQUAL' 122 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^ st.c:30:43: note: expanded from macro 'EQUAL' 30 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^ st.c:193:2: warning: passing arguments to 'rehash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | ADD_DIRECT(table,key,value,hash_val,new); | ^ st.c:160:15: note: expanded from macro 'ADD_DIRECT' 160 | (void) rehash(table);\ | ^ st.c:193:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] st.c:161:13: note: expanded from macro 'ADD_DIRECT' 161 | hash_val = do_hash(key,table);\ | ^ st.c:36:20: note: expanded from macro 'do_hash' 36 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:193:2: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] st.c:173:10: note: expanded from macro 'ADD_DIRECT' 173 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem);\ | ^ st.c:201:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | void st_add_direct(table, key, value) | ^ st.c:210:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | hash_val = do_hash(key, table); | ^ st.c:36:20: note: expanded from macro 'do_hash' 36 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:211:5: warning: passing arguments to 'rehash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | ADD_DIRECT(table, key, value, hash_val, new); | ^ st.c:160:15: note: expanded from macro 'ADD_DIRECT' 160 | (void) rehash(table);\ | ^ st.c:211:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] st.c:161:13: note: expanded from macro 'ADD_DIRECT' 161 | hash_val = do_hash(key,table);\ | ^ st.c:36:20: note: expanded from macro 'do_hash' 36 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:211:5: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] st.c:173:10: note: expanded from macro 'ADD_DIRECT' 173 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem);\ | ^ st.c:214:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | int st_find_or_add(table, key, slot) | ^ st.c:223:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | hash_val = do_hash(key, table); | ^ st.c:36:20: note: expanded from macro 'do_hash' 36 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:225:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^ st.c:127:12: note: expanded from macro 'FIND_ENTRY' 127 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^ st.c:122:33: note: expanded from macro 'PTR_NOT_EQUAL' 122 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^ st.c:30:43: note: expanded from macro 'EQUAL' 30 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^ st.c:228:2: warning: passing arguments to 'rehash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | ADD_DIRECT(table, key, (char *)0, hash_val, new); | ^ st.c:160:15: note: expanded from macro 'ADD_DIRECT' 160 | (void) rehash(table);\ | ^ st.c:228:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] st.c:161:13: note: expanded from macro 'ADD_DIRECT' 161 | hash_val = do_hash(key,table);\ | ^ st.c:36:20: note: expanded from macro 'do_hash' 36 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:228:2: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] st.c:173:10: note: expanded from macro 'ADD_DIRECT' 173 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem);\ | ^ st.c:237:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | int st_find(table, key, slot) | ^ st.c:246:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | hash_val = do_hash(key, table); | ^ st.c:36:20: note: expanded from macro 'do_hash' 36 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:248:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^ st.c:127:12: note: expanded from macro 'FIND_ENTRY' 127 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^ st.c:122:33: note: expanded from macro 'PTR_NOT_EQUAL' 122 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^ st.c:30:43: note: expanded from macro 'EQUAL' 30 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^ st.c:288:17: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | hash_val = do_hash(ptr->key, table); | ^ st.c:36:20: note: expanded from macro 'do_hash' 36 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:258:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | static void rehash(table) | ^ st.c:47: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] 47 | static void rehash(); | ^ st.c:298:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | st_table *st_copy(old_table) | ^ st.c:307:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:317:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:329:11: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:341:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | int st_delete(table, keyp, value) | ^ st.c:350:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | hash_val = do_hash(key, table); | ^ st.c:36:20: note: expanded from macro 'do_hash' 36 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:352:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | FIND_ENTRY(table, hash_val, key, ptr ,last); | ^ st.c:127:12: note: expanded from macro 'FIND_ENTRY' 127 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^ st.c:122:33: note: expanded from macro 'PTR_NOT_EQUAL' 122 | (ptr != nil(st_table_entry) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^ st.c:30:43: note: expanded from macro 'EQUAL' 30 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^ st.c:366:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | int st_foreach(table, func, arg) | ^ st.c:378:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | retval = (*func)(ptr->key, ptr->record, arg); | ^ st.c:391:11: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | errRaise(st_pkg_name, ST_BAD_RET, st_bad_ret); | ^ st.c:399:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | int st_strhash(string, modulus) | ^ st.c:413:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | int st_numhash(x, size) | ^ st.c:46:5: 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] 46 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ st.c:420:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | int st_ptrhash(x, size) | ^ st.c:46:19: 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] 46 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ st.c:427:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | int st_numcmp(x, y) | ^ st.c:46: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] 46 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ st.c:434:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | int st_ptrcmp(x, y) | ^ st.c:46: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] 46 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ st.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | st_init_gen(table) | ^ st.c:450:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | st_gen(gen, key_p, value_p) | ^ st.c:470:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | errRaise(st_pkg_name, ST_BAD_GEN, st_bad_gen); | ^ st.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | st_free_gen(gen) | ^ st.c:501:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | errRaise(st_pkg_name, ST_BAD_GEN, st_bad_gen); | ^ st.c:507:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | static void errRaise(pkg, num, msg) | ^ st.c:48: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] 48 | static void errRaise(); | ^ 62 warnings generated. --- xgraph._man --- rm -f xgraph._man if test -z "" ; then cd `dirname xgraph` && ln -s `basename xgraph.man` `basename xgraph._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" < xgraph.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/\@\@$/\/' >xgraph._man; fi --- params.o --- params.c:55:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | void param_init(disp, cmap) | ^ params.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 param_set(name, type, val) | ^ params.c:91:37: warning: passing arguments to 'free_resource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | if (entry->real_form) free_resource(entry->real_form); | ^ params.c:105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | void param_reset(name, val) | ^ params.c:130:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | params *param_get(name, val) | ^ params.c:147:38: warning: passing arguments to 'resolve_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | entry->real_form = resolve_entry(name, entry->type, entry->text_form); | ^ params.c:157:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | static void free_resource(val) | ^ params.c:36: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] 36 | static void free_resource(); | ^ params.c:215:15: warning: passing arguments to 'do_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | if (!do_color(form, &result->pixv.value)) { | ^ params.c:218:21: warning: passing arguments to 'do_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | (void) do_color(DEF_PIXEL, &result->pixv.value); | ^ params.c:222:14: warning: passing arguments to 'do_font' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | if (!do_font(form, &result->fontv.value)) { | ^ params.c:225:20: warning: passing arguments to 'do_font' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | (void) do_font(DEF_FONT, &result->fontv.value); | ^ params.c:229:15: warning: passing arguments to 'do_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | if (!do_style(form, &result->stylev)) { | ^ params.c:232:21: warning: passing arguments to 'do_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | (void) do_style(DEF_STYLE, &result->stylev); | ^ params.c:236:14: warning: passing arguments to 'do_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | if (!do_bool(form, &result->boolv.value)) { | ^ params.c:239:20: warning: passing arguments to 'do_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | (void) do_bool(DEF_BOOL, &result->boolv.value); | ^ params.c:188:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | static params *resolve_entry(name, type, form) | ^ params.c:37: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] 37 | static params *resolve_entry(); | ^ params.c:256:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | static int do_color(name, color) | ^ params.c: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 | static int do_color(); | ^ params.c:325:12: warning: cast to smaller integer type 'int' from 'XFontStruct *' [-Wpointer-to-int-cast] 325 | return (int) (*font_info = XLoadQueryFont(param_disp, name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ params.c:284:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | static int do_font(name, font_info) | ^ params.c: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 | static int do_font(); | ^ params.c:329:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | static int do_style(list, val) | ^ params.c: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 | static int do_style(); | ^ params.c:377:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | static int do_bool(name, val) | ^ params.c: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 | static int do_bool(); | ^ params.c:407:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | static enum st_retval dump_it(key, value, arg) | ^ params.c:450:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | int stricmp(a, b) | ^ params.c:472:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | static int strihash(string, modulus) | ^ params.c:38: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] 38 | static int strihash(); | ^ 31 warnings generated. --- xgraph --- rm -f xgraph clang -o xgraph -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idraw.o xtb.o st.o params.o -lXext -lX11 -lm