>>> Building on exopi-6 under graphics/xanim BDEPENDS = [devel/imake-cf;devel/imake] DIST = [graphics/xanim:xanim/xanim2801.tar.gz] FULLPKGNAME = xanim-2.80.1p9 (Junk lock obtained for exopi-6 at 1764759688.65) >>> Running depends in graphics/xanim at 1764759688.71 last junk was in graphics/glfw /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 /usr/sbin/pkg_add -aI -Drepair imake-1.0.10 imake-cf-1.0.8 >>> Running show-prepare-results in graphics/xanim at 1764759691.98 ===> graphics/xanim ===> Building from scratch xanim-2.80.1p9 ===> xanim-2.80.1p9 depends on: imake-* -> imake-1.0.10 ===> xanim-2.80.1p9 depends on: imake-cf-* -> imake-cf-1.0.8 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xext Xt c m sndio z ===> found ICE.12.0 SM.9.0 X11.19.0 Xau.10.0 Xdmcp.11.0 Xext.13.0 Xt.11.1 c.102.2 m.10.1 sndio.8.0 z.7.1 imake-1.0.10 imake-cf-1.0.8 (Junk lock released for exopi-6 at 1764759692.56) distfiles size=441250 >>> Running build in graphics/xanim at 1764759692.60 ===> graphics/xanim ===> Checking files for xanim-2.80.1p9 `/exopi-cvs/ports/distfiles/xanim/xanim2801.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for xanim-2.80.1p9 ===> Patching for xanim-2.80.1p9 ===> Applying OpenBSD patch patch-Imakefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- Imakefile.orig Sun Mar 21 23:36:26 1999 |+++ Imakefile Tue Jun 30 00:41:50 2015 -------------------------- Patching file Imakefile using Plan A... Hunk #1 succeeded at 96. Hunk #2 succeeded at 111. Hunk #3 succeeded at 267. Hunk #4 succeeded at 309. Hunk #5 succeeded at 446. Hunk #6 succeeded at 469. Hunk #7 succeeded at 508. done ===> Applying OpenBSD patch patch-xa_acodec_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xa_acodec.c.orig Sun Mar 21 23:36:25 1999 |+++ xa_acodec.c Fri Jun 26 12:27:44 2015 -------------------------- Patching file xa_acodec.c using Plan A... Hunk #1 succeeded at 198. Hunk #2 succeeded at 1894. Hunk #3 succeeded at 2190. Hunk #4 succeeded at 2207. Hunk #5 succeeded at 2220. Hunk #6 succeeded at 2247. Hunk #7 succeeded at 2257. done ===> Applying OpenBSD patch patch-xa_audio_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xa_audio.c.orig Sun Mar 21 23:36:25 1999 |+++ xa_audio.c Tue Jun 30 01:04:19 2015 -------------------------- Patching file xa_audio.c using Plan A... Hunk #1 succeeded at 114. Hunk #2 succeeded at 4937. Hunk #3 succeeded at 6101. Hunk #4 succeeded at 6127. Hunk #5 succeeded at 6142. Hunk #6 succeeded at 6176. done ===> Applying OpenBSD patch patch-xa_audio_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xa_audio.h.orig Sun Mar 21 23:36:25 1999 |+++ xa_audio.h Fri Jun 26 12:29:20 2015 -------------------------- Patching file xa_audio.h using Plan A... Hunk #1 succeeded at 114. done ===> Applying OpenBSD patch patch-xa_g72x_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: xa_g72x.c |--- xa_g72x.c.orig |+++ xa_g72x.c -------------------------- Patching file xa_g72x.c using Plan A... Hunk #1 succeeded at 30. Hunk #2 succeeded at 367. done ===> Applying OpenBSD patch patch-xa_input_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: xa_input.c |--- xa_input.c.orig |+++ xa_input.c -------------------------- Patching file xa_input.c using Plan A... Hunk #1 succeeded at 1025. done ===> Applying OpenBSD patch patch-xa_x11_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: xa_x11.c |--- xa_x11.c.orig |+++ xa_x11.c -------------------------- Patching file xa_x11.c using Plan A... Hunk #1 succeeded at 1431. Hunk #2 succeeded at 1471. Hunk #3 succeeded at 1526. done ===> Applying OpenBSD patch patch-xanim_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xanim.c.orig Sun Mar 21 23:36:25 1999 |+++ xanim.c Fri Jun 26 12:27:44 2015 -------------------------- Patching file xanim.c using Plan A... Hunk #1 succeeded at 628. Hunk #2 succeeded at 862. Hunk #3 succeeded at 1170. done ===> Applying OpenBSD patch patch-xanim_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- xanim.h.orig Sun Mar 21 23:36:26 1999 |+++ xanim.h Tue Jun 30 00:59:45 2015 -------------------------- Patching file xanim.h using Plan A... Hunk #1 succeeded at 32. Hunk #2 succeeded at 291. Hunk #3 succeeded at 301. Hunk #4 succeeded at 348. Hunk #5 succeeded at 448. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for xanim-2.80.1p9 ===> Configuring for xanim-2.80.1p9 mv -f Makefile Makefile.bak imake -DPorts -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -- xanim.c xa_show.c xa_x11.c xa_fli.c xa_iff.c xa_gif.c xa_txt.c unpacker.c xa_utils.c xa_act.c xa_set.c xa_cmap.c xa_rle.c xa_wav.c xa_au.c xa_8svx.c xa_avi.c xa_qt.c xa_qt_decs.c xa_audio.c xa_ipc.c xa_color.c xa_jpg.c xa_mpg.c xa_dl.c xa_jmov.c xa_movi.c xa_raw.c xa_replay.c xa_j6i.c xa_g72x.c xa_g721.c xa_dumfx.c xa_acodec.c xa_input.c xa_formats.c xa_vid_codec.c xa1.0_kpcd.c xa_gsm.c > .depend ln /exopi-obj/pobj/xanim-2.80.1/xanim2801/docs/xanim.man /exopi-obj/pobj/xanim-2.80.1/xanim2801 ===> Building for xanim-2.80.1p9 cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xanim.c xanim.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | Usage_Default_TF(flag,justify) | ^ xanim.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | Usage_Default_Num(num,justify) | ^ xanim.c:794:56: warning: passing arguments to 'XA_IPC_Set_Debug' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | if ( strcmp( argv[0], "xad\0") == 0) XA_IPC_Set_Debug(xaTRUE); | ^ xanim.c:799:60: warning: passing arguments to 'XA_Video_Receive_Ack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | if (xa_forkit == xaTRUE) xa_forkit = XA_Video_Receive_Ack(5000); | ^ xanim.c:802:34: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | xa_forkit = XA_Video_Send2_Audio(XA_IPC_HELLO,NULL,0,0,2000,0); | ^ xanim.c:811:25: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | if (vaudiof==0) TheEnd1("vaudiof failure\n"); | ^ xanim.c:871:36: warning: passing arguments to 'XA_Audio_Speaker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | vaudiof->port = XA_Audio_Speaker("SPEAKER"); | ^ xanim.c:877:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | XA_AUDIO_SET_VOLUME(vaudiof->volume); | ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 57 | XA_Video_Send2_Audio(XA_IPC_AUD_VOL,0,0,x,1000,0); } | ^ xanim.c:878:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | XA_AUDIO_SET_MUTE(vaudiof->mute); | ^ ./xa_ipc_cmds.h:59:23: note: expanded from macro 'XA_AUDIO_SET_MUTE' 59 | XA_Video_Send2_Audio(XA_IPC_AUD_MUTE,0,0,x,1000,0); } | ^ xanim.c:879:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | XA_AUDIO_SET_RATE(vaudiof->playrate); | ^ ./xa_ipc_cmds.h:61:23: note: expanded from macro 'XA_AUDIO_SET_RATE' 61 | XA_Video_Send2_Audio(XA_IPC_AUD_RATE,0,0,x,1000,0); } | ^ xanim.c:976:35: warning: passing arguments to 'CMAP_Gamma_Adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | xa_gamma_flag = CMAP_Gamma_Adjust(xa_gamma_adj,xa_disp_gamma,xa_anim_gamma); | ^ xanim.c:1008:39: warning: passing arguments to 'XA_Get_Class' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | else xa_user_class = XA_Get_Class( &in[2] ); | ^ xanim.c:1047:10: warning: passing arguments to 'X11_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | X11_Init(&argc, argv); | ^ xanim.c:1048:15: warning: passing arguments to 'X11_Pre_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | X11_Pre_Setup(xa_user_visual, xa_user_class); | ^ xanim.c:1069:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | XA_AUDIO_SETUP; | ^ ./xa_ipc_cmds.h:35:23: note: expanded from macro 'XA_AUDIO_SETUP' 35 | XA_Video_Send2_Audio(XA_IPC_AUD_SETUP,NULL,0,0,2000,&xa_vaudio_status); } | ^ xanim.c:1135:25: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1135 | j++; t = XA_Read_Int(in,&j); | ^ xanim.c:1154:38: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | j++; vaudiof->divtest = XA_Read_Int(in,&j); | ^ xanim.c:1164:39: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | j++; vaudiof->playrate = XA_Read_Int(in,&j); | ^ xanim.c:1166:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | XA_AUDIO_SET_RATE(vaudiof->playrate); | ^ ./xa_ipc_cmds.h:61:23: note: expanded from macro 'XA_AUDIO_SET_RATE' 61 | XA_Video_Send2_Audio(XA_IPC_AUD_RATE,0,0,x,1000,0); } | ^ xanim.c:1169:38: warning: passing arguments to 'XA_Read_Float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | j++; vaudiof->scale = XA_Read_Float(in,&j); | ^ xanim.c:1175:49: warning: passing arguments to 'XA_Read_Float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | j++; vaudiof->amp_scale = XA_Read_Float(in, &j); | ^ xanim.c:1178:37: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | j++; vaudiof->volume = XA_Read_Int(in,&j); | ^ xanim.c:1181:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | XA_AUDIO_SET_VOLUME(vaudiof->volume); | ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 57 | XA_Video_Send2_Audio(XA_IPC_AUD_VOL,0,0,x,1000,0); } | ^ xanim.c:1197:38: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | j++; cmap_sample_cnt = XA_Read_Int(in,&j); | ^ xanim.c:1200:38: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | j++; cmap_color_func = XA_Read_Int(in,&j); | ^ xanim.c:1274:33: warning: passing arguments to 'XA_Read_Float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | xa_anim_gamma = XA_Read_Float(in,&j); | ^ xanim.c:1276:37: warning: passing arguments to 'CMAP_Gamma_Adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | xa_gamma_flag = CMAP_Gamma_Adjust(xa_gamma_adj, | ^ xanim.c:1281:33: warning: passing arguments to 'XA_Read_Float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | xa_disp_gamma = XA_Read_Float(in,&j); | ^ xanim.c:1283:37: warning: passing arguments to 'CMAP_Gamma_Adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | xa_gamma_flag = CMAP_Gamma_Adjust(xa_gamma_adj, | ^ xanim.c:1304:39: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | j++; cmap_floyd_error = XA_Read_Int(in,&j); | ^ xanim.c:1308:39: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1308 | j++; cmap_median_bits = XA_Read_Int(in,&j); | ^ xanim.c:1336:44: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | j++; xa_debug = XA_Read_Int(in,&j); | ^ xanim.c:1350:36: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | j++; xa_speed_scale = XA_Read_Int(in,&j); | ^ xanim.c:1359:32: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | { xa_jiffy_flag = XA_Read_Int(in,&j); | ^ xanim.c:1368:24: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | { tmp = XA_Read_Int(in,&j); | ^ xanim.c:1372:4: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | XA_AUDIO_SET_KLUDGE2(xa_kludge2_dvi); | ^ ./xa_ipc_cmds.h:76:23: note: expanded from macro 'XA_AUDIO_SET_KLUDGE2' 76 | XA_Video_Send2_Audio(XA_IPC_SET_KLUDGE2, 0,0,(x),1000,0); } | ^ xanim.c:1376:4: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | XA_AUDIO_SET_KLUDGE900(xa_kludge900_aud); | ^ ./xa_ipc_cmds.h:78:23: note: expanded from macro 'XA_AUDIO_SET_KLUDGE900' 78 | XA_Video_Send2_Audio(XA_IPC_SET_KLUDGE900, 0,0,(x),1000,0); } | ^ xanim.c:1385:48: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | xa_loop_each_flag = XA_Read_Int(in,&j); | ^ xanim.c:1399:50: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | j++; pod_max_colors = XA_Read_Int(in,&j); | ^ xanim.c:1445:46: warning: passing arguments to 'XA_Read_Float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1445 | xa_scalex = XA_Read_Float(in,&j); | ^ xanim.c:1451:44: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1451 | xa_disp_x = XA_Read_Int(in,&j); | ^ xanim.c:1455:44: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | xa_disp_y = XA_Read_Int(in,&j); | ^ xanim.c:1459:46: warning: passing arguments to 'XA_Read_Float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1459 | xa_scalex = XA_Read_Float(in,&j); | ^ xanim.c:1464:46: warning: passing arguments to 'XA_Read_Float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | xa_scaley = XA_Read_Float(in,&j); | ^ xanim.c:1474:47: warning: passing arguments to 'XA_Read_Float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | xa_bscalex = XA_Read_Float(in,&j); | ^ xanim.c:1480:44: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1480 | xa_buff_x = XA_Read_Int(in,&j); | ^ xanim.c:1484:44: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1484 | xa_buff_y = XA_Read_Int(in,&j); | ^ xanim.c:1488:47: warning: passing arguments to 'XA_Read_Float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1488 | xa_bscalex = XA_Read_Float(in,&j); | ^ xanim.c:1493:47: warning: passing arguments to 'XA_Read_Float' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | xa_bscaley = XA_Read_Float(in,&j); | ^ xanim.c:1504:49: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | j++; xa_title_flag = XA_Read_Int(in,&j); | ^ xanim.c:1548:46: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | xa_window_x = XA_Read_Int(in,&j); | ^ xanim.c:1552:46: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | xa_window_y = XA_Read_Int(in,&j); | ^ xanim.c:1574:31: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | else { tmp = XA_Read_Int(in,&j); XA_Add_Pause(tmp); } | ^ xanim.c:1574:52: warning: passing arguments to 'XA_Add_Pause' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | else { tmp = XA_Read_Int(in,&j); XA_Add_Pause(tmp); } | ^ xanim.c:1579:29: warning: passing arguments to 'XA_Read_Int' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | j++; pod = XA_Read_Int(in,&j); | ^ xanim.c:1619:6: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1619 | XA_AUDIO_SET_ENABLE(audio_attempt); | ^ ./xa_ipc_cmds.h:63:23: note: expanded from macro 'XA_AUDIO_SET_ENABLE' 63 | XA_Video_Send2_Audio(XA_IPC_AUD_ENABLE,0,0,x,1000,0); } | ^ xanim.c:1620:6: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | XA_AUDIO_SET_FFLAG(xa_file_flag); | ^ ./xa_ipc_cmds.h:65:23: note: expanded from macro 'XA_AUDIO_SET_FFLAG' 65 | XA_Video_Send2_Audio(XA_IPC_AUD_FFLAG,0,0,x,1000,0); } | ^ xanim.c:1621:6: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1621 | XA_AUDIO_SET_BFLAG(vaudiof->bufferit); | ^ ./xa_ipc_cmds.h:67:23: note: expanded from macro 'XA_AUDIO_SET_BFLAG' 67 | XA_Video_Send2_Audio(XA_IPC_AUD_BFLAG,0,0,x,1000,0); } | ^ xanim.c:1628:29: warning: passing arguments to 'Get_Anim_Hdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | cur_file = Get_Anim_Hdr(cur_file,filename); | ^ xanim.c:1630:34: warning: passing arguments to 'XA_Alloc_Input_Methods' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | (void)XA_Alloc_Input_Methods(cur_file); | ^ xanim.c:1631:34: warning: passing arguments to 'XA_Setup_Input_Methods' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | (void)XA_Setup_Input_Methods(cur_file->xin,cur_file->name); | ^ xanim.c:1633:40: warning: passing arguments to 'XA_Open_And_ID_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | xa_anim_type = XA_Open_And_ID_File(cur_file); | ^ xanim.c:1654: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] 1654 | { cur_file->xin->Seek_FPos(cur_file->xin,0,0); | ^ xanim.c:1659:34: 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] 1659 | result = cur_file->Read_File(filename,cur_file,audio_attempt); | ^ xanim.c:1686: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] 1686 | { cur_file->xin->Seek_FPos(cur_file->xin,0,0); | ^ xanim.c:1701:32: 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] 1701 | result = cur_file->Read_File(filename,cur_file,audio_attempt); | ^ xanim.c:1721:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | XA_AUDIO_UNFILE(cur_file->file_num); | ^ ./xa_ipc_cmds.h:93:23: note: expanded from macro 'XA_AUDIO_UNFILE' 93 | XA_Video_Send2_Audio(XA_IPC_UNFILE,0,0,num,1000,0); } | ^ xanim.c:1722:28: warning: passing arguments to 'Return_Anim_Hdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | cur_file = Return_Anim_Hdr(cur_file); | ^ xanim.c:1730:24: warning: passing arguments to 'DUM_Read_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | { DUM_Read_File(filename,cur_file); | ^ xanim.c:1737:11: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1737 | XA_AUDIO_N_FILE(cur_file->prev_file->file_num,f_ret); | ^ ./xa_ipc_cmds.h:80:23: note: expanded from macro 'XA_AUDIO_N_FILE' 80 | XA_Video_Send2_Audio(XA_IPC_N_FILE,0,0,x,1000,&y); } | ^ xanim.c:1742:26: warning: passing arguments to 'DUM_Read_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1742 | { DUM_Read_File(filename,cur_file); | ^ xanim.c:1752:4: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | XA_AUDIO_FNAME(cur_file->fname, length, | ^ ./xa_ipc_cmds.h:89:23: note: expanded from macro 'XA_AUDIO_FNAME' 89 | XA_Video_Send2_Audio(XA_IPC_FNAME,fn,len,num,1000,0); } | ^ xanim.c:1755:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1755 | XA_AUDIO_MERGEFILE(cur_file->file_num); | ^ ./xa_ipc_cmds.h:95:23: note: expanded from macro 'XA_AUDIO_MERGEFILE' 95 | XA_Video_Send2_Audio(XA_IPC_MERGEFILE,0,0,num,1000,0); } | ^ xanim.c:1757:27: warning: passing arguments to 'XA_Adjust_Video_Timing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1757 | XA_Adjust_Video_Timing(cur_file->prev_file,cur_file->total_time); | ^ xanim.c:1760:28: warning: passing arguments to 'Return_Anim_Hdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1760 | cur_file = Return_Anim_Hdr(cur_file); | ^ xanim.c:1776:18: warning: passing arguments to 'XA_Add_Pause' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | XA_Add_Pause(cur_file->last_frame-2); | ^ xanim.c:1777:28: warning: passing arguments to 'XA_Add_Pause' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1777 | else XA_Add_Pause(cur_file->last_frame); | ^ xanim.c:1792:4: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | XA_AUDIO_FNAME( (cur_file->fname), length, (cur_file->file_num) ); | ^ ./xa_ipc_cmds.h:89:23: note: expanded from macro 'XA_AUDIO_FNAME' 89 | XA_Video_Send2_Audio(XA_IPC_FNAME,fn,len,num,1000,0); } | ^ xanim.c:1794:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | XA_AUDIO_SET_AUD_BUFF( (cur_file->max_faud_size) ); | ^ ./xa_ipc_cmds.h:74:23: note: expanded from macro 'XA_AUDIO_SET_AUD_BUFF' 74 | XA_Video_Send2_Audio(XA_IPC_SET_AUDBUFF, 0,0,(x),1000,0); } | ^ xanim.c:1867:46: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1867 | || (xa_vaudio_present==XA_AUDIO_ERR) ) XA_AUDIO_EXIT(); | ^ ./xa_ipc_cmds.h:82:23: note: expanded from macro 'XA_AUDIO_EXIT' 82 | XA_Video_Send2_Audio(XA_IPC_EXIT,NULL,0,0,1000,0); \ | ^ xanim.c:1872:48: warning: passing arguments to 'X11_Setup_Window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1872 | if (xa_noresize_flag==xaTRUE) X11_Setup_Window(xa_max_disp_x,xa_max_disp_y, | ^ xanim.c:1874:23: warning: passing arguments to 'X11_Setup_Window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1874 | else X11_Setup_Window(xa_max_disp_x,xa_max_disp_y, | ^ xanim.c:1888:19: warning: passing arguments to 'ACT_Make_Images' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | ACT_Make_Images(cur_file->acts); | ^ xanim.c:1908:44: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1908 | if (vaudiof->port & XA_AUDIO_PORT_INT) XA_SPEAKER_TOG(1) | ^ ./xa_ipc_cmds.h:49:23: note: expanded from macro 'XA_SPEAKER_TOG' 49 | XA_Video_Send2_Audio(XA_IPC_AUD_STOG,NULL,0,x,2000,0); } | ^ xanim.c:1909:10: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1909 | else XA_SPEAKER_TOG(0) | ^ ./xa_ipc_cmds.h:49:23: note: expanded from macro 'XA_SPEAKER_TOG' 49 | XA_Video_Send2_Audio(XA_IPC_AUD_STOG,NULL,0,x,2000,0); } | ^ xanim.c:1911:45: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | if (vaudiof->port & XA_AUDIO_PORT_HEAD) XA_HEADPHONE_TOG(1) | ^ ./xa_ipc_cmds.h:51:23: note: expanded from macro 'XA_HEADPHONE_TOG' 51 | XA_Video_Send2_Audio(XA_IPC_AUD_HTOG,NULL,0,x,2000,0); } | ^ xanim.c:1912:10: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | else XA_HEADPHONE_TOG(0) | ^ ./xa_ipc_cmds.h:51:23: note: expanded from macro 'XA_HEADPHONE_TOG' 51 | XA_Video_Send2_Audio(XA_IPC_AUD_HTOG,NULL,0,x,2000,0); } | ^ xanim.c:1913:44: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1913 | if (vaudiof->port & XA_AUDIO_PORT_EXT) XA_LINEOUT_TOG(1) | ^ ./xa_ipc_cmds.h:53:23: note: expanded from macro 'XA_LINEOUT_TOG' 53 | XA_Video_Send2_Audio(XA_IPC_AUD_LTOG,NULL,0,x,2000,0); } | ^ xanim.c:1914:10: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | else XA_LINEOUT_TOG(0) | ^ ./xa_ipc_cmds.h:53:23: note: expanded from macro 'XA_LINEOUT_TOG' 53 | XA_Video_Send2_Audio(XA_IPC_AUD_LTOG,NULL,0,x,2000,0); } | ^ xanim.c:1926:19: warning: passing arguments to 'XA_Create_Remote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1926 | XA_Create_Remote(theWG,xa_remote_flag); | ^ xanim.c:759:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | int main(argc, argv) | ^ xanim.c:1960:30: warning: passing arguments to 'XA_Setup_Them_Buffers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1960 | if (XA_Setup_Them_Buffers(&im0_Image,&im0_shminfo,&im_buff0)==xaFALSE) | ^ xanim.c:1964:12: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1964 | TheEnd1("Them_Buffers: im_buff0 malloc err"); | ^ xanim.c:1969:30: warning: passing arguments to 'XA_Setup_Them_Buffers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1969 | if (XA_Setup_Them_Buffers(&im1_Image,&im1_shminfo,&im_buff1)==xaFALSE) | ^ xanim.c:1973:12: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1973 | TheEnd1("Them_Buffers: im_buff1 malloc err"); | ^ xanim.c:1978:30: warning: passing arguments to 'XA_Setup_Them_Buffers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | if (XA_Setup_Them_Buffers(&im2_Image,&im2_shminfo,&im_buff2)==xaFALSE) | ^ xanim.c:1982:12: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1982 | TheEnd1("Them_Buffers: im_buff2 malloc err"); | ^ xanim.c:1991:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1991 | if (im_buff3 == 0) TheEnd1("XAnim_Start_Loop: im_buff3 malloc err1"); | ^ xanim.c:2013:21: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2013 | { xaULONG command = (xaULONG)dptr; | ^~~~~~~~~~~~~ xanim.c:2043:4: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2043 | XA_AUDIO_OFF(0); xa_audio_start = 0; | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2049:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2049 | XA_AUDIO_OFF(0); xa_audio_start = 0; | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2055:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | XA_AUDIO_OFF(0); xa_audio_start = 0; | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2061:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | XA_AUDIO_OFF(0); xa_audio_start = 0; | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2068:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2068 | XA_AUDIO_OFF(0); xa_audio_start = 0; | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2077:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2077 | XA_AUDIO_OFF(0); xa_audio_start = 0; | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2080:18: warning: passing arguments to 'XA_Store_Title' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2080 | XA_Store_Title(cur_file,cur_frame,XA_TITLE_FRAME); | ^ xanim.c:2087:2: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | XA_AUDIO_OFF(0); xa_audio_start = 0; | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2105:5: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2105 | XA_AUDIO_GET_STATUS( xa_vaudio_status ); | ^ ./xa_ipc_cmds.h:69:23: note: expanded from macro 'XA_AUDIO_GET_STATUS' 69 | XA_Video_Send2_Audio(XA_IPC_GET_STATUS,0,0,0,1000,&x); \ | ^ xanim.c:2129:24: warning: passing arguments to 'XA_Resize_Window' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2129 | XA_Resize_Window(cur_file,xa_noresize_flag,xa_disp_x,xa_disp_y); | ^ xanim.c:2132:19: warning: passing arguments to 'XA_Store_Title' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2132 | XA_Store_Title(cur_file,cur_frame,xa_title_flag); | ^ xanim.c:2150:26: warning: passing arguments to 'X11_Init_Image_Struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2150 | X11_Init_Image_Struct(theImage,xa_disp_x,xa_disp_y); | ^ xanim.c:2163:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2163 | if (xa_vidcodec_buf==0) TheEnd1("XAnim: malloc vidcodec_buf err"); | ^ xanim.c:2178:6: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2178 | XA_AUDIO_PLAY_FILE(cur_file->file_num,f_ret); | ^ ./xa_ipc_cmds.h:72:23: note: expanded from macro 'XA_AUDIO_PLAY_FILE' 72 | XA_Video_Send2_Audio(XA_IPC_PLAY_FILE, 0,0,x,1000,&y); } | ^ xanim.c:2183:8: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2183 | XA_AUDIO_INIT_SND; | ^ ./xa_ipc_cmds.h:55:23: note: expanded from macro 'XA_AUDIO_INIT_SND' 55 | XA_Video_Send2_Audio(XA_IPC_SND_INIT,NULL,0,0,2000,0); } | ^ xanim.c:2223:26: warning: passing arguments to 'XA_Reset_Speed_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2223 | XA_Reset_Speed_Time(xa_time_video,xa_speed_scale); | ^ xanim.c:2229:6: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | { XA_AUDIO_OFF(1); xa_audio_start = 0; } | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2235:35: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2235 | if (passed_go_flag == xaTRUE) XA_AUDIO_GET_STATUS( xa_vaudio_status ); | ^ ./xa_ipc_cmds.h:69:23: note: expanded from macro 'XA_AUDIO_GET_STATUS' 69 | XA_Video_Send2_Audio(XA_IPC_GET_STATUS,0,0,0,1000,&x); \ | ^ xanim.c:2246:7: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2246 | { XA_AUDIO_OFF(0); xa_audio_start = 0; } | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2293:19: warning: passing arguments to 'XA_Show_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2293 | XA_Show_Action( act ); | ^ xanim.c:2305:20: warning: passing arguments to 'XA_Reset_AV_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2305 | { XA_Reset_AV_Time(xa_time_video,xa_speed_scale); | ^ xanim.c:2311:4: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2311 | XA_AUDIO_N_FILE(cur_file->file_num,f_ret); | ^ ./xa_ipc_cmds.h:80:23: note: expanded from macro 'XA_AUDIO_N_FILE' 80 | XA_Video_Send2_Audio(XA_IPC_N_FILE,0,0,x,1000,&y); } | ^ xanim.c:2321:8: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2321 | { XA_AUDIO_RST_TIME(xa_time_video); | ^ ./xa_ipc_cmds.h:91:23: note: expanded from macro 'XA_AUDIO_RST_TIME' 91 | XA_Video_Send2_Audio(XA_IPC_RST_TIME,0,0,x,2000,0); } | ^ xanim.c:2326:28: warning: passing arguments to 'XA_Remote_Adj_Volume' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2326 | XA_Remote_Adj_Volume(vaudiof->volume,XA_AUDIO_MAXVOL); | ^ xanim.c:2328:8: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2328 | XA_AUDIO_PREP(); | ^ ./xa_ipc_cmds.h:39:23: note: expanded from macro 'XA_AUDIO_PREP' 39 | XA_Video_Send2_Audio(XA_IPC_AUD_PREP,NULL,0,0,10000,&xa_vaudio_status); } | ^ xanim.c:2340:22: warning: passing arguments to 'XA_Reset_AV_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2340 | { XA_Reset_AV_Time(xa_time_video,xa_speed_scale); | ^ xanim.c:2350:7: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2350 | XA_AUDIO_ON(); | ^ ./xa_ipc_cmds.h:41:23: note: expanded from macro 'XA_AUDIO_ON' 41 | XA_Video_Send2_Audio(XA_IPC_AUD_ON,NULL,0,0,2000,&xa_vaudio_status); } | ^ xanim.c:2359:7: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2359 | XA_AUDIO_OFF(0); xa_audio_start = 0; | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2371:18: warning: passing arguments to 'XA_Store_Title' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2371 | XA_Store_Title(cur_file,cur_frame,XA_TITLE_FRAME); | ^ xanim.c:2380:18: warning: passing arguments to 'XA_Store_Title' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2380 | XA_Store_Title(cur_file,cur_frame,XA_TITLE_FRAME); | ^ xanim.c:2010:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2010 | void XAnim_Looped(dptr,id) | ^ xanim.c:165: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] 165 | void XAnim_Looped(); | ^ xanim.c:2734:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2734 | void XA_Cycle_Wait(nothing, id) | ^ xanim.c:168: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] 168 | void XA_Cycle_Wait(); | ^ xanim.c:2763:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2763 | XA_AUDIO_GET_STATUS( xa_vaudio_status ); | ^ ./xa_ipc_cmds.h:69:23: note: expanded from macro 'XA_AUDIO_GET_STATUS' 69 | XA_Video_Send2_Audio(XA_IPC_GET_STATUS,0,0,0,1000,&x); \ | ^ xanim.c:2770:5: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2770 | XA_AUDIO_OFF(0); xa_audio_start = 0; | ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 43 | XA_Video_Send2_Audio(XA_IPC_AUD_OFF,NULL,0,x,2000,&xa_vaudio_status); } | ^ xanim.c:2759:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2759 | void XA_Audio_Wait(nothing, id) | ^ xanim.c:167: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] 167 | void XA_Audio_Wait(); | ^ xanim.c:2779:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | void XA_Cycle_It(act_cycle, id) | ^ xanim.c:169: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] 169 | void XA_Cycle_It(); | ^ xanim.c:2843:17: warning: passing arguments to 'ACT_Free_Act' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2843 | ACT_Free_Act(tmp); | ^ xanim.c:2835:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2835 | void Free_Actions(acts) | ^ xanim.c:175: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] 175 | void Free_Actions(); | ^ xanim.c:2855:48: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2855 | if ((file_hdr==0) || (first_file==0)) TheEnd1("Return_Anim_Hdr err"); | ^ xanim.c:2851:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2851 | XA_ANIM_HDR *Return_Anim_Hdr(file_hdr) | ^ xanim.c:178: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] 178 | XA_ANIM_HDR *Return_Anim_Hdr(); | ^ xanim.c:2885:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2885 | if (temp_hdr == 0) TheEnd1("Get_Anim_Hdr: malloc failed\n"); | ^ xanim.c:2928:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2928 | XA_AUDIO_FILE(xa_file_num); | ^ ./xa_ipc_cmds.h:87:23: note: expanded from macro 'XA_AUDIO_FILE' 87 | XA_Video_Send2_Audio(XA_IPC_FILE,0,0,num,1000,0); } | ^ xanim.c:2877:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2877 | XA_ANIM_HDR *Get_Anim_Hdr(file_hdr,file_name) | ^ xanim.c:177: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] 177 | XA_ANIM_HDR *Get_Anim_Hdr(); | ^ xanim.c:2955:6: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 2955 | (xaULONG)chdr,(xaULONG)xa_chdr_now); | ^~~~~~~~~~~~~ xanim.c:2955:20: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 2955 | (xaULONG)chdr,(xaULONG)xa_chdr_now); | ^~~~~~~~~~~~~~~~~~~~ xanim.c:3010:26: warning: passing arguments to 'XA_Remote_ColorUpdate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3010 | XA_Remote_ColorUpdate(chdr); | ^ xanim.c:2934:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2934 | void XA_Install_CMAP(chdr) | ^ xanim.c:186: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] 186 | void XA_Install_CMAP(); | ^ xanim.c:3058:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3058 | xaULONG XA_Read_Int(s,j) | ^ xanim.c:188:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 188 | xaULONG XA_Read_Int(); | ^ xanim.c:3070:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3070 | float XA_Read_Float(s,j) | ^ xanim.c:189:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 189 | float XA_Read_Float(); | ^ xanim.c:3093:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3093 | xaLONG XA_Get_Class(p) | ^ xanim.c:190:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 190 | xaLONG XA_Get_Class(); | ^ xanim.c:3120:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3120 | if (new_phdr==0) TheEnd1("XA_Add_Pause: malloc err\n"); | ^ xanim.c:3115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3115 | void XA_Add_Pause(frame) | ^ xanim.c:191: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] 191 | void XA_Add_Pause(); | ^ xanim.c:3142:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3142 | void XA_Reset_Speed_Time(vid_time,speed_scale) | ^ xanim.c:185: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] 185 | void XA_Reset_Speed_Time(); | ^ xanim.c:3158:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3158 | XA_AUDIO_VID_TIME(xa_av_time_off); | ^ ./xa_ipc_cmds.h:85:23: note: expanded from macro 'XA_AUDIO_VID_TIME' 85 | XA_Video_Send2_Audio(XA_IPC_VID_TIME,NULL,0,x,1000,0); } | ^ xanim.c:3153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3153 | void XA_Reset_AV_Time(vid_time,speed_scale) | ^ xanim.c:183: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] 183 | void XA_Reset_AV_Time(); | ^ xanim.c:3169:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3169 | xaULONG XA_Audio_Speaker(env_v) | ^ xanim.c:143:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 143 | xaULONG XA_Audio_Speaker(); | ^ xanim.c:3190:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3190 | xaULONG XA_Setup_Them_Buffers(im_Image,im_shminfo,im_buff) | ^ xanim.c:233:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 233 | xaULONG XA_Setup_Them_Buffers(); | ^ xanim.c:3247:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3247 | void XA_Store_Title(cur_file,cur_frame,xa_title_flag) | ^ xanim.c:199: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] 199 | void XA_Store_Title(); | ^ xanim.c:3273:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3273 | void XA_Resize_Window(cur_file,xa_noresize_flag,xa_disp_x,xa_disp_y) | ^ xanim.c:193: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] 193 | void XA_Resize_Window(); | ^ xanim.c:3309:39: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3309 | if (xa_vaudio_present==XA_AUDIO_OK) XA_AUDIO_KILL(); | ^ ./xa_ipc_cmds.h:37:23: note: expanded from macro 'XA_AUDIO_KILL' 37 | XA_Video_Send2_Audio(XA_IPC_AUD_KILL,NULL,0,0,2000,&xa_vaudio_status); } | ^ xanim.c:3316:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3316 | XA_AUDIO_EXIT(); | ^ ./xa_ipc_cmds.h:82:23: note: expanded from macro 'XA_AUDIO_EXIT' 82 | XA_Video_Send2_Audio(XA_IPC_EXIT,NULL,0,0,1000,0); \ | ^ xanim.c:3330:22: warning: passing arguments to 'XA_Walk_The_Chain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3330 | XA_Walk_The_Chain(cur_file,xaTRUE); /* Walk and Free functions */ | ^ xanim.c:3409:40: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3409 | if (xa_vaudio_present==XA_AUDIO_OK) XA_AUDIO_KILL(); | ^ ./xa_ipc_cmds.h:37:23: note: expanded from macro 'XA_AUDIO_KILL' 37 | XA_Video_Send2_Audio(XA_IPC_AUD_KILL,NULL,0,0,2000,&xa_vaudio_status); } | ^ xanim.c:3416:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3416 | XA_AUDIO_EXIT(); | ^ ./xa_ipc_cmds.h:82:23: note: expanded from macro 'XA_AUDIO_EXIT' 82 | XA_Video_Send2_Audio(XA_IPC_EXIT,NULL,0,0,1000,0); \ | ^ xanim.c:3429:22: warning: passing arguments to 'XA_Walk_The_Chain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3429 | XA_Walk_The_Chain(cur_file,xaTRUE); /* Walk and Free functions */ | ^ xanim.c:3505:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3505 | void TheEnd1(err_mess) | ^ xanim.c:160: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] 160 | void TheEnd1(); | ^ xanim.c:3542:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3542 | void XA_Free_Anim_Setup(setup) | ^ xanim.c:195: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] 195 | void XA_Free_Anim_Setup(); | ^ xanim.c:3552:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3552 | XA_FUNC_CHAIN *XA_Get_Func_Chain(anim_hdr,function) | ^ xanim.c:196: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] 196 | XA_FUNC_CHAIN *XA_Get_Func_Chain(); | ^ xanim.c:3566:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3566 | void XA_Add_Func_To_Free_Chain(anim_hdr,function) | ^ xanim.c:197: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] 197 | void XA_Add_Func_To_Free_Chain(); | ^ xanim.c:3578:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3578 | void XA_Walk_The_Chain(anim_hdr,free_flag) | ^ xanim.c:198: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] 198 | void XA_Walk_The_Chain(); | ^ xanim.c:3606:34: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3606 | xa_forkit = XA_Video_Send2_Audio(XA_IPC_BOFL,NULL,0,0,0,0); | ^ xanim.c:3615:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3615 | void XA_Adjust_Video_Timing(anim_hdr,total_time) | ^ xanim.c:200: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] 200 | void XA_Adjust_Video_Timing(); | ^ 195 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_show.c xa_show.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void xa_putimage(dpy, d, gc, im, sx, sy, dx, dy, w, h) | ^ xa_show.c:170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | void xa_shmputimage(dpy, d, gc, im, sx, sy, dx, dy, w, h, event) | ^ xa_show.c:328:16: warning: passing arguments to 'XA_SHOW_IMAGE' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | XA_SHOW_IMAGE(aptr_hdr->act,aptr_hdr->xpos,aptr_hdr->ypos, | ^ xa_show.c:331:17: warning: passing arguments to 'XA_SHOW_PIXMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | XA_SHOW_PIXMAP(aptr_hdr->act,aptr_hdr->xpos,aptr_hdr->ypos, | ^ xa_show.c:341:15: warning: passing arguments to 'XA_SHOW_IMAGE' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | XA_SHOW_IMAGE(act,0,0,0,0,0); | ^ xa_show.c:345:16: warning: passing arguments to 'XA_SHOW_PIXMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | XA_SHOW_PIXMAP(act,0,0,0,0,0); | ^ xa_show.c:349:16: warning: passing arguments to 'XA_SHOW_IMAGES' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | XA_SHOW_IMAGES(act); | ^ xa_show.c:353:17: warning: passing arguments to 'XA_SHOW_PIXMAPS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | XA_SHOW_PIXMAPS(act); | ^ xa_show.c:377:19: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | XA_Install_CMAP(act->chdr); | ^ xa_show.c:389:15: warning: passing arguments to 'XA_SHOW_DELTA' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | XA_SHOW_DELTA(act); | ^ xa_show.c:225:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | void XA_Show_Action(act) | ^ xa_show.c:428:34: warning: passing arguments to 'UTIL_Scale_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | tmp_pic = UTIL_Scale_Bitmap(0,act_im_hdr->clip,im_xsize,im_ysize, | ^ xa_show.c:444:34: warning: passing arguments to 'UTIL_Scale_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | tmp_pic = UTIL_Scale_Bitmap(0,act_im_hdr->image->data, | ^ xa_show.c:448:37: warning: passing arguments to 'UTIL_Scale_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | else tmp_pic = UTIL_Scale_Mapped(0,act_im_hdr->image->data, | ^ xa_show.c:456:28: warning: passing arguments to 'X11_Init_Image_Struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | X11_Init_Image_Struct(theImage,xsize,ysize); | ^ xa_show.c:458:18: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | XA_Install_CMAP(act->chdr); | ^ xa_show.c:477:18: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | XA_Install_CMAP(act->chdr); | ^ xa_show.c:401:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | void XA_SHOW_IMAGE(act,im_xpos,im_ypos,im_xsize,im_ysize,flag) | ^ xa_show.c:46: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] 46 | void XA_SHOW_IMAGE(); | ^ xa_show.c:522:34: warning: passing arguments to 'UTIL_Scale_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | tmp_pic = UTIL_Scale_Bitmap(0,p_image->data, xsize,ysize, | ^ xa_show.c:544:34: warning: passing arguments to 'UTIL_Scale_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | tmp_pic = UTIL_Scale_Bitmap(0,t_image->data, | ^ xa_show.c:553:34: warning: passing arguments to 'UTIL_Scale_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | tmp_pic = UTIL_Scale_Mapped(0,t_image->data, | ^ xa_show.c:561:28: warning: passing arguments to 'X11_Init_Image_Struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | X11_Init_Image_Struct(theImage,xsize,ysize); | ^ xa_show.c:563:20: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | XA_Install_CMAP(act->chdr); | ^ xa_show.c:584:18: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | XA_Install_CMAP(act->chdr); | ^ xa_show.c:494:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | void XA_SHOW_PIXMAP(act,pm_xpos,pm_ypos,pm_xsize,pm_ysize,flag) | ^ xa_show.c:47: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] 47 | void XA_SHOW_PIXMAP(); | ^ xa_show.c:611:21: warning: passing arguments to 'XA_Image_To_Pixmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | XA_Image_To_Pixmap(act_ims_hdr->work); | ^ xa_show.c:710:34: warning: passing arguments to 'UTIL_Scale_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | tmp_pic = UTIL_Scale_Bitmap(0,t_image->data, | ^ xa_show.c:718:34: warning: passing arguments to 'UTIL_Scale_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | tmp_pic = UTIL_Scale_Mapped(0,t_image->data, | ^ xa_show.c:726:28: warning: passing arguments to 'X11_Init_Image_Struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | X11_Init_Image_Struct(theImage,xsize,ysize); | ^ xa_show.c:728:34: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | XA_Install_CMAP(act->chdr); | ^ xa_show.c:736:18: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | XA_Install_CMAP(act->chdr); | ^ xa_show.c:596:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | void XA_SHOW_IMAGES(act) | ^ xa_show.c:48: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] 48 | void XA_SHOW_IMAGES(); | ^ xa_show.c:758:21: warning: passing arguments to 'XA_Image_To_Pixmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | XA_Image_To_Pixmap(act_pms_hdr->back); | ^ xa_show.c:760:21: warning: passing arguments to 'XA_Image_To_Pixmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | XA_Image_To_Pixmap(act_pms_hdr->work); | ^ xa_show.c:827:41: warning: passing arguments to 'XA_Image_To_Pixmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | ret = XA_Image_To_Pixmap(act_pms_hdr->face); | ^ xa_show.c:854:34: warning: passing arguments to 'UTIL_Scale_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | tmp_pic = UTIL_Scale_Bitmap(0,t_image->data, | ^ xa_show.c:862:34: warning: passing arguments to 'UTIL_Scale_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | tmp_pic = UTIL_Scale_Mapped(0,t_image->data, | ^ xa_show.c:870:28: warning: passing arguments to 'X11_Init_Image_Struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | X11_Init_Image_Struct(theImage,xsize,ysize); | ^ xa_show.c:872:34: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | XA_Install_CMAP(act->chdr); | ^ xa_show.c:880:18: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | XA_Install_CMAP(act->chdr); | ^ xa_show.c:746:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | void XA_SHOW_PIXMAPS(act) | ^ xa_show.c:49: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] 49 | void XA_SHOW_PIXMAPS(); | ^ xa_show.c:947:30: warning: passing arguments to 'XA_Read_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | { int ret = XA_Read_Delta(xa_vidcodec_buf, xa_vid_fd, | ^ xa_show.c:951:39: 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] 951 | else dlta_flag = dlta_hdr->delta(the_pic,xa_vidcodec_buf, | ^ xa_show.c:955:34: 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] 955 | { dlta_flag = dlta_hdr->delta(the_pic,dlta_hdr->data, | ^ xa_show.c:972:46: warning: passing arguments to 'XA_Get_Image_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | dec2_info->image_type = XA_Get_Image_Type( dlta_hdr->special, | ^ xa_show.c:984:30: warning: passing arguments to 'XA_Read_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | { int ret = XA_Read_Delta(xa_vidcodec_buf, xa_vid_fd, | ^ xa_show.c:988:39: 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] 988 | else dlta_flag = dlta_hdr->delta(the_pic,xa_vidcodec_buf, | ^ xa_show.c:992:34: 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] 992 | { dlta_flag = dlta_hdr->delta(the_pic,dlta_hdr->data, | ^ xa_show.c:1025:22: warning: passing arguments to 'IFF_Init_DLTA_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | IFF_Init_DLTA_HDR(xsize,ysize); | ^ xa_show.c:1029:24: warning: passing arguments to 'IFF_Update_DLTA_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | IFF_Update_DLTA_HDR(&xsrc,&ysrc,&xsize,&ysize); | ^ xa_show.c:1042:51: warning: passing arguments to 'IFF_Buffer_HAM6' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | if (xa_anim_flags & ANIM_HAM6) IFF_Buffer_HAM6(im_buff2,the_pic, | ^ xa_show.c:1044:28: warning: passing arguments to 'IFF_Buffer_HAM8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | else IFF_Buffer_HAM8(im_buff2,the_pic, | ^ xa_show.c:1060:34: warning: passing arguments to 'UTIL_Scale_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | tmp_pic = UTIL_Scale_Mapped(0,the_pic,0,0, | ^ xa_show.c:1065:36: warning: passing arguments to 'X11_Get_Line_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | line_size = X11_Get_Line_Size(xsize); | ^ xa_show.c:1066:28: warning: passing arguments to 'UTIL_Mapped_To_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | UTIL_Mapped_To_Bitmap(tmp_pic,tmp_pic,act->chdr,0,0, | ^ xa_show.c:1070:28: warning: passing arguments to 'X11_Init_Image_Struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | X11_Init_Image_Struct(theImage,xsize,ysize); | ^ xa_show.c:1075:40: warning: passing arguments to 'X11_Get_Line_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | tsize = ysize * X11_Get_Line_Size(xsize); | ^ xa_show.c:1076:7: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | XA_REALLOC(xa_disp_buff,xa_disp_buff_size,tsize); | ^ ./xanim.h:917:25: note: expanded from macro 'XA_REALLOC' 917 | if (_tmp == 0) TheEnd1("XA_Realloc: malloc err"); \ | ^ xa_show.c:1077:36: warning: passing arguments to 'X11_Get_Line_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | line_size = X11_Get_Line_Size(xbuff); | ^ xa_show.c:1078:28: warning: passing arguments to 'UTIL_Mapped_To_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | UTIL_Mapped_To_Bitmap(xa_disp_buff,the_pic,act->chdr, | ^ xa_show.c:1082:28: warning: passing arguments to 'X11_Init_Image_Struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | X11_Init_Image_Struct(theImage,xsize,ysize); | ^ xa_show.c:1091:29: warning: passing arguments to 'UTIL_Mapped_To_Floyd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | UTIL_Mapped_To_Floyd(im_buff2,the_pic, | ^ xa_show.c:1099:32: warning: passing arguments to 'X11_Init_Image_Struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | X11_Init_Image_Struct(im2_Image,xbuff,ybuff); | ^ xa_show.c:1114:35: warning: passing arguments to 'X11_Get_Line_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1114 | xsize,ysize,X11_Get_Line_Size(xbuff), | ^ xa_show.c:1113:34: warning: passing arguments to 'UTIL_Scale_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | tmp_pic = UTIL_Scale_Mapped(0,the_pic,xsrc,ysrc, | ^ xa_show.c:1128:9: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | XA_REALLOC(xa_disp_buff,xa_disp_buff_size,tsize); | ^ ./xanim.h:917:25: note: expanded from macro 'XA_REALLOC' 917 | if (_tmp == 0) TheEnd1("XA_Realloc: malloc err"); \ | ^ xa_show.c:1129:30: warning: passing arguments to 'UTIL_Mapped_To_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | UTIL_Mapped_To_Mapped(xa_disp_buff,the_pic,act->chdr, | ^ xa_show.c:1147:22: warning: passing arguments to 'UTIL_Pack_Image' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | UTIL_Pack_Image(im_buff3,theImage->data,xbuff,ybuff); | ^ xa_show.c:1151:40: warning: passing arguments to 'X11_Init_Image_Struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | if (sh_Image) X11_Init_Image_Struct(sh_Image,xbuff,ybuff); | ^ xa_show.c:1153:26: warning: passing arguments to 'X11_Init_Image_Struct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | X11_Init_Image_Struct(theImage,xbuff,ybuff); | ^ xa_show.c:1159:22: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | XA_Install_CMAP(the_chdr); | ^ xa_show.c:891:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | void XA_SHOW_DELTA(act) | ^ xa_show.c:50: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] 50 | void XA_SHOW_DELTA(); | ^ xa_show.c:1209:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1209 | if (act_pm_hdr == 0) TheEnd1("Image_to_Pixmap: malloc err\n"); | ^ xa_show.c:1193:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | xaULONG XA_Image_To_Pixmap(act) | ^ xa_show.c:58:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | xaULONG XA_Image_To_Pixmap(); | ^ xa_show.c:1255:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | xaULONG XA_Read_Delta(dptr,fd,fpos,fsize) | ^ xa_show.c:59:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | xaULONG XA_Read_Delta(); | ^ 82 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_x11.c xa_x11.c:316:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | void X11_Get_Shift(mask,shift,size) | ^ xa_x11.c:117: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] 117 | void X11_Get_Shift(); | ^ xa_x11.c:343:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | xaULONG X11_Get_True_Color(r,g,b,bits) | ^ In file included from xa_x11.c:30: ./xanim.h:860: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] 860 | extern xaULONG X11_Get_True_Color(); | ^ xa_x11.c:404:12: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | TheEnd1("Unable to open display\n"); | ^ xa_x11.c:393:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | void X11_Init(argcp, argv) | ^ xa_x11.c:118: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] 118 | void X11_Init(); | ^ xa_x11.c:448:9: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | TheEnd1("X11: Couldn't get any Visuals of the desired class."); | ^ xa_x11.c:455:10: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | TheEnd1("X11: Couldn't get any Visuals."); | ^ xa_x11.c:675:28: warning: passing arguments to 'X11_OutPut_Visual_Class' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | X11_OutPut_Visual_Class(x11_class); | ^ xa_x11.c:413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | void X11_Pre_Setup(xa_user_visual,xa_user_class) | ^ xa_x11.c:119: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] 119 | void X11_Pre_Setup(); | ^ xa_x11.c:776:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | if (theCmap == 0) TheEnd1("X11_Setup_Window: create cmap err"); | ^ xa_x11.c:891:34: warning: passing arguments to 'X11_Get_Line_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | line_size = X11_Get_Line_Size(max_imagex); | ^ xa_x11.c:903:34: warning: passing arguments to 'X11_Get_Line_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | line_size = X11_Get_Line_Size(x11_bytes_pixel * max_imagex); | ^ xa_x11.c:710:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | void X11_Setup_Window(max_imagex,max_imagey,startx,starty) | ^ xa_x11.c:120: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] 120 | void X11_Setup_Window(); | ^ xa_x11.c:1006:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | void xanim_resize(wg, event, str, np) | ^ xa_x11.c:111: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] 111 | void xanim_resize(); | ^ xa_x11.c:1039:22: warning: passing arguments to 'XA_Realize_Remote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | XA_Realize_Remote(remote_widget); | ^ xa_x11.c:1045:24: warning: passing arguments to 'XA_Unrealize_Remote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | XA_Unrealize_Remote(remote_widget); | ^ xa_x11.c:1027:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | static void xanim_realize_remote(wg, event, str, np) | ^ xa_x11.c:216: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] 216 | static void xanim_realize_remote(); | ^ xa_x11.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 xanim_expose(wg, event, str, np) | ^ xa_x11.c:108: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] 108 | void xanim_expose(); | ^ xa_x11.c:1080:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | ACTION_PROC(xanim_step_prev_action) | ^ xa_x11.c:203: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] 203 | static void xanim_step_prev_action(),xanim_step_next_action(); | ^ xa_x11.c:1094:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | ACTION_PROC(xanim_step_next_action) | ^ xa_x11.c:203:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | static void xanim_step_prev_action(),xanim_step_next_action(); | ^ xa_x11.c:1152:19: warning: passing arguments to 'XA_Store_Title' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | XA_Store_Title(cur_file,0,xa_title_flag); | ^ xa_x11.c:1108:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | ACTION_PROC(xanim_toggle_action) | ^ xa_x11.c:205: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] 205 | static void xanim_toggle_action(),xanim_quit_action(); | ^ xa_x11.c:1166:53: warning: passing arguments to 'XA_Store_Title' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | if (xa_title_flag == XA_TITLE_FILE) XA_Store_Title(cur_file,0,xa_title_flag); | ^ xa_x11.c:1155:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | ACTION_PROC(xact_playnext) | ^ xa_x11.c:204: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] 204 | static void xact_playnext(), xact_playprev(), xact_playstop(); | ^ xa_x11.c:1180:53: warning: passing arguments to 'XA_Store_Title' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | if (xa_title_flag == XA_TITLE_FILE) XA_Store_Title(cur_file,0,xa_title_flag); | ^ xa_x11.c:1169:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | ACTION_PROC(xact_playprev) | ^ xa_x11.c:204:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 204 | static void xact_playnext(), xact_playprev(), xact_playstop(); | ^ xa_x11.c:1183:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | ACTION_PROC(xact_playstop) | ^ xa_x11.c:204:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 204 | static void xact_playnext(), xact_playprev(), xact_playstop(); | ^ xa_x11.c:1192:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1192 | ACTION_PROC(xanim_quit_action) | ^ xa_x11.c:205: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] 205 | static void xanim_toggle_action(),xanim_quit_action(); | ^ xa_x11.c:1197:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | ACTION_PROC(xanim_resize_action) | ^ xa_x11.c:206: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] 206 | static void xanim_resize_action(); | ^ xa_x11.c:1203:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | ACTION_PROC(xanim_install_cmap_action) | ^ xa_x11.c:207: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] 207 | static void xanim_install_cmap_action(),xanim_stop_cmap_action(); | ^ xa_x11.c:1208:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | ACTION_PROC(xanim_stop_cmap_action) | ^ xa_x11.c:207:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 207 | static void xanim_install_cmap_action(),xanim_stop_cmap_action(); | ^ xa_x11.c:1215:40: warning: passing arguments to 'XA_Install_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | if (xa_chdr_now != 0) XA_Install_CMAP(xa_chdr_now); | ^ xa_x11.c:1213:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | ACTION_PROC(xanim_restore_cmap_action) | ^ xa_x11.c:208: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] 208 | static void xanim_restore_cmap_action(); | ^ xa_x11.c:1219:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | ACTION_PROC(xanim_slower_action) | ^ xa_x11.c:209: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] 209 | static void xanim_faster_action(),xanim_slower_action(); | ^ xa_x11.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 | ACTION_PROC(xanim_faster_action) | ^ xa_x11.c:209: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] 209 | static void xanim_faster_action(),xanim_slower_action(); | ^ xa_x11.c:1247:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1247 | ACTION_PROC(xanim_set_pingpong) | ^ xa_x11.c:218: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] 218 | static void xanim_set_pingpong(); | ^ xa_x11.c:1256:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | ACTION_PROC(xanim_speed_reset_action) | ^ xa_x11.c:210: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] 210 | static void xanim_speed_reset_action(); | ^ xa_x11.c:1269:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | ACTION_PROC(xanim_next_anim_action) | ^ xa_x11.c:211: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] 211 | static void xanim_next_anim_action(),xanim_prev_anim_action(); | ^ xa_x11.c:1286:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | ACTION_PROC(xanim_prev_anim_action) | ^ xa_x11.c:211:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 211 | static void xanim_next_anim_action(),xanim_prev_anim_action(); | ^ xa_x11.c:1303:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | ACTION_PROC(xanim_step_next_int_action) | ^ xa_x11.c:212:42: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | static void xanim_step_prev_int_action(),xanim_step_next_int_action(); | ^ xa_x11.c:1320:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | ACTION_PROC(xanim_step_prev_int_action) | ^ xa_x11.c:212: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] 212 | static void xanim_step_prev_int_action(),xanim_step_next_int_action(); | ^ xa_x11.c:1340:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | XA_AUDIO_SET_VOLUME(vaudiof->volume); | ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 57 | XA_Video_Send2_Audio(XA_IPC_AUD_VOL,0,0,x,1000,0); } | ^ xa_x11.c:1342:23: warning: passing arguments to 'XA_Remote_Adj_Volume' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | XA_Remote_Adj_Volume(vaudiof->volume,XA_AUDIO_MAXVOL); | ^ xa_x11.c:1337:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | ACTION_PROC(xanim_dec_audio_5) | ^ xa_x11.c:213: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] 213 | static void xanim_dec_audio_5(),xanim_dec_audio_1(); | ^ xa_x11.c:1352:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1352 | XA_AUDIO_SET_VOLUME(vaudiof->volume); | ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 57 | XA_Video_Send2_Audio(XA_IPC_AUD_VOL,0,0,x,1000,0); } | ^ xa_x11.c:1354:23: warning: passing arguments to 'XA_Remote_Adj_Volume' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | XA_Remote_Adj_Volume(vaudiof->volume,XA_AUDIO_MAXVOL); | ^ xa_x11.c:1349:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | ACTION_PROC(xanim_dec_audio_1) | ^ xa_x11.c:213: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] 213 | static void xanim_dec_audio_5(),xanim_dec_audio_1(); | ^ xa_x11.c:1365:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | XA_AUDIO_SET_VOLUME(vaudiof->volume); | ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 57 | XA_Video_Send2_Audio(XA_IPC_AUD_VOL,0,0,x,1000,0); } | ^ xa_x11.c:1367:23: warning: passing arguments to 'XA_Remote_Adj_Volume' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | XA_Remote_Adj_Volume(vaudiof->volume,XA_AUDIO_MAXVOL); | ^ xa_x11.c:1361:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | ACTION_PROC(xanim_inc_audio_5) | ^ xa_x11.c:214: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] 214 | static void xanim_inc_audio_5(),xanim_inc_audio_1(),xanim_mute_audio(); | ^ xa_x11.c:1378:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | XA_AUDIO_SET_VOLUME(vaudiof->volume); | ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 57 | XA_Video_Send2_Audio(XA_IPC_AUD_VOL,0,0,x,1000,0); } | ^ xa_x11.c:1380:23: warning: passing arguments to 'XA_Remote_Adj_Volume' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | XA_Remote_Adj_Volume(vaudiof->volume,XA_AUDIO_MAXVOL); | ^ xa_x11.c:1374:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | ACTION_PROC(xanim_inc_audio_1) | ^ xa_x11.c:214: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] 214 | static void xanim_inc_audio_5(),xanim_inc_audio_1(),xanim_mute_audio(); | ^ xa_x11.c:1390:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | XA_AUDIO_SET_MUTE(vaudiof->mute); | ^ ./xa_ipc_cmds.h:59:23: note: expanded from macro 'XA_AUDIO_SET_MUTE' 59 | XA_Video_Send2_Audio(XA_IPC_AUD_MUTE,0,0,x,1000,0); } | ^ xa_x11.c:1387:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | ACTION_PROC(xanim_mute_audio) | ^ xa_x11.c:214:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | static void xanim_inc_audio_5(),xanim_inc_audio_1(),xanim_mute_audio(); | ^ xa_x11.c:1402:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | XA_SPEAKER_TOG(2); | ^ ./xa_ipc_cmds.h:49:23: note: expanded from macro 'XA_SPEAKER_TOG' 49 | XA_Video_Send2_Audio(XA_IPC_AUD_STOG,NULL,0,x,2000,0); } | ^ xa_x11.c:1400:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | ACTION_PROC(xanim_speaker_tog) | ^ xa_x11.c:215: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] 215 | static void xanim_speaker_tog(),xanim_headphone_tog(); | ^ xa_x11.c:1410:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | XA_HEADPHONE_TOG(2); | ^ ./xa_ipc_cmds.h:51:23: note: expanded from macro 'XA_HEADPHONE_TOG' 51 | XA_Video_Send2_Audio(XA_IPC_AUD_HTOG,NULL,0,x,2000,0); } | ^ xa_x11.c:1408:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | ACTION_PROC(xanim_headphone_tog) | ^ xa_x11.c:215: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] 215 | static void xanim_speaker_tog(),xanim_headphone_tog(); | ^ xa_x11.c:1434:27: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XExposeEvent *' [-Wincompatible-pointer-types] 1434 | xanim_expose(theWG, &event, NULL, 0); | ^~~~~~ xa_x11.c:1474:28: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XExposeEvent *' [-Wincompatible-pointer-types] 1474 | xanim_expose(theWG, &event, NULL, 0); | ^~~~~~ xa_x11.c:1526:6: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | XA_AUDIO_SET_VOLUME(vaudiof->volume); | ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 57 | XA_Video_Send2_Audio(XA_IPC_AUD_VOL,0,0,x,1000,0); } | ^ xa_x11.c:1529:34: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XExposeEvent *' [-Wincompatible-pointer-types] 1529 | xanim_realize_remote(theWG, &event, NULL, 0); | ^~~~~~ xa_x11.c:1550:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1550 | xaULONG X11_Get_Line_Size(xsize) | ^ In file included from xa_x11.c:30: ./xanim.h:861: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] 861 | extern xaULONG X11_Get_Line_Size(); | ^ xa_x11.c:1576:56: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XImage *' (aka 'struct _XImage *') [-Wpointer-to-int-cast] 1576 | DEBUG_LEVEL2 fprintf(stderr," InitImage %x <%d,%d>\n", (xaULONG)(image),xsize,ysize ); | ^~~~~~~~~~~~~~~~ xa_x11.c:1564:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1564 | void X11_Init_Image_Struct(image,xsize,ysize) | ^ xa_x11.c:116: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] 116 | void X11_Init_Image_Struct(); | ^ xa_x11.c:1580:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1580 | void X11_OutPut_Visual_Class(vis_class) | ^ xa_x11.c:115: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] 115 | void X11_OutPut_Visual_Class(); | ^ xa_x11.c:1642:25: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | if (cmap == 0) TheEnd1("X11_Get_Colormap: cmap = 0"); | ^ xa_x11.c:1643:24: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1643 | if (map == 0) TheEnd1("X11_Get_Colormap: map = 0"); | ^ xa_x11.c:1617:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | void X11_Get_Colormap(chdr) | ^ xa_x11.c:123: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] 123 | void X11_Get_Colormap(); | ^ xa_x11.c:1708:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1708 | if (new_cmap == 0) TheEnd1("X11_Make_Nice_CHDR: cmap malloc err"); | ^ xa_x11.c:1716:30: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | if (new_map == 0) TheEnd1("X11_Make_Nice_CHDR: map malloc err"); | ^ xa_x11.c:1657:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1657 | void X11_Make_Nice_CHDR(chdr) | ^ xa_x11.c:122: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] 122 | void X11_Make_Nice_CHDR(); | ^ xa_x11.c:1736:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1736 | int XA_Error_Handler(errDisp,event) | ^ xa_x11.c:106: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] 106 | int XA_Error_Handler(); | ^ xa_x11.c:1951:3: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1951 | XA_AUDIO_SET_VOLUME(vaudiof->volume); | ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 57 | XA_Video_Send2_Audio(XA_IPC_AUD_VOL,0,0,x,1000,0); } | ^ xa_x11.c:1953:23: warning: passing arguments to 'XA_Remote_Adj_Volume' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1953 | XA_Remote_Adj_Volume(vaudiof->volume,XA_AUDIO_MAXVOL); | ^ xa_x11.c:1936:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | static void xanim_set_volume(w,event,but) | ^ xa_x11.c:217: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] 217 | static void xanim_set_volume(); | ^ xa_x11.c:2029:18: warning: passing arguments to 'GetButtonColors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2029 | GetButtonColors(0); | ^ xa_x11.c:2069:19: warning: passing arguments to 'InitButtonsTypes' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2069 | InitButtonsTypes(button_types,NUM_BUTTON_TYPES); | ^ xa_x11.c:2070:14: warning: passing arguments to 'InitButtons' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2070 | InitButtons(buttons,NUM_BUTTONS); | ^ xa_x11.c:2071:14: warning: passing arguments to 'InitScrolls' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2071 | InitScrolls(scrollbars,NUM_SCROLLBARS); | ^ xa_x11.c:2081:47: warning: passing arguments to 'XA_Realize_Remote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2081 | if (remote_flag == xaTRUE) XA_Realize_Remote(remote_widget); | ^ xa_x11.c:2020:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | void XA_Create_Remote(wg,remote_flag) | ^ xa_x11.c:131: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] 131 | void XA_Create_Remote(); | ^ xa_x11.c:2114:18: warning: passing arguments to 'GetButtonColors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2114 | GetButtonColors(xa_chdr_now); | ^ xa_x11.c:2115:13: warning: passing arguments to 'DrawRemote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | DrawRemote(buttons,NUM_BUTTONS); | ^ xa_x11.c:2088:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | void XA_Realize_Remote(remote) | ^ xa_x11.c:132: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] 132 | void XA_Realize_Remote(); | ^ xa_x11.c:2118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | void XA_Unrealize_Remote(remote) | ^ xa_x11.c:133: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] 133 | void XA_Unrealize_Remote(); | ^ xa_x11.c:2136:18: warning: passing arguments to 'GetButtonColors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2136 | GetButtonColors(xa_chdr_now); | ^ xa_x11.c:2137:13: warning: passing arguments to 'DrawRemote' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2137 | DrawRemote(buttons,NUM_BUTTONS); | ^ xa_x11.c:2132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2132 | void xa_remote_expose(wg, closure, event, notused) | ^ xa_x11.c:1749: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] 1749 | void xa_remote_expose(); | ^ xa_x11.c:2149:21: warning: passing arguments to 'DrawButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2149 | DrawButton(&buttons[i]); | ^ xa_x11.c:2160:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2160 | void PetuniaButtonWait(client_data,id) | ^ xa_x11.c:2174:20: warning: passing arguments to 'WhichButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2174 | but = WhichButton(buttons,NUM_BUTTONS,xbut->x,xbut->y); | ^ xa_x11.c:2181:17: warning: passing arguments to 'DrawButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2181 | DrawButton( &buttons[but] ); | ^ xa_x11.c:2168:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2168 | ACTION_PROC(remote_btn1dn) | ^ xa_x11.c:1980: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] 1980 | static void remote_btn1dn(), remote_btn1up(); | ^ xa_x11.c:2191:24: warning: passing arguments to 'WhichButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2191 | int but = WhichButton(buttons,NUM_BUTTONS,xbut->x,xbut->y); | ^ xa_x11.c:2195:48: 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] 2195 | if (buttons[but].func) buttons[but].func(w,event,params,num_params); | ^ xa_x11.c:2199:48: 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] 2199 | if (buttons[but].func) buttons[but].func(w,event,&buttons[but]); | ^ xa_x11.c:2189:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2189 | ACTION_PROC(remote_btn1up) | ^ xa_x11.c:1980:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1980 | static void remote_btn1dn(), remote_btn1up(); | ^ xa_x11.c:2218:30: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2218 | return( CMAP_Find_Closest(tchdr->cmap,tchdr->csize,r,g,b,8,8,8,xaTRUE) ); | ^ xa_x11.c:2209:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2209 | xaULONG PetuniaGetColor(r,g,b,chdr) | ^ xa_x11.c:2229:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | static void GetButtonColors(chdr) | ^ xa_x11.c:1754: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] 1754 | static void GetButtonColors(); | ^ xa_x11.c:2262:36: warning: passing arguments to 'DrawButton' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2262 | for(i=0; i < num; i++) DrawButton( &buttons[i] ); | ^ xa_x11.c:2254:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2254 | static void DrawRemote(buttons,num) | ^ xa_x11.c:1755: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] 1755 | static void DrawRemote(); | ^ xa_x11.c:2266:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2266 | static void InitButtonsTypes(button_types,num) | ^ xa_x11.c:1752: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] 1752 | static void InitButtonsTypes(); | ^ xa_x11.c:2284:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2284 | static void InitButtons(buttons,num) | ^ xa_x11.c:1751: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] 1751 | static void InitButtons(); | ^ xa_x11.c:2297:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2297 | static void InitScrolls(scrolls,num) | ^ xa_x11.c:1753: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] 1753 | static void InitScrolls(); | ^ xa_x11.c:2358:38: warning: passing arguments to 'DrawScroll' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | if (button->scroll >= 0) DrawScroll( &scrollbars[button->scroll] ); | ^ xa_x11.c:2314:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2314 | static void DrawButton(button) | ^ xa_x11.c:1756: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] 1756 | static void DrawButton(); | ^ xa_x11.c:2362:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2362 | static void DrawScroll(scroll) | ^ xa_x11.c:1757: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] 1757 | static void DrawScroll(); | ^ xa_x11.c:2393:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2393 | static xaULONG InButtonQuery(button,x,y) | ^ xa_x11.c:1758: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] 1758 | static xaULONG InButtonQuery(); | ^ xa_x11.c:2407:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2407 | static xaLONG WhichButton(buttons,num,x,y) | ^ xa_x11.c:1760:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 1760 | static xaLONG WhichButton(); | ^ xa_x11.c:2416:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2416 | static void AdjustScroll(sidx, val, scale) | ^ xa_x11.c:1759: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] 1759 | static void AdjustScroll(); | ^ xa_x11.c:2432:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2432 | void XA_Remote_Play_Common(prev,stop,next) | ^ xa_x11.c:2469:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2469 | void XA_Remote_Adj_Volume(vol,maxvol) | ^ xa_x11.c:146: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] 146 | void XA_Remote_Adj_Volume(); | ^ xa_x11.c:2474:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2474 | void XA_Remote_ColorUpdate(chdr) | ^ 173 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_fli.c xa_fli.c:58:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | if (fframe == 0) TheEnd1("FLI_Add_Frame: malloc err"); | ^ xa_fli.c:51:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | FLI_FRAME *FLI_Add_Frame(time,timelo,act) | ^ xa_fli.c:26: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] 26 | FLI_FRAME *FLI_Add_Frame(); | ^ xa_fli.c:73:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | static void FLI_Free_Frame_List(fframes) | ^ xa_fli.c:93:38: 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] 93 | fli_hdr->size = xin->Read_LSB_U32(xin); | ^ xa_fli.c:94:38: 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] 94 | fli_hdr->magic = xin->Read_LSB_U16(xin); | ^ xa_fli.c:95:38: 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] 95 | fli_hdr->frames = xin->Read_LSB_U16(xin); | ^ xa_fli.c:96:38: 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] 96 | fli_hdr->width = xin->Read_LSB_U16(xin); | ^ xa_fli.c:97:38: 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] 97 | fli_hdr->height = xin->Read_LSB_U16(xin); | ^ xa_fli.c:98:38: 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] 98 | fli_hdr->res1 = xin->Read_LSB_U16(xin); | ^ xa_fli.c:99:38: 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] 99 | fli_hdr->flags = xin->Read_LSB_U16(xin); | ^ xa_fli.c:100:38: 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] 100 | fli_hdr->speed = xin->Read_LSB_U16(xin); | ^ xa_fli.c:102:38: 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] 102 | fli_hdr->next = xin->Read_LSB_U32(xin); | ^ xa_fli.c:103:38: 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] 103 | fli_hdr->frit = xin->Read_LSB_U32(xin); | ^ xa_fli.c:104:34: 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] 104 | for(i=0;i<102;i++) xin->Read_U8(xin); /* ignore unused part of Fli_Header */ | ^ xa_fli.c:106:15: 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] 106 | xin->Set_EOF(xin,fli_hdr->size); | ^ xa_fli.c:86:13: 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 void FLI_Read_Header(fli,xin,fli_hdr) | ^ xa_fli.c:24: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] 24 | static void FLI_Read_Header(); | ^ xa_fli.c:123:18: 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] 123 | if (xin->At_EOF(xin,16)) return(0); | ^ xa_fli.c:124:50: 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] 124 | for(i=0;i<6;i++) tmp[i] = (xaUBYTE)xin->Read_U8(xin); | ^ xa_fli.c:130:35: 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] 130 | tmp[5] = (xaUBYTE)xin->Read_U8(xin); | ^ xa_fli.c:131: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] 131 | if (xin->At_EOF(xin,10)) return(0); | ^ xa_fli.c:136:40: 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] 136 | frame_hdr->chunks = xin->Read_LSB_U16(xin); | ^ xa_fli.c:138:32: 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] 138 | for(i=0;i<8;i++) xin->Read_U8(xin); | ^ xa_fli.c:117:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | xaULONG FLI_Read_Frame_Header(xin,frame_hdr) | ^ xa_fli.c:25:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | xaULONG FLI_Read_Frame_Header(); | ^ xa_fli.c:175:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | if (fli->pic == 0) TheEnd1("BufferAction: malloc failed"); | ^ xa_fli.c:194:17: warning: passing arguments to 'FLI_Set_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | FLI_Set_Time(fli,fli_hdr.speed); | ^ xa_fli.c:201:56: 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] 201 | for(i=0;i<(frame_hdr.size - 16);i++) xin->Read_U8(xin); | ^ xa_fli.c:202:46: 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] 202 | if (frame_hdr.size & 0x01) xin->Read_U8(xin); | ^ xa_fli.c:207:27: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | act = ACT_Get_Action(anim_hdr,ACT_DELAY); | ^ xa_fli.c:223:19: warning: passing arguments to 'FLI_Set_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | else FLI_Set_Time(fli,fli_hdr.speed); | ^ xa_fli.c:224:39: 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] 224 | chunk_size = xin->Read_LSB_U32(xin) & 0xffffff; | ^ xa_fli.c:225:39: 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 | chunk_type = xin->Read_LSB_U16(xin); | ^ xa_fli.c:234:17: warning: passing arguments to 'FLI_Read_COLOR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | FLI_Read_COLOR(fli,anim_hdr,xin,8,frame_hdr.chunks); | ^ xa_fli.c:238:17: warning: passing arguments to 'FLI_Read_COLOR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | FLI_Read_COLOR(fli,anim_hdr,xin,6,frame_hdr.chunks); | ^ xa_fli.c:251:25: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_fli.c:256:35: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | if (chunk_size != 0) TheEnd1("FLI BLACK: size err\n"); | ^ xa_fli.c:260:36: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | if (dlta_hdr == 0) TheEnd1("FLI BK CHUNK: malloc failed"); | ^ xa_fli.c:271:36: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | if (dlta_hdr == 0) TheEnd1("FLI CHUNK: malloc failed"); | ^ xa_fli.c:274:40: 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] 274 | dlta_hdr->fpos = xin->Get_FPos(xin); | ^ xa_fli.c:276: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] 276 | xin->Seek_FPos(xin,chunk_size,1); /* move past chunk */ | ^ xa_fli.c:284:36: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | if (dlta_hdr == 0) TheEnd1("FLI CHUNK: malloc failed"); | ^ xa_fli.c:289:30: 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] 289 | ret = xin->Read_Block(xin,dlta_hdr->data, chunk_size); | ^ xa_fli.c:290:39: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | if (ret < chunk_size) TheEnd1("FLI: read dlta err"); | ^ xa_fli.c:293:17: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | else TheEnd1("FLI DLTA: invalid size"); | ^ xa_fli.c:324:19: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | ACT_Setup_Delta(fli,act,dlta_hdr,xin); | ^ xa_fli.c:332:47: 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] 332 | for(i=0;i<(chunk_size-6);i++) xin->Read_U8(xin); | ^ xa_fli.c:333:69: 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] 333 | if ((xa_kludge1_fli==xaFALSE)&&(chunk_size & 0x01)) xin->Read_U8(xin); | ^ xa_fli.c:342:58: 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] 342 | for(i=0;i<(chunk_size-6);i++) xin->Read_U8(xin); | ^ xa_fli.c:343:73: 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] 343 | if ((xa_kludge1_fli==xaFALSE)&&(chunk_size & 0x01)) xin->Read_U8(xin); | ^ xa_fli.c:351:19: 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] 351 | xin->Seek_FPos(xin,file_pos,0); | ^ xa_fli.c:354:18: 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] 354 | xin->Close_File(xin); | ^ xa_fli.c:359:43: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | if (anim_hdr->frame_lst == NULL) TheEnd1("FLI_Read_Anim: malloc err"); | ^ xa_fli.c:395:56: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | anim_hdr->frame_lst[frame_i-1].act = ACT_Get_Action(anim_hdr,ACT_JMP2END); | ^ xa_fli.c:421:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | XA_Free_Anim_Setup(fli); | ^ xa_fli.c:147:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | xaULONG Fli_Read_File(fname,anim_hdr) | ^ xa_fli.c:23:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | xaULONG Fli_Read_File(); | ^ xa_fli.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | FLI_Decode_BRUN(image,delta,dsize,dec_info) | ^ xa_fli.c:28:9: warning: a function declaration without a prototype is 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 | xaULONG FLI_Decode_BRUN(); | ^ xa_fli.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | FLI_Decode_LC(image,delta,dsize,dec_info) | ^ xa_fli.c:29:9: warning: a function declaration without a prototype is 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 | xaULONG FLI_Decode_LC(); | ^ xa_fli.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | FLI_Decode_COPY(image,delta,dsize,dec_info) | ^ xa_fli.c:30:9: warning: a function declaration without a prototype is 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 | xaULONG FLI_Decode_COPY(); | ^ xa_fli.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | FLI_Decode_BLACK(image,delta,dsize,dec_info) | ^ xa_fli.c:31:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | xaULONG FLI_Decode_BLACK(); | ^ xa_fli.c:687: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] 687 | packets = xin->Read_LSB_U16(xin); | ^ xa_fli.c:694: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] 694 | skip = xin->Read_U8(xin); | ^ xa_fli.c:695: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] 695 | colors=xin->Read_U8(xin); | ^ xa_fli.c:702:43: 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] 702 | fli->cmap[c_index].red = xin->Read_U8(xin) & mask; | ^ xa_fli.c:703:43: 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] 703 | fli->cmap[c_index].green = xin->Read_U8(xin) & mask; | ^ xa_fli.c:704:43: 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] 704 | fli->cmap[c_index].blue = xin->Read_U8(xin) & mask; | ^ xa_fli.c:712:57: 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] 712 | if ((xa_kludge1_fli==xaFALSE)&&(cnt&0x01)) xin->Read_U8(xin); | ^ xa_fli.c:717:24: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | act = ACT_Get_Action(anim_hdr,0); | ^ xa_fli.c:718:17: warning: passing arguments to 'ACT_Get_CCMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | ACT_Get_CCMAP(act,fli->cmap,FLI_MAX_COLORS,0,cbits,cbits,cbits); | ^ xa_fli.c:720:26: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | ACT_Add_CHDR_To_Action(act,fli->chdr); | ^ xa_fli.c:723:28: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | fli->chdr = ACT_Get_CMAP(fli->cmap,FLI_MAX_COLORS,0,FLI_MAX_COLORS,0, | ^ xa_fli.c:675:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | static void FLI_Read_COLOR(fli,anim_hdr,xin,cbits,num_of_chunks) | ^ xa_fli.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 FLI_Read_COLOR(); | ^ xa_fli.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | FLI_Decode_LC7(image,delta,dsize,dec_info) | ^ xa_fli.c:32:9: warning: a function declaration without a prototype is 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 | xaULONG FLI_Decode_LC7(); | ^ xa_fli.c:928:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | void FLI_Set_Time(fli,speed) | ^ xa_fli.c:27: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] 27 | void FLI_Set_Time(); | ^ 83 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_iff.c xa_iff.c:147:10: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | TheEnd1(p); | ^ xa_iff.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | IFF_TheEnd1(p) | ^ xa_iff.c:150:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | IFF_ACT_LST *IFF_Add_Frame(type,act) | ^ xa_iff.c:38: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] 38 | IFF_ACT_LST *IFF_Add_Frame(); | ^ xa_iff.c:242: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] 242 | while( !xin->At_EOF(xin,-1) && !exit_flag) | ^ xa_iff.c:246:35: 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 | chunk.id = xin->Read_MSB_U32(xin); | ^ xa_iff.c:247:35: 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] 247 | chunk.size = xin->Read_MSB_U32(xin); | ^ xa_iff.c:249: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] 249 | if ( xin->At_EOF(xin,-1) ) break; | ^ xa_iff.c:256:19: warning: passing arguments to 'IFF_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | IFF_Print_ID(stderr,chunk.id); | ^ xa_iff.c:268:45: 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] 268 | formtype = xin->Read_MSB_U32(xin); | ^ xa_iff.c:277:17: warning: passing arguments to 'IFF_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | IFF_Print_ID(stderr,formtype); | ^ xa_iff.c:279:19: 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] 279 | xin->Seek_FPos(xin,file_size,1); | ^ xa_iff.c:287:31: warning: passing arguments to 'IFF_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | IFF_Print_ID(stderr,chunk.id); | ^ xa_iff.c:289:31: warning: passing arguments to 'IFF_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | IFF_Print_ID(stderr,formtype); | ^ xa_iff.c:294:16: warning: passing arguments to 'IFF_Read_BMHD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | IFF_Read_BMHD(xin,&bmhd); | ^ xa_iff.c:310:33: warning: passing arguments to 'CMAP_Get_Or_Mask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | iff_or_mask = CMAP_Get_Or_Mask(1 << iff_imaged); | ^ xa_iff.c:317:52: 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] 317 | bmhd.pageWidth = bmhd.width = xin->Read_MSB_U16(xin); | ^ xa_iff.c:318:52: 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] 318 | bmhd.pageHeight = bmhd.height = xin->Read_MSB_U16(xin); | ^ xa_iff.c:319: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] 319 | garb = xin->Read_MSB_U32(xin); /* read x, y */ | ^ xa_iff.c:320: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] 320 | garb = xin->Read_MSB_U32(xin); /* read xoff, yoff */ | ^ xa_iff.c:333:33: warning: passing arguments to 'CMAP_Get_Or_Mask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | iff_or_mask = CMAP_Get_Or_Mask(1 << iff_imaged); | ^ xa_iff.c:348: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] 348 | xin->Seek_FPos(xin,chunk.size,1); | ^ xa_iff.c:352:48: 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 | camg_flag = xin->Read_MSB_U32(xin) | IFF_CAMG_NOP; | ^ xa_iff.c:356:39: warning: passing arguments to 'IFF_Adjust_For_EHB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | IFF_Adjust_For_EHB(iff_cmap,iff_cmap_bits); | ^ xa_iff.c:358:16: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | ACT_Get_CMAP(iff_cmap,iff_imagec,iff_or_mask, | ^ xa_iff.c:373:43: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | act = ACT_Get_Action(anim_hdr,ACT_IFF_HMAP8); | ^ xa_iff.c:378:43: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | act = ACT_Get_Action(anim_hdr,ACT_IFF_HMAP6); | ^ xa_iff.c:381:35: warning: passing arguments to 'IFF_Setup_HMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | IFF_Setup_HMAP(act,iff_hmap,iff_cmap,iff_cmap_bits); | ^ xa_iff.c:386:49: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | iff_chdr = CMAP_Create_332(iff_cmap,&iff_imagec); | ^ xa_iff.c:391:50: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | iff_chdr = CMAP_Create_Gray(iff_cmap,&iff_imagec); | ^ xa_iff.c:407:22: warning: passing arguments to 'IFF_Read_CMAP_1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | IFF_Read_CMAP_1(iff_cmap,iff_imagec,xin); | ^ xa_iff.c:412:22: warning: passing arguments to 'IFF_Read_CMAP_0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | IFF_Read_CMAP_0(iff_cmap,iff_imagec,xin); | ^ xa_iff.c:429:43: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | act = ACT_Get_Action(anim_hdr,ACT_IFF_HMAP8); | ^ xa_iff.c:434:43: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | act = ACT_Get_Action(anim_hdr,ACT_IFF_HMAP6); | ^ xa_iff.c:437:35: warning: passing arguments to 'IFF_Setup_HMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | IFF_Setup_HMAP(act,iff_hmap,iff_cmap,iff_cmap_bits); | ^ xa_iff.c:442:49: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | iff_chdr = CMAP_Create_332(iff_cmap,&iff_imagec); | ^ xa_iff.c:447:50: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | iff_chdr = CMAP_Create_Gray(iff_cmap,&iff_imagec); | ^ xa_iff.c:454:39: warning: passing arguments to 'IFF_Adjust_For_EHB' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | IFF_Adjust_For_EHB(iff_cmap,iff_cmap_bits); | ^ xa_iff.c:456:35: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | ACT_Get_CMAP(iff_cmap,iff_imagec,iff_or_mask, | ^ xa_iff.c:464:18: warning: passing arguments to 'IFF_Shift_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | IFF_Shift_CMAP(iff_cmap,iff_imagec); | ^ xa_iff.c:465:44: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | iff_chdr = ACT_Get_CMAP(iff_cmap,iff_imagec,iff_or_mask, | ^ xa_iff.c:475:19: 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] 475 | xin->Read_Block(xin,NAME_string,chunk.size); | ^ xa_iff.c:488: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] 488 | xin->Seek_FPos(xin,chunk.size,1); | ^ xa_iff.c:498:48: warning: passing arguments to 'IFF_Shift_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | if (iff_cmap_bits == 4) IFF_Shift_CMAP(iff_cmap,iff_imagec); | ^ xa_iff.c:499:33: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | iff_chdr = ACT_Get_CMAP(iff_cmap,iff_imagec,iff_or_mask, | ^ xa_iff.c:503:28: warning: passing arguments to 'IFF_Register_CRNGs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | IFF_Register_CRNGs(anim_hdr,iff_chdr); | ^ xa_iff.c:509:26: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_iff.c:510:28: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | ACT_Add_CHDR_To_Action(act,iff_chdr); | ^ xa_iff.c:535:21: warning: passing arguments to 'IFF_Read_BODY' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | IFF_Read_BODY(xin,dlta_hdr->data,chunk.size, | ^ xa_iff.c:555:20: warning: passing arguments to 'IFF_Read_ANHD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | IFF_Read_ANHD(xin,&anhd,chunk.size); | ^ xa_iff.c:565: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] 565 | xin->Seek_FPos(xin,chunk.size,1); | ^ xa_iff.c:578:26: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_iff.c:579:28: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | ACT_Add_CHDR_To_Action(act,iff_chdr); | ^ xa_iff.c:589:39: 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] 589 | dlta_hdr->fpos = xin->Get_FPos(xin); | ^ xa_iff.c:591: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] 591 | xin->Seek_FPos(xin,chunk.size,1); | ^ xa_iff.c:601: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] 601 | ret=xin->Read_Block(xin,dlta_hdr->data,chunk.size); | ^ xa_iff.c:667:19: warning: passing arguments to 'IFF_Read_ANSQ' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | IFF_Read_ANSQ(xin,chunk.size); | ^ xa_iff.c:673:17: warning: passing arguments to 'IFF_Read_CRNG' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | IFF_Read_CRNG(anim_hdr,xin,chunk.size,&crng_flag); | ^ xa_iff.c:688: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] 688 | xin->Seek_FPos(xin,chunk.size,1); | ^ xa_iff.c:691:18: 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] 691 | if ( xin->At_EOF(xin,-1) ) exit_flag = 1; /* end of file */ | ^ xa_iff.c:694:53: warning: passing arguments to 'IFF_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | fprintf(stderr,"Unknown IFF type="); IFF_Print_ID(stderr,chunk.id); | ^ xa_iff.c:700: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] 700 | xin->Seek_FPos(xin,chunk.size,1); | ^ xa_iff.c:723: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] 723 | xin->Close_File(xin); | ^ xa_iff.c:936:48: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | anim_hdr->frame_lst[kk-2].act = ACT_Get_Action(anim_hdr,ACT_JMP2END); | ^ xa_iff.c:996:57: warning: passing arguments to 'IFF_Buffer_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | if (xin->load_flag & XA_IN_LOAD_BUF) IFF_Buffer_Action(anim_hdr); | ^ xa_iff.c:195:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | xaULONG IFF_Read_File(fname,anim_hdr) | ^ xa_iff.c:21:9: warning: a function declaration without a prototype is 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 | xaULONG IFF_Read_File(); | ^ xa_iff.c:1024:19: warning: passing arguments to 'IFF_Shift_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1024 | IFF_Shift_CMAP(colormap,cmap_num); | ^ xa_iff.c:1035:33: warning: passing arguments to 'CMAP_Get_Or_Mask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | iff_or_mask = CMAP_Get_Or_Mask(iff_imagec); | ^ xa_iff.c:1012:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | void IFF_Adjust_For_EHB(colormap,cmap_bits) | ^ xa_iff.c:22: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] 22 | void IFF_Adjust_For_EHB(); | ^ xa_iff.c:1066: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] 1066 | ret=xin->Read_Block(xin,inbuff,bodysize); | ^ xa_iff.c:1095:21: warning: passing arguments to 'UnPackRow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | ret=UnPackRow(&sbuff,&dbuff,&bodysize,&rowsize); | ^ xa_iff.c:1123:21: warning: passing arguments to 'UnPackRow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | ret=UnPackRow(&sbuff,&dbuff,&bodysize,&rowsize); | ^ xa_iff.c:1042:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | void IFF_Read_BODY(xin,image_out,bodysize,xsize,ysize,depth, | ^ xa_iff.c:23: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] 23 | void IFF_Read_BODY(); | ^ xa_iff.c:1138:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | void IFF_Print_ID(fout,id) | ^ xa_iff.c:24: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] 24 | void IFF_Print_ID(); | ^ xa_iff.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | IFF_Delta_5(image,delta,dsize,dec_info) | ^ xa_iff.c:28:9: warning: a function declaration without a prototype is 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 | xaULONG IFF_Delta_5(); | ^ xa_iff.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | IFF_Delta_3(image,delta,dsize,dec_info) | ^ xa_iff.c:27:9: warning: a function declaration without a prototype is 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 | xaULONG IFF_Delta_3(); | ^ xa_iff.c:1332:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1332 | if (iff_hash_tbl == 0) TheEnd1("IFF_Hash_Init: malloc err"); | ^ xa_iff.c:1327:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | void IFF_Hash_Init(num) | ^ xa_iff.c:54: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] 54 | void IFF_Hash_Init(); | ^ xa_iff.c:1345:43: warning: passing arguments to 'ACT_Free_Act' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | if (tact->type == ACT_DELTA) ACT_Free_Act(tact); | ^ xa_iff.c:1353:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1353 | void IFF_Hash_Add(dlta,nxtdlta,src,dst,flag) | ^ xa_iff.c:55: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] 55 | void IFF_Hash_Add(); | ^ xa_iff.c:1365:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | XA_ACTION *IFF_Hash_Get(dlta,src,nxtdlta) | ^ xa_iff.c:56: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] 56 | XA_ACTION *IFF_Hash_Get(); | ^ xa_iff.c:1402:26: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | if (buff0 == 0) TheEnd1("IFF Buffer Action: malloc failed 0"); | ^ xa_iff.c:1408:23: warning: passing arguments to 'UTIL_Get_Buffer_Scale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | UTIL_Get_Buffer_Scale(iff_imagex,iff_imagey,&scale_x,&scale_y); | ^ xa_iff.c:1439: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] 1439 | dlta_flag = dlta_hdr->delta(buff0, dlta_hdr->data, | ^ xa_iff.c:1448:30: warning: passing arguments to 'IFF_Init_DLTA_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1448 | IFF_Init_DLTA_HDR(maxx,maxy); | ^ xa_iff.c:1452:30: warning: passing arguments to 'IFF_Update_DLTA_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | IFF_Update_DLTA_HDR(&minx,&miny,&maxx,&maxy); | ^ xa_iff.c:1464:34: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | if (old_act0 == 0) TheEnd1("IFF Buff: No Body err"); | ^ xa_iff.c:1475:46: warning: passing arguments to 'UTIL_Scale_Pos_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | if (need_to_scale) UTIL_Scale_Pos_Size(&px,&py,&sx,&sy, | ^ xa_iff.c:1490:18: warning: passing arguments to 'ACT_Free_Act' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1490 | ACT_Free_Act(tst_act); | ^ xa_iff.c:1496:30: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | new_act = ACT_Get_Action(anim_hdr,0); | ^ xa_iff.c:1497:28: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | ACT_Add_CHDR_To_Action(new_act,act->chdr); | ^ xa_iff.c:1517:27: warning: passing arguments to 'ACT_Del_CHDR_From_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1517 | ACT_Del_CHDR_From_Action(new_act,new_act->chdr); | ^ xa_iff.c:1518:20: warning: passing arguments to 'IFF_HAM6_As_True' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | IFF_HAM6_As_True (t_pic,buff0,&tmp_chdr,act->h_cmap, | ^ xa_iff.c:1520:25: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1520 | ACT_Add_CHDR_To_Action(new_act,tmp_chdr); | ^ xa_iff.c:1523:19: warning: passing arguments to 'IFF_Buffer_HAM6' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | IFF_Buffer_HAM6(t_pic,buff0,new_act->chdr,act->h_cmap, | ^ xa_iff.c:1531:27: warning: passing arguments to 'ACT_Del_CHDR_From_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | ACT_Del_CHDR_From_Action(new_act,new_act->chdr); | ^ xa_iff.c:1532:20: warning: passing arguments to 'IFF_HAM8_As_True' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | IFF_HAM8_As_True (t_pic,buff0,&tmp_chdr,act->h_cmap, | ^ xa_iff.c:1534:25: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | ACT_Add_CHDR_To_Action(new_act,tmp_chdr); | ^ xa_iff.c:1537:18: warning: passing arguments to 'IFF_Buffer_HAM8' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1537 | IFF_Buffer_HAM8(t_pic,buff0,new_act->chdr,act->h_cmap, | ^ xa_iff.c:1540:22: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1540 | ACT_Setup_Mapped(new_act, t_pic, new_act->chdr, | ^ xa_iff.c:1544:25: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | else ACT_Setup_Mapped(new_act, buff0, new_act->chdr, | ^ xa_iff.c:1389:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | void IFF_Buffer_Action(anim_hdr) | ^ xa_iff.c:33: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] 33 | void IFF_Buffer_Action(); | ^ xa_iff.c:1563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1563 | IFF_Delta_J(image,delta,dsize,dec_info) | ^ xa_iff.c:31:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | xaULONG IFF_Delta_J(); | ^ xa_iff.c:1749:22: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 1749 | xaULONG vertflag = (xaULONG)(dec_info->extra); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ xa_iff.c:1742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1742 | IFF_Delta_l(image,delta,dsize,dec_info) | ^ xa_iff.c:26:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | xaULONG IFF_Delta_l(); | ^ xa_iff.c:1816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | IFF_Setup_HMAP(act,hmap,cmap,bits) | ^ xa_iff.c:36: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] 36 | void IFF_Setup_HMAP(); | ^ xa_iff.c:1842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | IFF_Init_DLTA_HDR(max_x,max_y) | ^ xa_iff.c:47: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] 47 | void IFF_Init_DLTA_HDR(); | ^ xa_iff.c:1852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1852 | IFF_Update_DLTA_HDR(min_x,min_y,max_x,max_y) | ^ xa_iff.c:48: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] 48 | void IFF_Update_DLTA_HDR(); | ^ xa_iff.c:1905:47: 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] 1905 | bmhd->width = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1906:47: 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] 1906 | bmhd->height = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1907:47: 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 | bmhd->x = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1908:47: 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] 1908 | bmhd->y = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1909:42: 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] 1909 | bmhd->depth = xin->Read_U8(xin); | ^ xa_iff.c:1910:42: 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] 1910 | bmhd->masking = xin->Read_U8(xin); | ^ xa_iff.c:1911:42: 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] 1911 | bmhd->compression = xin->Read_U8(xin); | ^ xa_iff.c:1912:42: 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] 1912 | bmhd->pad1 = xin->Read_U8(xin); | ^ xa_iff.c:1913:47: 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] 1913 | bmhd->transparentColor = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1914:42: 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] 1914 | bmhd->xAspect = xin->Read_U8(xin); | ^ xa_iff.c:1915:42: 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] 1915 | bmhd->yAspect = xin->Read_U8(xin); | ^ xa_iff.c:1916:47: 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] 1916 | bmhd->pageWidth = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1917:47: 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] 1917 | bmhd->pageHeight = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1899 | IFF_Read_BMHD(xin,bmhd) | ^ xa_iff.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 IFF_Read_BMHD(); | ^ xa_iff.c:1927: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] 1927 | anhd->op = xin->Read_U8(xin); | ^ xa_iff.c:1928: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] 1928 | anhd->mask = xin->Read_U8(xin); | ^ xa_iff.c:1929: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] 1929 | anhd->w = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1930: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] 1930 | anhd->h = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1931: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] 1931 | anhd->x = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1932: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] 1932 | anhd->y = xin->Read_MSB_U16(xin); | ^ xa_iff.c:1933:37: 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] 1933 | anhd->abstime = xin->Read_MSB_U32(xin); | ^ xa_iff.c:1934:37: 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] 1934 | anhd->reltime = xin->Read_MSB_U32(xin); | ^ xa_iff.c:1935:34: 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] 1935 | anhd->interleave = xin->Read_U8(xin); | ^ xa_iff.c:1936: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] 1936 | anhd->pad0 = xin->Read_U8(xin); | ^ xa_iff.c:1937:34: 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] 1937 | anhd->bits = xin->Read_MSB_U32(xin); | ^ xa_iff.c:1938:18: 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] 1938 | xin->Read_Block(xin,(xaBYTE *)(anhd->pad),16); /* read pad */ | ^ xa_iff.c:1940:38: 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] 1940 | while(i < chunk_size) {xin->Read_U8(xin); i++;} | ^ xa_iff.c:1921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1921 | IFF_Read_ANHD(xin,anhd,chunk_size) | ^ xa_iff.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 IFF_Read_ANHD(); | ^ xa_iff.c:1967:18: 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] 1967 | xin->Read_Block(xin,garb,chunk_size); | ^ xa_iff.c:1944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1944 | IFF_Read_ANSQ(xin,chunk_size) | ^ xa_iff.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 IFF_Read_ANSQ(); | ^ xa_iff.c:2004:36: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2004 | ACT_Add_CHDR_To_Action(act,chdr); | ^ xa_iff.c:1993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1993 | IFF_Register_CRNGs(anim_hdr,chdr) | ^ xa_iff.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 IFF_Register_CRNGs(); | ^ xa_iff.c:2031: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] 2031 | rate = xin->Read_MSB_U16(xin); /* throw away pad1 */ | ^ xa_iff.c:2032: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] 2032 | rate = xin->Read_MSB_U16(xin); | ^ xa_iff.c:2033: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] 2033 | active = xin->Read_MSB_U16(xin); | ^ xa_iff.c:2034: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] 2034 | low = xin->Read_U8(xin); | ^ xa_iff.c:2035: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] 2035 | high = xin->Read_U8(xin); | ^ xa_iff.c:2061:27: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2061 | act = ACT_Get_Action(anim_hdr,ACT_CYCLE); | ^ xa_iff.c:2065:43: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2065 | if (iff_chdr) ACT_Add_CHDR_To_Action(act,iff_chdr); | ^ xa_iff.c:2070:19: 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] 2070 | { xin->Seek_FPos(xin,chunk_size,1); | ^ xa_iff.c:2011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2011 | IFF_Read_CRNG(anim_hdr,xin,chunk_size,crng_flag) | ^ xa_iff.c:44: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] 44 | void IFF_Read_CRNG(); | ^ xa_iff.c:2085:33: 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] 2085 | cmap[i].red = xin->Read_U8(xin); | ^ xa_iff.c:2086:33: 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] 2086 | cmap[i].green = xin->Read_U8(xin); | ^ xa_iff.c:2087:33: 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] 2087 | cmap[i].blue = xin->Read_U8(xin); | ^ xa_iff.c:2077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2077 | IFF_Read_CMAP_0(cmap,size,xin) | ^ xa_iff.c:45: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] 45 | void IFF_Read_CMAP_0(); | ^ xa_iff.c:2101: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] 2101 | d = xin->Read_U8(xin); | ^ xa_iff.c:2103: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] 2103 | d = xin->Read_U8(xin); | ^ xa_iff.c:2092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2092 | IFF_Read_CMAP_1(cmap,size,xin) | ^ xa_iff.c:46: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] 46 | void IFF_Read_CMAP_1(); | ^ xa_iff.c:2137:50: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'ColorReg *' [-Wpointer-to-int-cast] 2137 | DEBUG_LEVEL1 fprintf(stderr,"ham_cmap: = %x\n",(xaULONG)h_cmap); | ^~~~~~~~~~~~~~~ xa_iff.c:2149:6: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 2149 | (xaULONG)xa_ham_chdr,(xaULONG)the_chdr); | ^~~~~~~~~~~~~~~~~~~~ xa_iff.c:2149:27: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 2149 | (xaULONG)xa_ham_chdr,(xaULONG)the_chdr); | ^~~~~~~~~~~~~~~~~ xa_iff.c:2185:21: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2185 | X11_Get_True_Color( g_adj[pred],g_adj[pgrn],g_adj[pblu],16); | ^ xa_iff.c:2110:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2110 | void IFF_Buffer_HAM6(out,in,chdr,h_cmap,xosize,yosize,xip,yip,xisize,d_flag) | ^ xa_iff.c:34: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] 34 | void IFF_Buffer_HAM6(); | ^ xa_iff.c:2258:6: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 2258 | (xaULONG)xa_ham_chdr,(xaULONG)the_chdr); | ^~~~~~~~~~~~~~~~~~~~ xa_iff.c:2258:27: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 2258 | (xaULONG)xa_ham_chdr,(xaULONG)the_chdr); | ^~~~~~~~~~~~~~~~~ xa_iff.c:2295:21: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2295 | X11_Get_True_Color( g_adj[pred],g_adj[pgrn],g_adj[pblu],16); | ^ xa_iff.c:2210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2210 | void IFF_Buffer_HAM8(out,in,chdr,h_cmap,xosize,yosize,xip,yip,xisize,d_flag) | ^ xa_iff.c:35: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] 35 | void IFF_Buffer_HAM8(); | ^ xa_iff.c:2319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2319 | IFF_Shift_CMAP(cmap,csize) | ^ xa_iff.c:50: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] 50 | void IFF_Shift_CMAP(); | ^ xa_iff.c:2347:19: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 2347 | xaULONG iextra = (xaULONG)(extra); | ^~~~~~~~~~~~~~~~ xa_iff.c:2447:25: warning: passing arguments to 'IFF_Long_Mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2447 | IFF_Long_Mod(i_ptr,data,dmask,0); i_ptr += width; | ^ xa_iff.c:2459:40: warning: passing arguments to 'IFF_Long_Mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2459 | while(cnt--) {IFF_Long_Mod(i_ptr,data,dmask,0); i_ptr += width;} | ^ xa_iff.c:2332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2332 | IFF_Delta_7(image,delta,dsize,dec_info) | ^ xa_iff.c:29:9: warning: a function declaration without a prototype is 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 | xaULONG IFF_Delta_7(); | ^ xa_iff.c:2512:20: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 2512 | xaULONG iextra = (xaULONG)(extra); | ^~~~~~~~~~~~~~~~ xa_iff.c:2630:19: warning: passing arguments to 'IFF_Long_Mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2630 | IFF_Long_Mod(i_ptr,data,dmask,0); i_ptr += width; | ^ xa_iff.c:2645:40: warning: passing arguments to 'IFF_Long_Mod' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2645 | while(cnt--) {IFF_Long_Mod(i_ptr,data,dmask,0); i_ptr += width;} | ^ xa_iff.c:2497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2497 | IFF_Delta_8(image,delta,dsize,dec_info) | ^ xa_iff.c:30:9: warning: a function declaration without a prototype is 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 | xaULONG IFF_Delta_8(); | ^ xa_iff.c:2686:23: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2686 | if (xorflag) TheEnd1("IFF comp7: xorflag not supported yet. Contact Author"); | ^ xa_iff.c:2681:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2681 | void IFF_Long_Mod(ptr,data,dmask,xorflag) | ^ xa_iff.c:32: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] 32 | void IFF_Long_Mod(); | ^ xa_iff.c:2736:25: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2736 | if (tpic == 0) TheEnd1("IFF_HAM6_As_True: malloc err\n"); | ^ xa_iff.c:2772:39: warning: passing arguments to 'CMAP_Create_CHDR_From_True' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2772 | iff_chdr = CMAP_Create_CHDR_From_True(tpic,8,8,8,xosize,yosize, | ^ xa_iff.c:2775:28: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2775 | iff_chdr = CMAP_Create_332(iff_cmap,&iff_imagec); | ^ xa_iff.c:2777:29: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2777 | iff_chdr = CMAP_Create_Gray(iff_cmap,&iff_imagec); | ^ xa_iff.c:2780:33: warning: passing arguments to 'UTIL_RGB_To_FS_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2780 | out = UTIL_RGB_To_FS_Map(out,tpic,iff_chdr,xosize,yosize,xaTRUE); | ^ xa_iff.c:2782:30: warning: passing arguments to 'UTIL_RGB_To_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2782 | out = UTIL_RGB_To_Map(out,tpic,iff_chdr,xosize,yosize,xaTRUE); | ^ xa_iff.c:2724:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2724 | void IFF_HAM6_As_True(out,in,chdr,h_cmap,xosize,yosize,xip,yip,xisize) | ^ xa_iff.c:51: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] 51 | void IFF_HAM6_As_True(); | ^ xa_iff.c:2798:25: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2798 | if (tpic == 0) TheEnd1("IFF_HAM8_As_True: malloc err\n"); | ^ xa_iff.c:2833:39: warning: passing arguments to 'CMAP_Create_CHDR_From_True' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2833 | iff_chdr = CMAP_Create_CHDR_From_True(tpic,8,8,8,xosize,yosize, | ^ xa_iff.c:2836:28: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2836 | iff_chdr = CMAP_Create_332(iff_cmap,&iff_imagec); | ^ xa_iff.c:2838:29: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2838 | iff_chdr = CMAP_Create_Gray(iff_cmap,&iff_imagec); | ^ xa_iff.c:2841:33: warning: passing arguments to 'UTIL_RGB_To_FS_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2841 | out = UTIL_RGB_To_FS_Map(out,tpic,iff_chdr,xosize,yosize,xaTRUE); | ^ xa_iff.c:2843:30: warning: passing arguments to 'UTIL_RGB_To_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2843 | out = UTIL_RGB_To_Map(out,tpic,iff_chdr,xosize,yosize,xaTRUE); | ^ xa_iff.c:2786:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2786 | void IFF_HAM8_As_True(out,in,chdr,h_cmap,xosize,yosize,xip,yip,xisize) | ^ xa_iff.c:52: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] 52 | void IFF_HAM8_As_True(); | ^ xa_iff.c:2849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2849 | IFF_Delta_Body(image,delta,dsize,dec_info) | ^ xa_iff.c:25:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | xaULONG IFF_Delta_Body(); | ^ 222 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_gif.c xa_gif.c:96:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | if (gframe == 0) TheEnd1("GIF_Add_Frame: malloc err"); | ^ xa_gif.c:89:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | GIF_FRAME *GIF_Add_Frame(time,act) | ^ xa_gif.c:33: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] 33 | GIF_FRAME *GIF_Add_Frame(); | ^ xa_gif.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | GIF_Free_Frame_List(gframes) | ^ xa_gif.c:132:24: warning: passing arguments to 'GIF_Read_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | glist = GIF_Read_File(fname,anim_hdr,&frame_cnt); | ^ xa_gif.c:137:15: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | TheEnd1("GIF_Read_Anim: malloc err"); | ^ xa_gif.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | GIF_Read_Anim(fname,anim_hdr) | ^ xa_gif.c:31:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | xaULONG GIF_Read_Anim(); | ^ xa_gif.c:190:14: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | TheEnd1("GIF_Pad_Byteimage: Image limits extended beyond padded rgn\n"); | ^ xa_gif.c:193:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | if (new_data == 0) TheEnd1("GIF_Pad_Byteimage: Image malloc failed\n"); | ^ xa_gif.c:173:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | xaUBYTE *GIF_Pad_Byteimage(data, xoff, yoff, srcw, srch, | ^ xa_gif.c:232:20: warning: passing arguments to 'GIF_Screen_Header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | GIF_Screen_Header(xin,anim_hdr); | ^ xa_gif.c:237:19: 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] 237 | i=xin->Read_U8(xin); | ^ xa_gif.c:238:30: 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] 238 | if ( (i<0) && xin->At_EOF(xin,-1)) | ^ xa_gif.c:240: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] 240 | xin->Close_File(xin); | ^ xa_gif.c:244:37: warning: passing arguments to 'GIF_Read_Extension' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | if (i == '!') GIF_Read_Extension(xin); /* GIF extension */ | ^ xa_gif.c:254:21: warning: passing arguments to 'GIF_Image_Header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | GIF_Image_Header(xin,anim_hdr); | ^ xa_gif.c:257:25: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | act = ACT_Get_Action(anim_hdr,ACT_MAPPED); | ^ xa_gif.c:262:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | if (pic_ptr==0) TheEnd1("GIF_Read_File: failed malloc of image\n"); | ^ xa_gif.c:265:19: warning: passing arguments to 'GIF_Decompress' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | GIF_Decompress(xin,pic_ptr); | ^ xa_gif.c:280:22: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | ACT_Setup_Mapped(act, pic_ptr, gif_chdr_now, | ^ xa_gif.c:298:24: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | ACT_Setup_Mapped( act, pic_ptr, gif_chdr_now, | ^ xa_gif.c:310:24: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | ACT_Setup_Mapped(act, pic_ptr, gif_chdr_now, | ^ xa_gif.c:316:27: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | ACT_Add_CHDR_To_Action(act,gif_chdr_now); | ^ xa_gif.c:324: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] 324 | i=xin->Read_U8(xin); | ^ xa_gif.c:325: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] 325 | if (xin->At_EOF(xin,-1)) exit_flag = 1; | ^ xa_gif.c:327:44: warning: passing arguments to 'GIF_Read_Extension' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | else if (i == '!') GIF_Read_Extension(xin); /* extension */ | ^ xa_gif.c:331:18: 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] 331 | xin->Close_File(xin); | ^ xa_gif.c:209:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | GIF_FRAME *GIF_Read_File(fname,anim_hdr,frame_cnt) | ^ xa_gif.c:32: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] 32 | GIF_FRAME *GIF_Read_File(); | ^ xa_gif.c:351: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] 351 | root_code_size=(xin->Read_U8(xin) & 0xff); | ^ xa_gif.c:355:20: warning: passing arguments to 'GIF_Get_Code' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | code=GIF_Get_Code(xin); | ^ xa_gif.c:360:22: warning: passing arguments to 'GIF_Get_Code' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | code=GIF_Get_Code(xin); | ^ xa_gif.c:363:20: warning: passing arguments to 'GIF_Send_Data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | if (GIF_Send_Data(code,pic) == xaFALSE) return(xaFALSE); | ^ xa_gif.c:365:20: warning: passing arguments to 'GIF_Get_Code' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | code=GIF_Get_Code(xin); | ^ xa_gif.c:371:24: warning: passing arguments to 'GIF_Send_Data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | if (GIF_Send_Data(code,pic)==xaFALSE) return(xaFALSE); | ^ xa_gif.c:373:29: warning: passing arguments to 'GIF_Get_Next_Entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | if (GIF_Get_Next_Entry(xin) == xaFALSE) return(xaFALSE); | ^ xa_gif.c:374:23: warning: passing arguments to 'GIF_Add_To_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | GIF_Add_To_Table(old,code,nextab); /* add old+code to table */ | ^ xa_gif.c:379:23: warning: passing arguments to 'GIF_Add_To_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | GIF_Add_To_Table(old,old,code); /* add old+old to table */ | ^ xa_gif.c:380:24: warning: passing arguments to 'GIF_Send_Data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | if (GIF_Send_Data(code,pic) == xaFALSE) return(xaFALSE); | ^ xa_gif.c:383:22: warning: passing arguments to 'GIF_Get_Code' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | code=GIF_Get_Code(xin); | ^ xa_gif.c:387:24: warning: passing arguments to 'GIF_Get_Code' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | code=GIF_Get_Code(xin); | ^ xa_gif.c:388:24: warning: passing arguments to 'GIF_Send_Data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | if (GIF_Send_Data(code,pic) == xaFALSE) return(xaFALSE); | ^ xa_gif.c:390:24: warning: passing arguments to 'GIF_Get_Code' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | code=GIF_Get_Code(xin); | ^ xa_gif.c:341:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | xaULONG GIF_Decompress(xin,pic) | ^ xa_gif.c:35:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | xaULONG GIF_Decompress(); | ^ xa_gif.c:404: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] 404 | { if ( xin->At_EOF(xin) ) | ^ xa_gif.c:396:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | xaULONG GIF_Get_Next_Entry(xin) | ^ xa_gif.c:36:9: warning: a function declaration without a prototype is 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 | xaULONG GIF_Get_Next_Entry(); | ^ xa_gif.c:426:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | void GIF_Add_To_Table(body,next,index) | ^ xa_gif.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] 37 | void GIF_Add_To_Table(); | ^ xa_gif.c:442:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | xaULONG GIF_Send_Data(index,pic) | ^ xa_gif.c:38:9: warning: a function declaration without a prototype is 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 | xaULONG GIF_Send_Data(); | ^ xa_gif.c:547: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] 547 | tmp = xin->Read_U8(xin); | ^ xa_gif.c:553: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] 553 | tmp = xin->Read_U8(xin); gif_block_size--; | ^ xa_gif.c:536:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | xaULONG GIF_Get_Code(xin) /* get code depending of current LZW code size */ | ^ xa_gif.c:41:9: warning: a function declaration without a prototype is 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 | xaULONG GIF_Get_Code(); | ^ xa_gif.c:601: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] 601 | for(i=0;i<6;i++) xin->Read_U8(xin); /* read and toss GIF87a or GIF89? */ | ^ xa_gif.c:603:63: 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] 603 | gif_screenx = gif_imagex = gifscrn.width = xin->Read_LSB_U16(xin); | ^ xa_gif.c:604:63: 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] 604 | gif_screeny = gif_imagey = gifscrn.height = xin->Read_LSB_U16(xin); | ^ xa_gif.c:606:19: 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] 606 | temp=xin->Read_U8(xin); | ^ xa_gif.c:610: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] 610 | gifscrn.bc = xin->Read_U8(xin); | ^ xa_gif.c:611:19: 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] 611 | temp=xin->Read_U8(xin); | ^ xa_gif.c:637:40: 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] 637 | gif_cmap[i].red = xin->Read_U8(xin); | ^ xa_gif.c:638:40: 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] 638 | gif_cmap[i].green = xin->Read_U8(xin); | ^ xa_gif.c:639:40: 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] 639 | gif_cmap[i].blue = xin->Read_U8(xin); | ^ xa_gif.c:642:33: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | gif_chdr_now = ACT_Get_CMAP(gif_cmap,gif_imagec,0,gif_imagec,0,8,8,8); | ^ xa_gif.c:595:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | void GIF_Screen_Header(xin,anim_hdr) | ^ xa_gif.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 GIF_Screen_Header(); | ^ xa_gif.c:655:37: 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] 655 | gifimage.left = xin->Read_LSB_U16(xin); | ^ xa_gif.c:656:37: 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] 656 | gifimage.top = xin->Read_LSB_U16(xin); | ^ xa_gif.c:657:37: 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] 657 | gifimage.width = xin->Read_LSB_U16(xin); | ^ xa_gif.c:658:37: 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] 658 | gifimage.height = xin->Read_LSB_U16(xin); | ^ xa_gif.c:659: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] 659 | temp = xin->Read_U8(xin); | ^ xa_gif.c:688:39: 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] 688 | gif_cmap[i].red = xin->Read_U8(xin); | ^ xa_gif.c:689:39: 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] 689 | gif_cmap[i].green = xin->Read_U8(xin); | ^ xa_gif.c:690:39: 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] 690 | gif_cmap[i].blue = xin->Read_U8(xin); | ^ xa_gif.c:692:32: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | gif_chdr_now = ACT_Get_CMAP(gif_cmap,gif_imagec,0,gif_imagec,0,8,8,8); | ^ xa_gif.c:649:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | void GIF_Image_Header(xin,anim_hdr) | ^ xa_gif.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 GIF_Image_Header(); | ^ xa_gif.c:703: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] 703 | code = xin->Read_U8(xin); | ^ xa_gif.c:706: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] 706 | block_size = xin->Read_U8(xin); | ^ xa_gif.c:713:33: 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] 713 | gif_anim_type = xin->Read_U8(xin); | ^ xa_gif.c:714: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] 714 | i = xin->Read_LSB_U16(xin); if (i < 0) i = 1; | ^ xa_gif.c:716:33: 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] 716 | gif_anim_mask = xin->Read_U8(xin); | ^ xa_gif.c:717:30: 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] 717 | block_size = xin->Read_U8(xin); | ^ xa_gif.c:726: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] 726 | tmp=xin->Read_U8(xin); | ^ xa_gif.c:730:30: 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] 730 | block_size = xin->Read_U8(xin); | ^ xa_gif.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | GIF_Read_Extension(xin) | ^ xa_gif.c:44: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] 44 | void GIF_Read_Extension(); | ^ 90 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_txt.c xa_txt.c:59:18: 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] 59 | xin->Close_File(xin); /* POD Temporary */ | ^ xa_txt.c:80:34: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | if (txt_frame_lst == 0) TheEnd1("TXT_Read_File: malloc err"); | ^ xa_txt.c:92:31: warning: passing arguments to 'XA_Setup_Input_Methods' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | if (XA_Setup_Input_Methods(anim_hdr->xin, anim_hdr->name) == xaFALSE) | ^ xa_txt.c:95:36: warning: passing arguments to 'XA_Open_And_ID_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | anim_type = XA_Open_And_ID_File(anim_hdr); | ^ xa_txt.c:97: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] 97 | { anim_hdr->xin->Seek_FPos(anim_hdr->xin,0,0); | ^ xa_txt.c:104:17: warning: passing arguments to 'GIF_Read_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | = GIF_Read_File(gif_file_name,anim_hdr,&ret); | ^ xa_txt.c:130:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | if (txt_frames == 0) TheEnd1("TXT_Read_File: frames malloc err"); | ^ xa_txt.c:151:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | if (txt_frames == 0) TheEnd1("TXT_Read_File: no frames malloc err"); | ^ xa_txt.c:166:43: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | if (anim_hdr->frame_lst == NULL) TheEnd1("TXT_ANIM: frame malloc err"); | ^ xa_txt.c:206:24: warning: passing arguments to 'GIF_Free_Frame_List' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | GIF_Free_Frame_List(txt_frame_lst[i].gframes); | ^ xa_txt.c:42:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | xaULONG TXT_Read_File(fname,anim_hdr) | ^ xa_txt.c:22:9: warning: a function declaration without a prototype is 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 | xaULONG TXT_Read_File(); | ^ 12 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c unpacker.c unpacker.c:38:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | xaLONG UnPackRow(pSource, pDest, srcBytes0, dstBytes0) | ^ 1 warning generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_utils.c xa_utils.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | UTIL_Sub_Image(out,in,xosize,yosize,xipos,yipos,xisize,pix_size) | ^ xa_utils.c:29: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] 29 | void UTIL_Sub_Image(); | ^ xa_utils.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | UTIL_Mapped_To_Mapped(out,in,chdr,xipos,yipos,xosize,yosize,xisize,yisize) | ^ xa_utils.c:31: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] 31 | void UTIL_Mapped_To_Mapped(); | ^ xa_utils.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | UTIL_Create_Clip(out,in,pix_mask,xsize,ysize,pix_size,xosize,bit_order) | ^ xa_utils.c:30: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] 30 | void UTIL_Create_Clip(); | ^ xa_utils.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | UTIL_Mapped_To_Bitmap(out,in,chdr,xpos,ypos,xsize,ysize,width,height,line_size) | ^ xa_utils.c:32: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] 32 | void UTIL_Mapped_To_Bitmap(); | ^ xa_utils.c:263:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | xaULONG UTIL_Get_LSB_Long(fp) | ^ xa_utils.c:42:9: warning: a function declaration without a prototype is 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 | xaULONG UTIL_Get_LSB_Long(); | ^ xa_utils.c:277:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | xaULONG UTIL_Get_LSB_Short(fp) | ^ xa_utils.c:43:9: warning: a function declaration without a prototype is 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 | xaULONG UTIL_Get_LSB_Short(); | ^ xa_utils.c:289:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | xaULONG UTIL_Get_MSB_Long(fp) | ^ xa_utils.c:44:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | xaULONG UTIL_Get_MSB_Long(); | ^ xa_utils.c:303:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | xaLONG UTIL_Get_MSB_Short(fp) | ^ xa_utils.c:46:8: warning: a function declaration without a prototype is 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 | xaLONG UTIL_Get_MSB_Short(); | ^ xa_utils.c:318:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | xaULONG UTIL_Get_MSB_UShort(fp) | ^ xa_utils.c:45:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | xaULONG UTIL_Get_MSB_UShort(); | ^ xa_utils.c:353:41: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_utils.c:356:64: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 356 | DEBUG_LEVEL2 fprintf(stderr,"CACHE: clear new_chdr %x\n",(xaULONG)chdr_out); | ^~~~~~~~~~~~~~~~~ xa_utils.c:371:30: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | if (err_buff0 == 0) TheEnd1("UTIL_Mapped_To_Floyd: malloc err"); | ^ xa_utils.c:430:30: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | pix_out = X11_Get_True_Color(r,g,b,8); | ^ xa_utils.c:447:33: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | color_out = CMAP_Find_Closest(cmap_out,csize_out,r,g,b,8,8,8,cflag); | ^ xa_utils.c:331:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | void UTIL_Mapped_To_Floyd(out,in,chdr_out,chdr_in, | ^ xa_utils.c:47: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] 47 | void UTIL_Mapped_To_Floyd(); | ^ xa_utils.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | UTIL_Scale_Pos_Size(xpos,ypos,xsize,ysize,xi_scale,yi_scale, | ^ xa_utils.c:35: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] 35 | void UTIL_Scale_Pos_Size(); | ^ xa_utils.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | UTIL_Scale_Buffer_Pos(xpos,ypos,xi_scale,yi_scale, | ^ xa_utils.c:34: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] 34 | void UTIL_Scale_Buffer_Pos(); | ^ xa_utils.c:565:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | xaULONG UTIL_Get_Buffer_Scale(width,height,buffx_o,buffy_o) | ^ xa_utils.c:33:9: warning: a function declaration without a prototype is 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 | xaULONG UTIL_Get_Buffer_Scale(); | ^ xa_utils.c:636:22: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | if (out==0) TheEnd1("UTIL_Alloc_Scaled: malloc err"); | ^ xa_utils.c:597:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | xaUBYTE *UTIL_Alloc_Scaled(xi_size,yi_size,xi_scale,yi_scale, | ^ xa_utils.c:36:10: warning: a function declaration without a prototype is 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 | xaUBYTE *UTIL_Alloc_Scaled(); | ^ xa_utils.c:686:5: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | XA_REALLOC(xa_scale_buff,xa_scale_buff_size,tsize); | ^ ./xanim.h:917:25: note: expanded from macro 'XA_REALLOC' 917 | if (_tmp == 0) TheEnd1("XA_Realloc: malloc err"); \ | ^ xa_utils.c:696:26: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | if (tmp == 0) TheEnd1("UTIL_Scale_Mapped: row malloc err\n"); | ^ xa_utils.c:644:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | xaUBYTE *UTIL_Scale_Mapped(out,in,xi_pos,yi_pos,xi_size,yi_size, | ^ xa_utils.c:37:10: warning: a function declaration without a prototype is 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 | xaUBYTE *UTIL_Scale_Mapped(); | ^ xa_utils.c:831:5: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | XA_REALLOC(xa_scale_buff,xa_scale_buff_size,tsize); | ^ ./xanim.h:917:25: note: expanded from macro 'XA_REALLOC' 917 | if (_tmp == 0) TheEnd1("XA_Realloc: malloc err"); \ | ^ xa_utils.c:843:26: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | if (tmp == 0) TheEnd1("UTIL_Scale_Mapped: row malloc err\n"); | ^ xa_utils.c:786:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | xaUBYTE *UTIL_Scale_Bitmap(out,in,xi_size,yi_size, | ^ xa_utils.c:38:10: warning: a function declaration without a prototype is 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 | xaUBYTE *UTIL_Scale_Bitmap(); | ^ xa_utils.c:899:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | if (t_pic == 0) TheEnd1("RGB: t_pic malloc err"); | ^ xa_utils.c:902:39: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_utils.c:906:57: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 906 | (xaULONG)chdr); | ^~~~~~~~~~~~~ xa_utils.c:932:34: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | CMAP_Find_Closest(chdr->cmap,csize,r,g,b,8,8,8,xaTRUE); | ^ xa_utils.c:884:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | xaUBYTE *UTIL_RGB_To_Map(out,in,chdr,xsize,ysize,free_in_flag) | ^ xa_utils.c:966:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 966 | if (tpic == 0) TheEnd1("UTIL_RGB_To_FS_Map: malloc err"); | ^ xa_utils.c:969:39: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_utils.c:973:62: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 973 | DEBUG_LEVEL2 fprintf(stderr,"CACHE: clear new_chdr %x\n",(xaULONG)chdr); | ^~~~~~~~~~~~~ xa_utils.c:988:30: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | if (err_buff0 == 0) TheEnd1("UTIL_Mapped_To_Floyd: malloc err"); | ^ xa_utils.c:1035:38: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | color_out = CMAP_Find_Closest(cmap,csize,r,g,b,8,8,8,xaTRUE); | ^ xa_utils.c:947:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | xaUBYTE *UTIL_RGB_To_FS_Map(out,in,chdr,xsize,ysize,free_in_flag) | ^ xa_utils.c:1078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | UTIL_Pack_Image(out,in,xsize,ysize) | ^ xa_utils.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 UTIL_Pack_Image(); | ^ xa_utils.c:1134:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | void UTIL_FPS_2_Time(anim,fps) | ^ xa_utils.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 UTIL_FPS_2_Time(); | ^ xa_utils.c:1151:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | char *XA_index(s,c) | ^ xa_utils.c:1170:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | char *XA_rindex(s,c) | ^ xa_utils.c:1189:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | xaULONG XA_find_str(s,key) | ^ xa_utils.c:1212:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | char *XA_white_out(s) | ^ xa_utils.c:1231:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | void XA_Indent_Print(fout, indent, s, first) | ^ 62 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_act.c xa_act.c:89:24: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | if (act == 0) TheEnd1("ACT_Get_Action: malloc err\n"); | ^ xa_act.c:82:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | XA_ACTION *ACT_Get_Action(anim_hdr,type) | ^ xa_act.c:44: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] 44 | XA_ACTION *ACT_Get_Action(); | ^ xa_act.c:129:40: warning: passing arguments to 'UTIL_Get_Buffer_Scale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | need_to_scale = UTIL_Get_Buffer_Scale(width,height,&buff_x,&buff_y); | ^ xa_act.c:146:32: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | if (act_map_hdr == 0) TheEnd1("ACT_Setup_Mapped: malloc err\n"); | ^ xa_act.c:149:32: warning: passing arguments to 'X11_Get_Line_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | line_size = X11_Get_Line_Size(xsize); | ^ xa_act.c:166:29: warning: passing arguments to 'UTIL_Alloc_Scaled' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | t_pic = UTIL_Alloc_Scaled(xsize,ysize,width,height, | ^ xa_act.c:171:31: warning: passing arguments to 'UTIL_Alloc_Scaled' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | p_pic = UTIL_Alloc_Scaled(xsize,ysize,width,height, | ^ xa_act.c:173:23: warning: passing arguments to 'UTIL_Scale_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | UTIL_Scale_Mapped(p_pic,ipic,xpos,ypos,xsize,ysize, | ^ xa_act.c:178:48: warning: passing arguments to 'X11_Get_Line_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | xsize,ysize,buff_x,buff_y, X11_Get_Line_Size(xsize)); | ^ xa_act.c:177:27: warning: passing arguments to 'UTIL_Mapped_To_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | UTIL_Mapped_To_Bitmap(t_pic,p_pic,chdr, xpos,ypos, | ^ xa_act.c:184:32: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | if (clip_ptr==0) TheEnd1("Setup_Mapped: clip malloc err\n"); | ^ xa_act.c:185:24: warning: passing arguments to 'UTIL_Create_Clip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | UTIL_Create_Clip(clip_ptr,p_pic,clip_mask,xsize,ysize, | ^ xa_act.c:199:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | if (t_pic == 0) TheEnd1("X11_Get_Image: t_pic malloc failed.\n"); | ^ xa_act.c:200:25: warning: passing arguments to 'UTIL_Mapped_To_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | UTIL_Mapped_To_Bitmap(t_pic,ipic,chdr, | ^ xa_act.c:206:30: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | if (clip_ptr==0) TheEnd1("Setup_Mapped: clip malloc err\n"); | ^ xa_act.c:207:22: warning: passing arguments to 'UTIL_Create_Clip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | UTIL_Create_Clip(clip_ptr,ipic,clip_mask,xsize,ysize, | ^ xa_act.c:222:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | if (clip_ptr==0) TheEnd1("Setup_Mapped: clip malloc err\n"); | ^ xa_act.c:223:21: warning: passing arguments to 'UTIL_Create_Clip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | UTIL_Create_Clip(clip_ptr,ipic,clip_mask,xsize,ysize, | ^ xa_act.c:233:29: warning: passing arguments to 'UTIL_Alloc_Scaled' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | t_pic = UTIL_Alloc_Scaled(xsize,ysize,width,height, | ^ xa_act.c:240:45: warning: passing arguments to 'UTIL_Scale_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | xaUBYTE *new_clip = UTIL_Scale_Bitmap(0,clip_ptr, | ^ xa_act.c:251:23: warning: passing arguments to 'UTIL_Scale_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | UTIL_Scale_Mapped(t_pic,ipic,xpos,ypos,xsize,ysize, | ^ xa_act.c:274:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | if (t_pic == 0) TheEnd1("X11_Get_Image: t_pic malloc failed.\n"); | ^ xa_act.c:277:29: warning: passing arguments to 'UTIL_Mapped_To_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | UTIL_Mapped_To_Mapped(t_pic,ipic,chdr, | ^ xa_act.c:282:22: warning: passing arguments to 'UTIL_Sub_Image' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | UTIL_Sub_Image(t_pic,ipic,xsize,ysize,t_xpos,t_ypos, | ^ xa_act.c:299:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | if (clip_ptr==0) TheEnd1("Setup_Mapped: clip malloc err\n"); | ^ xa_act.c:300:21: warning: passing arguments to 'UTIL_Create_Clip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | UTIL_Create_Clip(clip_ptr,ipic,clip_mask,xsize,ysize, | ^ xa_act.c:310:29: warning: passing arguments to 'UTIL_Alloc_Scaled' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | t_pic = UTIL_Alloc_Scaled(xsize,ysize,width,height, | ^ xa_act.c:316:45: warning: passing arguments to 'UTIL_Scale_Bitmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | xaUBYTE *new_clip = UTIL_Scale_Bitmap(0,clip_ptr, | ^ xa_act.c:326:23: warning: passing arguments to 'UTIL_Scale_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | UTIL_Scale_Mapped(t_pic,ipic,xpos,ypos,xsize,ysize, | ^ xa_act.c:346:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | if (t_pic == 0) TheEnd1("Setup_Mapped: malloc err 3\n"); | ^ xa_act.c:347:27: warning: passing arguments to 'UTIL_Sub_Image' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | UTIL_Sub_Image(t_pic,ipic,xsize,ysize,t_xpos,t_ypos, | ^ xa_act.c:364:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | if (clip_ptr==0) TheEnd1("Setup_Mapped: clip malloc err\n"); | ^ xa_act.c:365:21: warning: passing arguments to 'UTIL_Create_Clip' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | UTIL_Create_Clip(clip_ptr,t_pic,clip_mask,xsize,ysize, | ^ xa_act.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | ACT_Setup_Mapped(act,ipic,chdr,xpos,ypos,xsize,ysize,width,height, | ^ xa_act.c:45: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] 45 | void ACT_Setup_Mapped(); | ^ xa_act.c:390:25: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | if (chdr == 0) TheEnd1("ACT_Get_CHDR: malloc err\n"); | ^ xa_act.c:392:51: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 392 | DEBUG_LEVEL2 fprintf(stderr,"ACT_Get_CHDR %x\n",(xaULONG)chdr); | ^~~~~~~~~~~~~ xa_act.c:406:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | if (chdr->cmap == 0) TheEnd1("ACT_Get_CHDR: cmap malloc err\n"); | ^ xa_act.c:417:32: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | if (chdr->map == 0) TheEnd1("ACT_Get_CHDR: map malloc err\n"); | ^ xa_act.c:383:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | XA_CHDR *ACT_Get_CHDR(rev,csize,coff,msize,moff,cmap_flag,map_flag) | ^ xa_act.c:446:9: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | TheEnd1("ACT_Get_CMAP: map not in cmap err\n"); | ^ xa_act.c:480:40: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | chdr->map[i] = X11_Get_True_Color(chdr->cmap[j].red, | ^ xa_act.c:435:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | XA_CHDR *ACT_Get_CMAP(new_map,csize,coff,msize,moff,rbits,gbits,bbits) | ^ xa_act.c:52:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | XA_CHDR *ACT_Get_CMAP(); | ^ xa_act.c:504:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | if (act_cmap_hdr == 0) TheEnd1("ACT_Get_CCMAP: malloc err"); | ^ xa_act.c:491:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | void ACT_Get_CCMAP(act,new_map,csize,coff,rbits,gbits,bbits) | ^ xa_act.c:51: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] 51 | void ACT_Get_CCMAP(); | ^ xa_act.c:553:7: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_ACTION *' (aka 'struct XA_ACTION_STRUCT *') [-Wpointer-to-int-cast] 553 | (xaULONG)act,(xaULONG)chdr); | ^~~~~~~~~~~~ xa_act.c:553:20: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 553 | (xaULONG)act,(xaULONG)chdr); | ^~~~~~~~~~~~~ xa_act.c:540:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | void ACT_Add_CHDR_To_Action(act,chdr) | ^ xa_act.c:49: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] 49 | void ACT_Add_CHDR_To_Action(); | ^ xa_act.c:556:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | void ACT_Del_CHDR_From_Action(act,chdr) | ^ xa_act.c:50: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] 50 | void ACT_Del_CHDR_From_Action(); | ^ xa_act.c:641:4: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'struct XA_CHDR_STRUCT *' [-Wpointer-to-int-cast] 641 | (xaULONG)act->chdr, (xaULONG)new_chdr); | ^~~~~~~~~~~~~~~~~~ xa_act.c:641:24: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 641 | (xaULONG)act->chdr, (xaULONG)new_chdr); | ^~~~~~~~~~~~~~~~~ xa_act.c:652:10: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | TheEnd1("ACT_Make_Images: cmap malloc err"); | ^ xa_act.c:682:4: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'struct XA_CHDR_STRUCT *' [-Wpointer-to-int-cast] 682 | (xaULONG)act->chdr, (xaULONG)act->chdr->new_chdr); | ^~~~~~~~~~~~~~~~~~ xa_act.c:682:24: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'struct XA_CHDR_STRUCT *' [-Wpointer-to-int-cast] 682 | (xaULONG)act->chdr, (xaULONG)act->chdr->new_chdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ xa_act.c:688:28: warning: passing arguments to 'UTIL_Mapped_To_Floyd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | UTIL_Mapped_To_Floyd(act_map_hdr->data,act_map_hdr->data, | ^ xa_act.c:695:29: warning: passing arguments to 'UTIL_Mapped_To_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | UTIL_Mapped_To_Mapped(act_map_hdr->data,act_map_hdr->data, | ^ xa_act.c:709:27: warning: passing arguments to 'UTIL_Mapped_To_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | UTIL_Mapped_To_Mapped(act_map_hdr->data,act_map_hdr->data, | ^ xa_act.c:721:30: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | if (act_im_hdr == 0) TheEnd1("ACT_Make_Images: malloc err 1\n"); | ^ xa_act.c:723:31: warning: passing arguments to 'X11_Get_Line_Size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | line_size = X11_Get_Line_Size(act_map_hdr->xsize); | ^ xa_act.c:729:26: warning: passing arguments to 'UTIL_Pack_Image' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | UTIL_Pack_Image(act_map_hdr->data,act_map_hdr->data, | ^ xa_act.c:740:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | if (image == 0) TheEnd1("ACT_Make_Images: XCreateImage err\n"); | ^ xa_act.c:580:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | void ACT_Make_Images(act) | ^ xa_act.c:48: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] 48 | void ACT_Make_Images(); | ^ xa_act.c:769:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | if (beg_loop == 0) TheEnd1("ACT_Setup_Loop: malloc err0"); | ^ xa_act.c:777:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | if (end_loop == 0) TheEnd1("ACT_Setup_Loop: malloc err1"); | ^ xa_act.c:760:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | void ACT_Setup_Loop(begin_act,end_act,count,begin_frame,end_frame) | ^ xa_act.c:47: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] 47 | void ACT_Setup_Loop(); | ^ xa_act.c:786:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | void ACT_Free_Act(act) | ^ xa_act.c:53: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] 53 | void ACT_Free_Act(); | ^ xa_act.c:879:32: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | if (the_pic == 0) TheEnd1("ACT_Setup_Delta: malloc err."); | ^ xa_act.c:892:49: warning: passing arguments to 'XA_Get_Image_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | dec2_info.image_type = XA_Get_Image_Type( dlta_hdr->special, | ^ xa_act.c:895:36: 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] 895 | dlta_flag = dlta_hdr->delta(the_pic,dlta_hdr->data, | ^ xa_act.c:903:36: 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] 903 | dlta_flag = dlta_hdr->delta(the_pic,dlta_hdr->data, | ^ xa_act.c:926:49: warning: passing arguments to 'XA_Get_Image_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | { dec2_info.image_type = XA_Get_Image_Type( dlta_hdr->special, | ^ xa_act.c:928:36: 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] 928 | dlta_flag = dlta_hdr->delta(the_pic,dlta_hdr->data, | ^ xa_act.c:932:36: 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] 932 | { dlta_flag = dlta_hdr->delta(the_pic,dlta_hdr->data, | ^ xa_act.c:948:47: warning: passing arguments to 'CMAP_Create_CHDR_From_True' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | ) anim->chdr = CMAP_Create_CHDR_From_True(the_pic,8,8,8, | ^ xa_act.c:951:31: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | anim->chdr = CMAP_Create_332(anim->cmap,&(anim->imagec)); | ^ xa_act.c:953:32: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | anim->chdr = CMAP_Create_Gray(anim->cmap,&(anim->imagec)); | ^ xa_act.c:956:29: warning: passing arguments to 'UTIL_RGB_To_FS_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | tpic = UTIL_RGB_To_FS_Map(0,the_pic,anim->chdr, | ^ xa_act.c:958:29: warning: passing arguments to 'UTIL_RGB_To_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | else tpic = UTIL_RGB_To_Map(0,the_pic,anim->chdr, | ^ xa_act.c:980:24: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 980 | if (cbuf == 0) TheEnd1("colorfunc1 malloc err0\n"); | ^ xa_act.c:986:24: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | if (data==0) TheEnd1("colorfunc1 malloc err1\n"); | ^ xa_act.c:987: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] 987 | pos = xin->Get_FPos(xin); | ^ xa_act.c:988:18: 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] 988 | xin->Seek_FPos(xin,dlta_hdr->fpos,0); /* save file pos */ | ^ xa_act.c:989:19: 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] 989 | xin->Read_Block(xin,data,dlta_hdr->fsize); /* read data*/ | ^ xa_act.c:990:18: 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] 990 | xin->Seek_FPos(xin,pos,0); /* restore file pos */ | ^ xa_act.c:994:51: warning: passing arguments to 'XA_Get_Image_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | { dec2_info.image_type = XA_Get_Image_Type(dlta_hdr->special, | ^ xa_act.c:996: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] 996 | dlta_flag = dlta_hdr->delta(cbuf,data,dlta_hdr->fsize,&dec2_info); | ^ xa_act.c:999: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] 999 | dlta_flag = dlta_hdr->delta(cbuf,data,dlta_hdr->fsize,&dec_info); | ^ xa_act.c:1006:45: warning: passing arguments to 'CMAP_Create_CHDR_From_True' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | anim->chdr = CMAP_Create_CHDR_From_True(cbuf,8,8,8, | ^ xa_act.c:847:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | void ACT_Setup_Delta(anim,act,dlta_hdr,xin) | ^ xa_act.c:54: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] 54 | void ACT_Setup_Delta(); | ^ 98 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_set.c xa_set.c:86:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | void SET_Print_CHID(chid) | ^ xa_set.c:97:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | SET_BACK_HDR *SET_Get_BACK(back_num) | ^ xa_set.c:30:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | SET_BACK_HDR *SET_Get_BACK(); | ^ xa_set.c:130:32: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | if (t_pic == 0) SET_TheEnd1("SET a: malloc failed\n"); | ^ xa_set.c:132:25: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | act = ACT_Get_Action(anim_hdr,ACT_MAPPED); | ^ xa_set.c:133:21: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | ACT_Setup_Mapped(act,t_pic,set_chdr,0,0,set_imagex,set_imagey, | ^ xa_set.c:139:28: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | if (tmp == 0) SET_TheEnd1("SET: back malloc fail\n"); | ^ xa_set.c:152:28: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | if (pic == 0) SET_TheEnd1("SET_Add_Black: malloc failed\n"); | ^ xa_set.c:155:23: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | act = ACT_Get_Action(anim_hdr,ACT_MAPPED); | ^ xa_set.c:157:19: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | ACT_Setup_Mapped(act,pic,set_chdr,0,0,set_imagex,set_imagey, | ^ xa_set.c:113:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | SET_BACK_HDR *SET_Add_Black(anim_hdr) | ^ xa_set.c:31:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | SET_BACK_HDR *SET_Add_Black(); | ^ xa_set.c:169:28: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | if (tmp == 0) SET_TheEnd1("SET: back malloc fail\n"); | ^ xa_set.c:187:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | SET_SSET_HDR *SET_Get_SSET(sset_num) | ^ xa_set.c:28:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | SET_SSET_HDR *SET_Get_SSET(); | ^ xa_set.c:208:28: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | if (tmp == 0) SET_TheEnd1("SET: set malloc fail\n"); | ^ xa_set.c:259:33: warning: passing arguments to 'CMAP_Get_Or_Mask' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | set_or_mask = CMAP_Get_Or_Mask(1 << set_imaged); | ^ xa_set.c:263: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] 263 | while( !(xin->At_EOF(xin)) && !exit_flag) | ^ xa_set.c:267: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] 267 | op = xin->Read_U8(xin); | ^ xa_set.c:275:19: 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] 275 | xin->Read_Block(xin,set_buff,256); set_buff[256] = 0; | ^ xa_set.c:277:19: 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] 277 | xin->Read_Block(xin,set_buff1,32); set_buff1[32] = 0; | ^ xa_set.c:281:24: warning: passing arguments to 'SET_Read_BACK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | pic = SET_Read_BACK(xin,tmp_back_hdr); | ^ xa_set.c:284:27: warning: passing arguments to 'SET_Extract_Directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | SET_Extract_Directory(set_buff,set_buff1); | ^ xa_set.c:285:34: warning: passing arguments to 'XA_Setup_Input_Methods' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | (void)XA_Setup_Input_Methods(&xin_new,set_buff); | ^ xa_set.c:286: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] 286 | if (xin_new.Open_File(&xin_new) == xaFALSE) | ^ xa_set.c:288:28: warning: passing arguments to 'SET_Modify_Directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | SET_Modify_Directory(set_buff,0); | ^ xa_set.c:289:36: warning: passing arguments to 'XA_Setup_Input_Methods' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | (void)XA_Setup_Input_Methods(&xin_new,set_buff); | ^ xa_set.c:290: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] 290 | if (xin_new.Open_File(&xin_new) == xaFALSE) | ^ xa_set.c:296:25: warning: passing arguments to 'SET_Read_BACK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | pic = SET_Read_BACK(&xin_new,tmp_back_hdr); | ^ xa_set.c:297: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] 297 | xin_new.Close_File(&xin_new); | ^ xa_set.c:299:29: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | if (pic == 0) SET_TheEnd1("SET read a) failed"); | ^ xa_set.c:305:33: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | if (t_pic == 0) SET_TheEnd1("SET a: malloc failed\n"); | ^ xa_set.c:307:26: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | act = ACT_Get_Action(anim_hdr,ACT_MAPPED); | ^ xa_set.c:308:22: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | ACT_Setup_Mapped(act,t_pic,set_chdr, | ^ xa_set.c:311:35: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | ACT_Add_CHDR_To_Action(act,tmp_back_hdr->chdr); | ^ xa_set.c:314:24: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | act = ACT_Get_Action(anim_hdr,ACT_MAPPED); | ^ xa_set.c:316:20: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | ACT_Setup_Mapped(act,pic,set_chdr, | ^ xa_set.c:319:33: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | ACT_Add_CHDR_To_Action(act,set_chdr); | ^ xa_set.c:326:19: 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] 326 | xin->Read_Block(xin,set_buff,256); /* disk:directory name */ | ^ xa_set.c:329:19: 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] 329 | xin->Read_Block(xin,set_buff1,32); /* file name */ | ^ xa_set.c:332:55: warning: passing arguments to 'SET_Read_SSET' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | if (set_multi_flag == xaFALSE) SET_Read_SSET(anim_hdr,xin,tmp_sset_hdr); | ^ xa_set.c:335:34: warning: passing arguments to 'SET_Extract_Directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | SET_Extract_Directory(set_buff,set_buff1); | ^ xa_set.c:336:34: warning: passing arguments to 'XA_Setup_Input_Methods' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | (void)XA_Setup_Input_Methods(&xin_new,set_buff); | ^ xa_set.c:337: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] 337 | if (xin_new.Open_File(&xin_new) == xaFALSE) | ^ xa_set.c:339:28: warning: passing arguments to 'SET_Modify_Directory' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | SET_Modify_Directory(set_buff,0); | ^ xa_set.c:340:36: warning: passing arguments to 'XA_Setup_Input_Methods' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | (void)XA_Setup_Input_Methods(&xin_new,set_buff); | ^ xa_set.c:341: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] 341 | if (xin_new.Open_File(&xin_new) == xaFALSE) | ^ xa_set.c:347:19: warning: passing arguments to 'SET_Read_SSET' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | SET_Read_SSET(anim_hdr,&xin_new,tmp_sset_hdr); | ^ xa_set.c:348: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] 348 | xin_new.Close_File(&xin_new); | ^ xa_set.c:355:44: 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] 355 | for(i=0; i<8; i++) unk[i] = xin->Read_U8(xin); | ^ xa_set.c:356:37: 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] 356 | cur_fram_num = xin->Read_MSB_U16(xin); | ^ xa_set.c:377:19: 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] 377 | xin->Read_Block(xin,set_buff,32); | ^ xa_set.c:380:40: 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] 380 | set_sset_cur_num = xin->Read_MSB_U16(xin); | ^ xa_set.c:381:37: 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] 381 | set_sset_xoff = xin->Read_MSB_U16(xin); | ^ xa_set.c:382:37: 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] 382 | set_sset_yoff = xin->Read_MSB_U16(xin); | ^ xa_set.c:383: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] 383 | i = xin->Read_MSB_U16(xin); | ^ xa_set.c:384: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] 384 | i = xin->Read_MSB_U16(xin); /* last fram in series */ | ^ xa_set.c:398:32: 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] 398 | face_num = xin->Read_MSB_U16(xin); | ^ xa_set.c:399:32: 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] 399 | xoff = xin->Read_MSB_U16(xin); | ^ xa_set.c:400:32: 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] 400 | yoff = xin->Read_MSB_U16(xin); | ^ xa_set.c:401:32: 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] 401 | depth = xin->Read_MSB_U16(xin); | ^ xa_set.c:402:32: 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] 402 | garb = xin->Read_MSB_U16(xin); | ^ xa_set.c:403:32: 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] 403 | fram_num = xin->Read_MSB_U16(xin); /* not correct */ | ^ xa_set.c:438:20: warning: passing arguments to 'SET_Add_SETTER' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | SET_Add_SETTER(anim_hdr,cur_fram_cnt,back_x,back_y, | ^ xa_set.c:446: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] 446 | back = xin->Read_MSB_U16(xin); | ^ xa_set.c:447:30: 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] 447 | effect = xin->Read_MSB_U16(xin); | ^ xa_set.c:453:16: warning: passing arguments to 'SET_Add_BACK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | SET_Add_BACK(cur_fram_num,set_back_cur->back_act,set_back_cur->chdr); | ^ xa_set.c:460: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] 460 | tmp1 = xin->Read_MSB_U16(xin); if (tmp1 & 0x8000) tmp1 -= 0x10000; | ^ xa_set.c:461: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] 461 | tmp2 = xin->Read_MSB_U16(xin); if (tmp2 & 0x8000) tmp2 -= 0x10000; | ^ xa_set.c:462: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] 462 | tmp3 = xin->Read_MSB_U16(xin); if (tmp3 & 0x8000) tmp3 -= 0x10000; | ^ xa_set.c:463: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] 463 | tmp4 = xin->Read_MSB_U16(xin); if (tmp4 & 0x8000) tmp4 -= 0x10000; | ^ xa_set.c:492: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] 492 | a = xin->Read_MSB_U16(xin); | ^ xa_set.c:493: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] 493 | b = xin->Read_MSB_U16(xin); | ^ xa_set.c:494: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] 494 | c = xin->Read_MSB_U16(xin); | ^ xa_set.c:495: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] 495 | d = xin->Read_MSB_U16(xin); | ^ xa_set.c:496: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] 496 | e = xin->Read_MSB_U16(xin); | ^ xa_set.c:501:30: 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] 501 | set_time = xin->Read_MSB_U16(xin); if (set_time == 0) set_time = 1; | ^ xa_set.c:504:21: warning: passing arguments to 'SET_Add_TIME' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | SET_Add_TIME(cur_fram_num,set_time); | ^ xa_set.c:508: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] 508 | xin->Read_Block(xin,set_buff,256); set_buff[256] = 0; | ^ xa_set.c:510: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] 510 | xin->Read_Block(xin,set_buff1,32); set_buff1[32] = 0; | ^ xa_set.c:512:58: warning: passing arguments to 'SET_Read_Sound_IFF' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | if (set_multi_flag == xaFALSE) SET_Read_Sound_IFF(xin); | ^ xa_set.c:519:35: 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] 519 | i = 40; while(i--) xin->Read_U8(xin); | ^ xa_set.c:525:17: warning: passing arguments to 'IFF_Read_CMAP_1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | IFF_Read_CMAP_1(set_cmap,set_imagec,xin); | ^ xa_set.c:526:16: warning: passing arguments to 'IFF_Shift_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | IFF_Shift_CMAP(set_cmap,set_imagec); | ^ xa_set.c:527:25: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | set_chdr = ACT_Get_CMAP(set_cmap,set_imagec,set_or_mask, | ^ xa_set.c:529:14: warning: passing arguments to 'SET_Add_CHDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | SET_Add_CHDR(set_chdr,cur_fram_num); | ^ xa_set.c:535:35: 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] 535 | i = 26; while(i--) xin->Read_U8(xin); | ^ xa_set.c:539:34: 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] 539 | set_fram_num = xin->Read_MSB_U16(xin)+1; | ^ xa_set.c:540:40: warning: passing arguments to 'SET_Init_FRAM_HDRS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | set_frames = SET_Init_FRAM_HDRS(set_fram_num); | ^ xa_set.c:544: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] 544 | xin->Read_Block(xin,set_buff1,32); set_buff1[32] = 0; | ^ xa_set.c:557: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] 557 | xin->Close_File(xin); | ^ xa_set.c:561: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] 561 | xin->Close_File(xin); | ^ xa_set.c:571:41: warning: passing arguments to 'UTIL_Get_Buffer_Scale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | need_to_scale = UTIL_Get_Buffer_Scale(set_imagex,set_imagey,&buffx,&buffy); | ^ xa_set.c:608:53: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | if (back_act->chdr == 0) ACT_Add_CHDR_To_Action(back_act,set_chdr); | ^ xa_set.c:614:25: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | ACT_Add_CHDR_To_Action(fram_hdr->pms_act,set_chdr); | ^ xa_set.c:631:24: warning: passing arguments to 'UTIL_Scale_Buffer_Pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | UTIL_Scale_Buffer_Pos(&pms_hdr->xpback,&pms_hdr->ypback, | ^ xa_set.c:637:25: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | ACT_Add_CHDR_To_Action(pms_hdr->face,set_chdr); | ^ xa_set.c:639:24: warning: passing arguments to 'UTIL_Scale_Buffer_Pos' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | UTIL_Scale_Buffer_Pos(&pms_hdr->xpface,&pms_hdr->ypface, | ^ xa_set.c:655:15: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | TheEnd1("SET_ANIM: frame_lst malloc err"); | ^ xa_set.c:223:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | xaULONG SET_Read_File(fname,anim_hdr) | ^ xa_set.c:23:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | xaULONG SET_Read_File(); | ^ xa_set.c:704: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] 704 | chid = xin->Read_MSB_U32(xin); | ^ xa_set.c:709:32: 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] 709 | form_size = xin->Read_MSB_U32(xin); | ^ xa_set.c:711: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] 711 | data = xin->Read_MSB_U32(xin); form_size -= 4; | ^ xa_set.c:713:36: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | if (chid != IFF_FORM) SET_TheEnd1("SET: back is not FORM\n"); | ^ xa_set.c:716: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] 716 | chid = xin->Read_MSB_U32(xin); form_size -= 4; | ^ xa_set.c:717: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] 717 | size = xin->Read_MSB_U32(xin); form_size -= 4; | ^ xa_set.c:722:30: warning: passing arguments to 'IFF_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | DEBUG_LEVEL2 IFF_Print_ID(stderr,chid); | ^ xa_set.c:727:15: warning: passing arguments to 'IFF_Read_BMHD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | IFF_Read_BMHD(xin,&bmhd); | ^ xa_set.c:743:17: warning: passing arguments to 'IFF_Read_CMAP_0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | IFF_Read_CMAP_0(set_cmap,set_imagec,xin); | ^ xa_set.c:744:16: warning: passing arguments to 'IFF_Shift_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | IFF_Shift_CMAP(set_cmap,set_imagec); | ^ xa_set.c:745:25: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | set_chdr = ACT_Get_CMAP(set_cmap,set_imagec,set_or_mask, | ^ xa_set.c:755:42: 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] 755 | while( (size--) && !xin->At_EOF(xin) ) d = xin->Read_U8(xin); | ^ xa_set.c:755:66: 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] 755 | while( (size--) && !xin->At_EOF(xin) ) d = xin->Read_U8(xin); | ^ xa_set.c:764:29: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | if (pic == 0) SET_TheEnd1("SET_Read_BODY: malloc failed\n"); | ^ xa_set.c:765:17: warning: passing arguments to 'IFF_Read_BODY' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | IFF_Read_BODY(xin,pic,size, xsize, ysize, (xaULONG)(bmhd.depth), | ^ xa_set.c:771:35: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | SET_Print_CHID(chid); SET_TheEnd1("\nUnknown in Back chunk\n"); | ^ xa_set.c:695:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | xaUBYTE *SET_Read_BACK(xin,back_hdr) | ^ xa_set.c:25:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | xaUBYTE *SET_Read_BACK(); | ^ xa_set.c:787: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] 787 | chid = xin->Read_MSB_U32(xin); | ^ xa_set.c:788: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] 788 | list_num = xin->Read_MSB_U32(xin) + 1; | ^ xa_set.c:789: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] 789 | data = xin->Read_MSB_U32(xin); | ^ xa_set.c:799:36: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | if (chid != IFF_LIST) SET_TheEnd1("SET: LIST not 1st in SSET\n"); | ^ xa_set.c:802:39: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | if (set_hdr->faces == 0) SET_TheEnd1("SET: faces malloc failed\n"); | ^ xa_set.c:805: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] 805 | chid = xin->Read_MSB_U32(xin); /* PROP */ | ^ xa_set.c:808:36: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | if (chid != IFF_PROP) SET_TheEnd1("SET: 1st not PROP in SET\n"); | ^ xa_set.c:809: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] 809 | data = xin->Read_MSB_U32(xin); /* prop size */ | ^ xa_set.c:810: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] 810 | type = xin->Read_MSB_U32(xin); /* prop type */ | ^ xa_set.c:815: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] 815 | chid = xin->Read_MSB_U32(xin); /* CMAP */ | ^ xa_set.c:817:36: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | if (chid != IFF_CMAP) SET_TheEnd1("SET: 2st not CMAP in SET\n"); | ^ xa_set.c:818:33: 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] 818 | set_imagec = xin->Read_MSB_U32(xin); /* CMAP size */ | ^ xa_set.c:821:18: warning: passing arguments to 'IFF_Read_CMAP_1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | IFF_Read_CMAP_1(set_cmap,set_imagec,xin); | ^ xa_set.c:822:17: warning: passing arguments to 'IFF_Shift_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | IFF_Shift_CMAP(set_cmap,set_imagec); | ^ xa_set.c:823:26: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | set_chdr = ACT_Get_CMAP(set_cmap,set_imagec,set_or_mask, | ^ xa_set.c:833:24: warning: passing arguments to 'SET_Read_FACE' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | pic = SET_Read_FACE(xin,face); | ^ xa_set.c:834:28: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | if (pic==0) SET_TheEnd1("SET_Read_SSET: read face failed\n"); | ^ xa_set.c:836:25: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | act = ACT_Get_Action(anim_hdr,ACT_MAPPED); | ^ xa_set.c:837:21: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | ACT_Setup_Mapped(act,pic,set_chdr, | ^ xa_set.c:840:27: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | ACT_Add_CHDR_To_Action(act,set_chdr); | ^ xa_set.c:779:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | void SET_Read_SSET(anim_hdr,xin,set_hdr) | ^ xa_set.c:36: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] 36 | void SET_Read_SSET(); | ^ xa_set.c:857: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] 857 | chid = xin->Read_MSB_U32(xin); | ^ xa_set.c:858:32: 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] 858 | form_size = xin->Read_MSB_U32(xin); | ^ xa_set.c:859: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] 859 | data = xin->Read_MSB_U32(xin); form_size -= 4; | ^ xa_set.c:864:36: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | if (chid != IFF_FORM) SET_TheEnd1("SET: face is not FORM\n"); | ^ xa_set.c:867: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] 867 | chid = xin->Read_MSB_U32(xin); form_size -= 4; | ^ xa_set.c:868: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] 868 | size = xin->Read_MSB_U32(xin); form_size -= 4; | ^ xa_set.c:877:37: 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] 877 | face_hdr->xsize = xin->Read_MSB_U16(xin); | ^ xa_set.c:878:37: 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] 878 | face_hdr->ysize = xin->Read_MSB_U16(xin); | ^ xa_set.c:879:37: 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] 879 | face_hdr->x = xin->Read_MSB_U16(xin); | ^ xa_set.c:880:37: 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] 880 | face_hdr->y = xin->Read_MSB_U16(xin); | ^ xa_set.c:881:37: 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] 881 | face_hdr->xoff = xin->Read_MSB_U16(xin); | ^ xa_set.c:882:37: 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] 882 | face_hdr->yoff = xin->Read_MSB_U16(xin); | ^ xa_set.c:895:29: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | if (pic == 0) SET_TheEnd1("SET_Read_BODY: malloc failed\n"); | ^ xa_set.c:900:17: warning: passing arguments to 'IFF_Read_BODY' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | IFF_Read_BODY(xin,pic,size, | ^ xa_set.c:907:13: warning: passing arguments to 'SET_TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | SET_TheEnd1("\nUnknown in Back chunk\n"); | ^ xa_set.c:846:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | xaUBYTE *SET_Read_FACE(xin,face_hdr) | ^ xa_set.c:26:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | xaUBYTE *SET_Read_FACE(); | ^ xa_set.c:942:10: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | TheEnd1(mess); | ^ xa_set.c:938:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 938 | void SET_TheEnd1(mess) | ^ xa_set.c:33: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] 33 | void SET_TheEnd1(); | ^ xa_set.c:957: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] 957 | chid = xin->Read_MSB_U32(xin); | ^ xa_set.c:958:32: 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] 958 | form_size = xin->Read_MSB_U32(xin); | ^ xa_set.c:960: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] 960 | data = xin->Read_MSB_U32(xin); form_size -= 4; | ^ xa_set.c:966: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] 966 | chid = xin->Read_MSB_U32(xin); form_size -= 4; | ^ xa_set.c:967: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] 967 | size = xin->Read_MSB_U32(xin); form_size -= 4; | ^ xa_set.c:979:33: 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] 979 | while( (size--) && !xin->At_EOF(xin) ) d = xin->Read_U8(xin); | ^ xa_set.c:979:57: 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] 979 | while( (size--) && !xin->At_EOF(xin) ) d = xin->Read_U8(xin); | ^ xa_set.c:951:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | void SET_Read_Sound_IFF(xin) | ^ xa_set.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 SET_Read_Sound_IFF(); | ^ xa_set.c:989:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | SET_FRAM_HDR *SET_Init_FRAM_HDRS(num) | ^ xa_set.c:24:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | SET_FRAM_HDR *SET_Init_FRAM_HDRS(); | ^ xa_set.c:1011:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | void SET_Add_CHDR(chdr,fram_num) | ^ xa_set.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 SET_Add_CHDR(); | ^ xa_set.c:1030:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | void SET_Add_BACK(fram_num,back_act,chdr) | ^ xa_set.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 SET_Add_BACK(); | ^ xa_set.c:1052:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | void SET_Add_TIME(fram_num,fram_time) | ^ xa_set.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 SET_Add_TIME(); | ^ xa_set.c:1091:23: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | act = ACT_Get_Action(anim_hdr,ACT_SETTER); | ^ xa_set.c:1069:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | void SET_Add_SETTER(anim_hdr,fram_num,xpback,ypback, | ^ xa_set.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] 37 | void SET_Add_SETTER(); | ^ xa_set.c:1151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | void SET_Extract_Directory(dname,cname) | ^ xa_set.c:34: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] 34 | void SET_Extract_Directory(); | ^ xa_set.c:1178:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | void SET_Modify_Directory(dname,flag) | ^ xa_set.c:35: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] 35 | void SET_Modify_Directory(); | ^ 185 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_cmap.c xa_cmap.c:102:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | int ColorComp(c1,c2) | ^ xa_cmap.c:64: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] 64 | int ColorComp(); | ^ xa_cmap.c:118:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | xaULONG CMAP_Find_Closest(t_cmap,csize,r,g,b,rbits,gbits,bbits,color_flag) | ^ xa_cmap.c:66:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | xaULONG CMAP_Find_Closest(); | ^ xa_cmap.c:192:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | xaLONG CMAP_Find_Exact(cmap,coff,csize,r,g,b,gray) | ^ xa_cmap.c:67:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | xaLONG CMAP_Find_Exact(); | ^ xa_cmap.c:221:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | xaLONG CMAP_CHDR_Match(chdr1,chdr2) | ^ xa_cmap.c:68:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | xaLONG CMAP_CHDR_Match(); | ^ xa_cmap.c:245:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | int CMAP_CList_Compare(pc1,pc2) | ^ xa_cmap.c:65: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] 65 | int CMAP_CList_Compare(); | ^ xa_cmap.c:257:40: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | if ( (bits==0) || (bits>=9) ) TheEnd1("CMAP_BitMask_CList: bad bits"); | ^ xa_cmap.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | CMAP_BitMask_CList(clist,cnum,bits) | ^ xa_cmap.c:273:55: warning: passing arguments to 'CMAP_CList_CombSort' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | if (cmap_use_combsort == xaTRUE) CMAP_CList_CombSort(clist,cnum); | ^ xa_cmap.c:264:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | xaULONG CMAP_Compress_CList(clist,cnum) | ^ xa_cmap.c:292:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | xaULONG CMAP_Color_Count(chdr,max_csize) | ^ xa_cmap.c:318:25: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | if (clst == 0) TheEnd1("CMAP_Make_Clist: malloc err\n"); | ^ xa_cmap.c:331:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | if (hist == 0) TheEnd1("CMAP_Manipulate_CHDRS: hist malloc err\n"); | ^ xa_cmap.c:333:26: warning: passing arguments to 'CMAP_Histogram_CHDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | CMAP_Histogram_CHDR(chdr,hist,csize,chdr->moff); | ^ xa_cmap.c:308:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | xaULONG CMAP_Make_Clist(chdr,clist) | ^ xa_cmap.c:390:26: warning: passing arguments to 'ACT_Get_CHDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | new_chdr = ACT_Get_CHDR(1,wanted_csize,0,wanted_csize,0,xaTRUE,xaTRUE); | ^ xa_cmap.c:393:35: warning: passing arguments to 'CMAP_Median_Cut' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | actual_csize = CMAP_Median_Cut(new_chdr->cmap, | ^ xa_cmap.c:399:25: warning: passing arguments to 'CMAP_CMAP_From_Clist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | CMAP_CMAP_From_Clist(new_chdr->cmap,clist,clist_len); | ^ xa_cmap.c:409:51: warning: passing arguments to 'X11_Make_Nice_CHDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | if (cmap_play_nice == xaTRUE) X11_Make_Nice_CHDR(new_chdr); | ^ xa_cmap.c:410:19: warning: passing arguments to 'CMAP_Remap_CHDRs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | CMAP_Remap_CHDRs(new_chdr); | ^ xa_cmap.c:444:26: warning: passing arguments to 'ACT_Get_CHDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | new_chdr = ACT_Get_CHDR(1,wanted_csize,0,wanted_csize,0,xaTRUE,xaTRUE); | ^ xa_cmap.c:447:35: warning: passing arguments to 'CMAP_Median_Cut' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | actual_csize = CMAP_Median_Cut(new_chdr->cmap, | ^ xa_cmap.c:453:25: warning: passing arguments to 'CMAP_CMAP_From_Clist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | CMAP_CMAP_From_Clist(new_chdr->cmap,clist,clist_len); | ^ xa_cmap.c:463:19: warning: passing arguments to 'CMAP_Remap_CHDRs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | CMAP_Remap_CHDRs(new_chdr); | ^ xa_cmap.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | CMAP_Shrink_CHDR(old_chdr,new_csize) | ^ xa_cmap.c:80: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] 80 | void CMAP_Shrink_CHDR(); | ^ xa_cmap.c:477:30: warning: passing arguments to 'ACT_Get_CHDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | fixed_chdr = ACT_Get_CHDR(1,x11_cmap_size,0,x11_cmap_size,0,xaTRUE,xaTRUE); | ^ xa_cmap.c:478:21: warning: passing arguments to 'X11_Get_Colormap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | X11_Get_Colormap(fixed_chdr); | ^ xa_cmap.c:480:21: warning: passing arguments to 'CMAP_Remap_CHDRs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | CMAP_Remap_CHDRs(fixed_chdr); | ^ xa_cmap.c:491:21: warning: passing arguments to 'CMAP_Remap_CHDRs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | CMAP_Remap_CHDRs(xa_chdr_start); | ^ xa_cmap.c:537:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | if (tmp_map == 0) TheEnd1("CMAP_Remap_CHDR: map malloc err\n"); | ^ xa_cmap.c:546:38: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | tmp_map[i] = X11_Get_True_Color( | ^ xa_cmap.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | CMAP_Remap_CHDR(new_chdr,old_chdr) | ^ xa_cmap.c:70: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] 70 | void CMAP_Remap_CHDR(); | ^ xa_cmap.c:567:58: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 567 | DEBUG_LEVEL2 fprintf(stderr,"CMAP_Remap_CHDRs to %x\n",(xaULONG)the_chdr); | ^~~~~~~~~~~~~~~~~ xa_cmap.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | CMAP_Remap_CHDRs(the_chdr) | ^ xa_cmap.c:69: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] 69 | void CMAP_Remap_CHDRs(); | ^ xa_cmap.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | CMAP_CMAP_From_Clist(cmap_out,clist,clist_len) | ^ xa_cmap.c:74: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] 74 | void CMAP_CMAP_From_Clist(); | ^ xa_cmap.c:602:24: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | if (tmp == 0) TheEnd1("CMAP_Get_Box: malloc err\n"); | ^ xa_cmap.c:619:19: warning: passing arguments to 'CMAP_Compact_Box' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | CMAP_Compact_Box(start_box); | ^ xa_cmap.c:632:26: warning: passing arguments to 'CMAP_Split_Box' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | if ( CMAP_Split_Box(box) == xaTRUE ) | ^ xa_cmap.c:648:26: warning: passing arguments to 'CMAP_Find_Box_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | CMAP_Find_Box_Color(&cmap_out[i],box); | ^ xa_cmap.c:606:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | xaLONG CMAP_Median_Cut(cmap_out,clist,clist_len,wanted_clen) | ^ xa_cmap.c:84:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | xaLONG CMAP_Median_Cut(); | ^ xa_cmap.c:666:53: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'CMAP_Box *' (aka 'struct CMAP_Box_Struct *') [-Wpointer-to-int-cast] 666 | DEBUG_LEVEL3 fprintf(stderr,"Compacting Box %x\n",(xaULONG)box); | ^~~~~~~~~~~~ xa_cmap.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | CMAP_Compact_Box(box) | ^ xa_cmap.c:71: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] 71 | void CMAP_Compact_Box(); | ^ xa_cmap.c:688:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | int CMAP_Median_Compare_Red(pc1,pc2) | ^ xa_cmap.c:87: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] 87 | int CMAP_Median_Compare_Red(); | ^ xa_cmap.c:695:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | int CMAP_Median_Compare_Green(pc1,pc2) | ^ xa_cmap.c:88: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] 88 | int CMAP_Median_Compare_Green(); | ^ xa_cmap.c:702:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | int CMAP_Median_Compare_Blue(pc1,pc2) | ^ xa_cmap.c:89: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] 89 | int CMAP_Median_Compare_Blue(); | ^ xa_cmap.c:732:26: warning: passing arguments to 'CMAP_CList_CombSort_Red' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | CMAP_CList_CombSort_Red(box->clist,box->clist_len); break; | ^ xa_cmap.c:734:28: warning: passing arguments to 'CMAP_CList_CombSort_Green' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | CMAP_CList_CombSort_Green(box->clist,box->clist_len); break; | ^ xa_cmap.c:736:27: warning: passing arguments to 'CMAP_CList_CombSort_Blue' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | CMAP_CList_CombSort_Blue(box->clist,box->clist_len); break; | ^ xa_cmap.c:711:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 711 | xaLONG CMAP_Split_Box(box) | ^ xa_cmap.c:90:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | xaLONG CMAP_Split_Box(); | ^ xa_cmap.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | CMAP_Find_Box_Color(creg,box) | ^ xa_cmap.c:86: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] 86 | void CMAP_Find_Box_Color(); | ^ xa_cmap.c:809:52: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_CHDR *' (aka 'struct XA_CHDR_STRUCT *') [-Wpointer-to-int-cast] 809 | DEBUG_LEVEL2 fprintf(stderr,"Histogram for %x\n",(xaULONG)chdr); | ^~~~~~~~~~~~~ xa_cmap.c:822:61: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_ACTION *' (aka 'struct XA_ACTION_STRUCT *') [-Wpointer-to-int-cast] 822 | DEBUG_LEVEL2 fprintf(stderr," hist'ing act %x\n",(xaULONG)act); | ^~~~~~~~~~~~ xa_cmap.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | CMAP_Histogram_CHDR(chdr,hist,csize,moff) | ^ xa_cmap.c:73: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] 73 | void CMAP_Histogram_CHDR(); | ^ xa_cmap.c:902:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | if (cmap_cache == 0) TheEnd1("CMAP_CACHE: malloc err"); | ^ xa_cmap.c:907:34: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | if (cmap_cache2 == 0) TheEnd1("CMAP_CACHE: malloc err2"); | ^ xa_cmap.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | CMAP_Cache_Init(flag) | ^ xa_cmap.c:926:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | xaULONG CMAP_Get_Or_Mask(cmap_size) | ^ xa_cmap.c:1040:33: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | cmap_332_chdr = ACT_Get_CMAP(cmap,size,0,size,0,16,16,16); | ^ xa_cmap.c:970:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | XA_CHDR *CMAP_Create_332(cmap,csize) | ^ xa_cmap.c:1088:34: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | cmap_gray_chdr = ACT_Get_CMAP(cmap,size,0,size,0,16,16,16); | ^ xa_cmap.c:1059:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | XA_CHDR *CMAP_Create_Gray(cmap,csize) | ^ xa_cmap.c:1121:10: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | TheEnd1("CMAP_Create_CHDR_From_True: bits > 24 err"); | ^ xa_cmap.c:1125:26: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1125 | if (clist == 0) TheEnd1("CMAP_Create_CHDR_From_True: malloc err"); | ^ xa_cmap.c:1150:26: warning: passing arguments to 'ACT_Get_CHDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | new_chdr = ACT_Get_CHDR(1,wanted_csize,0,wanted_csize,0,xaTRUE,xaTRUE); | ^ xa_cmap.c:1105:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | XA_CHDR *CMAP_Create_CHDR_From_True(ipic,rbits,gbits,bbits, | ^ xa_cmap.c:94:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | XA_CHDR *CMAP_Create_CHDR_From_True(); | ^ xa_cmap.c:1173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | void CMAP_CList_CombSort(clist,cnum) | ^ xa_cmap.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 CMAP_CList_CombSort(); | ^ xa_cmap.c:1191:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | void CMAP_CList_CombSort_Red(clist,cnum) | ^ xa_cmap.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 CMAP_CList_CombSort_Red(); | ^ xa_cmap.c:1210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | void CMAP_CList_CombSort_Green(clist,cnum) | ^ xa_cmap.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 CMAP_CList_CombSort_Green(); | ^ xa_cmap.c:1229:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | void CMAP_CList_CombSort_Blue(clist,cnum) | ^ xa_cmap.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 CMAP_CList_CombSort_Blue(); | ^ xa_cmap.c:1248:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1248 | xaULONG CMAP_Gamma_Adjust(gamma_adj,disp_gamma,anim_gamma) | ^ xa_cmap.c:79:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | xaULONG CMAP_Gamma_Adjust(); | ^ xa_cmap.c:1344:28: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | chdr_422 = ACT_Get_CMAP(cmap,size,0,size,0,16,16,16); | ^ xa_cmap.c:1285:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1285 | XA_CHDR *CMAP_Create_422(cmap,csize) | ^ 94 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_rle.c xa_rle.c:61:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | if (rframe == 0) TheEnd1("RLE_Add_Frame: malloc err"); | ^ xa_rle.c:54:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | RLE_FRAME *RLE_Add_Frame(time,act) | ^ xa_rle.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | RLE_Free_Frame_List(rframes) | ^ xa_rle.c:107:20: warning: passing arguments to 'RLE_Get_Image' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | if (RLE_Get_Image(fname,anim_hdr)==xaFALSE) return(xaFALSE); | ^ xa_rle.c:112:15: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | TheEnd1("RLE_Read_Anim: malloc err"); | ^ xa_rle.c:89:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | xaULONG RLE_Read_File(fname,anim_hdr) | ^ xa_rle.c:20:9: warning: a function declaration without a prototype is 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 | xaULONG RLE_Read_File(); | ^ xa_rle.c:152:38: 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] 152 | rle_hdr->magic = xin->Read_LSB_U16(xin); | ^ xa_rle.c:155:37: 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] 155 | rle_hdr->xpos = xin->Read_LSB_U16(xin); | ^ xa_rle.c:156:37: 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] 156 | rle_hdr->ypos = xin->Read_LSB_U16(xin); | ^ xa_rle.c:157:37: 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] 157 | rle_hdr->xsize = xin->Read_LSB_U16(xin); | ^ xa_rle.c:158:37: 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] 158 | rle_hdr->ysize = xin->Read_LSB_U16(xin); | ^ xa_rle.c:160:45: 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] 160 | rle_hdr->flags = (xaULONG)xin->Read_U8(xin) & 0xff; | ^ xa_rle.c:161:45: 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] 161 | rle_hdr->chan_num = (xaULONG)xin->Read_U8(xin) & 0xff; | ^ xa_rle.c:162:45: 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] 162 | rle_hdr->pbits = (xaULONG)xin->Read_U8(xin) & 0xff; | ^ xa_rle.c:163:45: 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] 163 | rle_hdr->cmap_num = (xaULONG)xin->Read_U8(xin) & 0xff; | ^ xa_rle.c:164:36: 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] 164 | rle_hdr->cbits = xin->Read_U8(xin) & 0xff; | ^ xa_rle.c:165:34: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | if (rle_hdr->cbits > 8) TheEnd1("RLE_Read_Header: csize > 256\n"); | ^ xa_rle.c:185:44: 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] 185 | if (i < 3) bg_color[i] = xin->Read_U8(xin) & 0xff; | ^ xa_rle.c:186:30: 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] 186 | else (void)xin->Read_U8(xin); | ^ xa_rle.c:192: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] 192 | (void)xin->Read_U8(xin); | ^ xa_rle.c:203:30: 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] 203 | d = xin->Read_LSB_U16(xin); | ^ xa_rle.c:232: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] 232 | len = xin->Read_LSB_U16(xin); | ^ xa_rle.c:235: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] 235 | d = xin->Read_U8(xin) & 0xff; | ^ xa_rle.c:238:33: 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] 238 | if (len & 0x01) xin->Read_U8(xin); /* pad */ | ^ xa_rle.c:242: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] 242 | if ( !xin->At_EOF(xin,-1) ) | ^ xa_rle.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | RLE_Read_Header(xin,rle_hdr) | ^ xa_rle.c:21:9: warning: a function declaration without a prototype is 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 | xaULONG RLE_Read_Header(); | ^ xa_rle.c:280:14: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | TheEnd1("RLE_Get_Image: only 1 and 3 channels supported"); | ^ xa_rle.c:286:29: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | rle_chdr = CMAP_Create_332(rle_cmap,&rle_imagec); | ^ xa_rle.c:287:34: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | else rle_chdr = CMAP_Create_Gray(rle_cmap,&rle_imagec); | ^ xa_rle.c:301:36: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | if (rle_row_buf == 0) TheEnd1("RLE rowbuf malloc err"); | ^ xa_rle.c:308:30: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | if (rle_pic == 0) TheEnd1("RLE_Get_Image: malloc err\n"); | ^ xa_rle.c:313:19: warning: passing arguments to 'RLE_Read_Row' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | RLE_Read_Row(xin,&rle_hdr); | ^ xa_rle.c:349:24: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | X11_Get_True_Color((xaULONG)(*p0++),(xaULONG)(*p1++),(xaULONG)(*p2++),8); | ^ xa_rle.c:355:24: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | X11_Get_True_Color((xaULONG)(*p0++),(xaULONG)(*p1++),(xaULONG)(*p2++),8); | ^ xa_rle.c:361:24: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | X11_Get_True_Color((xaULONG)(*p0++),(xaULONG)(*p1++),(xaULONG)(*p2++),8); | ^ xa_rle.c:401:25: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | act = ACT_Get_Action(anim_hdr,ACT_MAPPED); | ^ xa_rle.c:412:30: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | rle_chdr = ACT_Get_CMAP(rle_cmap,rle_imagec,0,rle_imagec,0,8,8,8); | ^ xa_rle.c:420:50: warning: passing arguments to 'CMAP_Create_CHDR_From_True' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | ) rle_chdr = CMAP_Create_CHDR_From_True(rle_pic,8,8,8, | ^ xa_rle.c:423:30: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | rle_chdr = CMAP_Create_332(rle_cmap,&rle_imagec); | ^ xa_rle.c:425:31: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | rle_chdr = CMAP_Create_Gray(rle_cmap,&rle_imagec); | ^ xa_rle.c:428:34: warning: passing arguments to 'UTIL_RGB_To_FS_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | tpic = UTIL_RGB_To_FS_Map(0,rle_pic,rle_chdr, | ^ xa_rle.c:431:31: warning: passing arguments to 'UTIL_RGB_To_Map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | tpic = UTIL_RGB_To_Map(0,rle_pic,rle_chdr,rle_imagex,rle_imagey,xaTRUE); | ^ xa_rle.c:438:9: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | TheEnd1("RLE_Read_File: 332/gray error"); | ^ xa_rle.c:443:23: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | ACT_Setup_Mapped(act,rle_pic, 0, | ^ xa_rle.c:449:23: warning: passing arguments to 'ACT_Setup_Mapped' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | ACT_Setup_Mapped(act,rle_pic, rle_chdr, | ^ xa_rle.c:452:29: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | ACT_Add_CHDR_To_Action(act,rle_chdr); | ^ xa_rle.c:458:18: 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] 458 | xin->Close_File(xin); | ^ xa_rle.c:265:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | xaULONG RLE_Get_Image(filename,anim_hdr) | ^ xa_rle.c:22:9: warning: a function declaration without a prototype is 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 | xaULONG RLE_Get_Image(); | ^ xa_rle.c:491: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] 491 | opcode = xin->Read_U8(xin) & 0xff; | ^ xa_rle.c:492: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] 492 | opdata = xin->Read_U8(xin) & 0xff; | ^ xa_rle.c:496:60: 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] 496 | if (RLE_LONGP(opcode)) priv_vert_skip = xin->Read_LSB_U16(xin); | ^ xa_rle.c:506:51: 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] 506 | if (RLE_LONGP(opcode)) posx += xin->Read_LSB_U16(xin); | ^ xa_rle.c:511:52: 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] 511 | if (RLE_LONGP(opcode)) opdata = xin->Read_LSB_U16(xin); | ^ xa_rle.c:514:55: 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] 514 | while(i--) {rle_rows[channel][posx] = xin->Read_U8(xin); posx++;} | ^ xa_rle.c:515:54: 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] 515 | else { posx += opdata; while(i--) (void)xin->Read_U8(xin); } | ^ xa_rle.c:516:39: 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] 516 | if (opdata & 0x01) (void)xin->Read_U8(xin); /* pad to xaSHORT */ | ^ xa_rle.c:520:52: 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] 520 | if (RLE_LONGP(opcode)) opdata = xin->Read_LSB_U16(xin); | ^ xa_rle.c:522: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] 522 | data = xin->Read_U8(xin) & 0xff; (void)xin->Read_U8(xin); | ^ xa_rle.c:522:54: 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] 522 | data = xin->Read_U8(xin) & 0xff; (void)xin->Read_U8(xin); | ^ xa_rle.c:463:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | void RLE_Read_Row(xin,rle_hdr) | ^ xa_rle.c:23: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] 23 | void RLE_Read_Row(); | ^ 64 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_wav.c xa_wav.c:74:15: 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] 74 | xin->Set_EOF(xin,9); | ^ xa_wav.c:75: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] 75 | while( !xin->At_EOF(xin,8) ) | ^ xa_wav.c:79:32: 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] 79 | ck_id = xin->Read_MSB_U32(xin); | ^ xa_wav.c:80:32: 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] 80 | ck_size = xin->Read_LSB_U32(xin); | ^ xa_wav.c:86:15: warning: passing arguments to 'AVI_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | AVI_Print_ID(stdout,ck_id); | ^ xa_wav.c:92:14: 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] 92 | xin->Set_EOF(xin,(ck_size + 8)); | ^ xa_wav.c:93: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] 93 | d = xin->Read_MSB_U32(xin); | ^ xa_wav.c:98:16: warning: passing arguments to 'AVI_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | AVI_Print_ID(stdout,d); | ^ xa_wav.c:106:41: 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] 106 | auds_hdr.format = xin->Read_LSB_U16(xin); | ^ xa_wav.c:107:43: 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] 107 | auds_hdr.channels = xin->Read_LSB_U16(xin); | ^ xa_wav.c:108:39: 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] 108 | auds_hdr.rate = xin->Read_LSB_U32(xin); | ^ xa_wav.c:109:41: 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] 109 | auds_hdr.av_bps = xin->Read_LSB_U32(xin); | ^ xa_wav.c:110:45: 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] 110 | auds_hdr.blockalign = xin->Read_LSB_U16(xin); | ^ xa_wav.c:114:41: 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] 114 | { auds_hdr.size = xin->Read_LSB_U16(xin); | ^ xa_wav.c:120:48: 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] 120 | auds_hdr.ext_size = xin->Read_LSB_U16(xin); | ^ xa_wav.c:121:48: 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] 121 | auds_hdr.samps_block = xin->Read_LSB_U16(xin); | ^ xa_wav.c:122:48: 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] 122 | auds_hdr.num_coefs = xin->Read_LSB_U16(xin); len -= 6; | ^ xa_wav.c:128:35: 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] 128 | coef1 = xin->Read_LSB_U16(xin); | ^ xa_wav.c:129:35: 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] 129 | coef2 = xin->Read_LSB_U16(xin); | ^ xa_wav.c:137:48: 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] 137 | auds_hdr.ext_size = xin->Read_LSB_U16(xin); | ^ xa_wav.c:138:48: 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] 138 | auds_hdr.samps_block = xin->Read_LSB_U16(xin); len -= 4; | ^ xa_wav.c:144:48: 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] 144 | auds_hdr.ext_size = xin->Read_LSB_U16(xin); | ^ xa_wav.c:145:48: 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 | auds_hdr.samps_block = xin->Read_LSB_U16(xin); len -= 4; | ^ xa_wav.c:150: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] 150 | while(len--) xin->Read_U8(xin); | ^ xa_wav.c:219:56: 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] 219 | { xaLONG len, end_fpos, tmp_fpos = xin->Get_FPos(xin); | ^ xa_wav.c:220: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] 220 | xin->Seek_FPos(xin,0,2); | ^ xa_wav.c:221: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] 221 | end_fpos = xin->Get_FPos(xin); | ^ xa_wav.c:222: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] 222 | xin->Seek_FPos(xin,tmp_fpos,0); | ^ xa_wav.c:238:43: 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] 238 | { xaLONG cur_fpos = xin->Get_FPos(xin); | ^ xa_wav.c:240:19: 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] 240 | xin->Seek_FPos(xin,snd_size,1); | ^ xa_wav.c:241:31: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | XA_Add_Sound(anim_hdr,0,wav_audio_type, cur_fpos, | ^ xa_wav.c:250:24: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | if (snd==0) TheEnd1("WAV: snd malloc err"); | ^ xa_wav.c:251: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] 251 | ret = xin->Read_Block(xin, snd, snd_size); | ^ xa_wav.c:258:38: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | rets = XA_Add_Sound(anim_hdr,snd,wav_audio_type, -1, | ^ xa_wav.c:264:34: 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] 264 | if (pad_flag) xin->Read_U8(xin); | ^ xa_wav.c:270: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] 270 | xin->Seek_FPos(xin,ck_size,1); | ^ xa_wav.c:275: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] 275 | if ( !xin->At_EOF(xin,0) ) /* POD TBD better prediction of end */ | ^ xa_wav.c:280: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] 280 | xin->Seek_FPos(xin,ck_size,1); /* move past this chunk */ | ^ xa_wav.c:284:31: warning: passing arguments to 'AVI_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | AVI_Print_ID(stdout,ck_id); | ^ xa_wav.c:290:29: warning: passing arguments to 'AVI_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | AVI_Print_ID(stdout,ck_id); | ^ xa_wav.c:292: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] 292 | xin->Seek_FPos(xin,0,2); /* goto end of file */ | ^ xa_wav.c:309:18: 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] 309 | xin->Close_File(xin); | ^ xa_wav.c:312:60: warning: passing arguments to 'AVI_Print_Audio_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | fprintf(stdout," Audio Codec: "); AVI_Print_Audio_Type(auds_hdr.format); | ^ xa_wav.c:42:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | xaULONG WAV_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_wav.c:27:9: warning: a function declaration without a prototype is 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 | xaULONG WAV_Read_File(); | ^ 45 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_au.c xa_au.c:85:35: warning: passing arguments to 'UTIL_Get_MSB_Long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | tmp = UTIL_Get_MSB_Long(fin); /* magic */ | ^ xa_au.c:86:35: warning: passing arguments to 'UTIL_Get_MSB_Long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | au_hdr_size = UTIL_Get_MSB_Long(fin); /* size of header */ | ^ xa_au.c:88:35: warning: passing arguments to 'UTIL_Get_MSB_Long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | au_data_size = UTIL_Get_MSB_Long(fin); /* size of header */ | ^ xa_au.c:97:32: warning: passing arguments to 'UTIL_Get_MSB_Long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | au_format = UTIL_Get_MSB_Long(fin); | ^ xa_au.c:98:32: warning: passing arguments to 'UTIL_Get_MSB_Long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | au_freq = UTIL_Get_MSB_Long(fin); | ^ xa_au.c:99:32: warning: passing arguments to 'UTIL_Get_MSB_Long' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | au_chans = UTIL_Get_MSB_Long(fin); | ^ xa_au.c:139:24: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | if (snd==0) TheEnd1("AU: snd malloc err"); | ^ xa_au.c:144:26: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | rets = XA_Add_Sound(anim_hdr,snd,au_audio_type, -1, | ^ xa_au.c:57:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | xaULONG AU_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_au.c:44:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | xaULONG AU_Read_File(); | ^ 10 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_8svx.c xa_8svx.c:85:23: warning: passing arguments to 'SVX_Read_Chunk_Header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | SVX_Read_Chunk_Header(xin, &svx_form_hdr); | ^ xa_8svx.c:86:30: 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] 86 | svx_type = xin->Read_MSB_U32(xin); | ^ xa_8svx.c:90:14: warning: passing arguments to 'IFF_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | IFF_Print_ID(stdout, svx_type); | ^ xa_8svx.c:95:15: warning: passing arguments to 'IFF_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | IFF_Print_ID(stdout, svx_type); | ^ xa_8svx.c:103:24: warning: passing arguments to 'SVX_Read_Chunk_Header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | SVX_Read_Chunk_Header(xin, &chdr); | ^ xa_8svx.c:109:17: warning: passing arguments to 'SVX_Read_VHDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | SVX_Read_VHDR(xin, &svx_vhdr); | ^ xa_8svx.c:113:18: warning: passing arguments to 'SVX_Print_VHDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | SVX_Print_VHDR(stdout,&svx_vhdr); | ^ xa_8svx.c:128:19: 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] 128 | xin->Read_Block(xin,body,chdr.size); | ^ xa_8svx.c:138:16: warning: passing arguments to 'IFF_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | IFF_Print_ID(stdout, chdr.id); | ^ xa_8svx.c:141:18: 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] 141 | xin->Seek_FPos(xin,chdr.size,1); /* skip chunk */ | ^ xa_8svx.c:166:15: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | XA_Add_Sound(anim_hdr,snd,XA_AUDIO_SIGNED_1M, -1, | ^ xa_8svx.c:64:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | xaULONG SVX_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_8svx.c:39:9: warning: a function declaration without a prototype is 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 | xaULONG SVX_Read_File(); | ^ xa_8svx.c:191:44: 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] 191 | vhdr->oneShotHiSamples = xin->Read_MSB_U32(xin); | ^ xa_8svx.c:192:43: 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] 192 | vhdr->repeatHiSamples = xin->Read_MSB_U32(xin); | ^ xa_8svx.c:193:45: 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] 193 | vhdr->samplesPerHiCycle = xin->Read_MSB_U32(xin); | ^ xa_8svx.c:194:41: 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] 194 | vhdr->samplesPerSec = xin->Read_MSB_U16(xin); | ^ xa_8svx.c:195: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] 195 | vhdr->ctOctave = xin->Read_U8(xin); | ^ xa_8svx.c:196:35: 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] 196 | vhdr->sCompression = xin->Read_U8(xin); | ^ xa_8svx.c:197:34: 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] 197 | vhdr->volume = xin->Read_MSB_U32(xin); | ^ xa_8svx.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 SVX_Read_VHDR(xin, vhdr) | ^ xa_8svx.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 SVX_Read_VHDR(); | ^ xa_8svx.c:204: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] 204 | ch->id = xin->Read_MSB_U32(xin); | ^ xa_8svx.c:205:30: 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] 205 | ch->size = xin->Read_MSB_U32(xin); | ^ xa_8svx.c:200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | void SVX_Read_Chunk_Header(xin, ch) | ^ xa_8svx.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 SVX_Read_Chunk_Header(); | ^ xa_8svx.c:208:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | void SVX_Print_VHDR(fout, vhdr) | ^ xa_8svx.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 SVX_Print_VHDR(); | ^ 28 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_avi.c xa_avi.c:196:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | if (fframe == 0) TheEnd1("AVI_Add_Frame: malloc err"); | ^ xa_avi.c:189:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | AVI_FRAME *AVI_Add_Frame(time,timelo,act) | ^ xa_avi.c:65: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] 65 | AVI_FRAME *AVI_Add_Frame(); | ^ xa_avi.c:214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | void AVI_Free_Frame_List(fframes) | ^ xa_avi.c:66: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] 66 | void AVI_Free_Frame_List(); | ^ xa_avi.c:261:15: 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] 261 | xin->Set_EOF(xin,9); | ^ xa_avi.c:262: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] 262 | while( !xin->At_EOF(xin,8) && (avi_riff_size > 0) ) | ^ xa_avi.c:266:30: 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] 266 | ck_id = xin->Read_MSB_U32(xin); | ^ xa_avi.c:267:32: 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] 267 | ck_size = xin->Read_LSB_U32(xin); | ^ xa_avi.c:272:15: warning: passing arguments to 'AVI_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | AVI_Print_ID(stdout,ck_id); | ^ xa_avi.c:278:15: 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] 278 | xin->Set_EOF(xin, (ck_size + 8)); | ^ xa_avi.c:279: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] 279 | d = xin->Read_MSB_U32(xin); | ^ xa_avi.c:284:16: warning: passing arguments to 'AVI_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | AVI_Print_ID(stdout,d); | ^ xa_avi.c:289: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] 289 | d = xin->Read_MSB_U32(xin); | ^ xa_avi.c:293:36: 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] 293 | avi_movi_offset = xin->Get_FPos(xin); | ^ xa_avi.c:296:19: 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] 296 | xin->Seek_FPos(xin,0,2); | ^ xa_avi.c:297: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] 297 | eof_pos = xin->Get_FPos(xin); | ^ xa_avi.c:305: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] 305 | xin->Seek_FPos(xin,(avi_movi_offset + 4),0); | ^ xa_avi.c:312: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] 312 | xin->Seek_FPos(xin,(avi_movi_offset + ck_size),0); | ^ xa_avi.c:323:16: warning: passing arguments to 'AVI_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | AVI_Print_ID(stdout,d); | ^ xa_avi.c:330:35: warning: passing arguments to 'RIFF_Read_AVIH' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | if (RIFF_Read_AVIH(xin,avi,ck_size,&avi_hdr)==xaFALSE) return(xaFALSE); | ^ xa_avi.c:335:35: warning: passing arguments to 'RIFF_Read_STRH' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | if (RIFF_Read_STRH(xin,avi,ck_size,&strh_hdr)==xaFALSE) return(xaFALSE); | ^ xa_avi.c:345:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | if (avi_strd==0) TheEnd1("AVI: strd malloc err"); | ^ xa_avi.c:351:24: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | if (tmp==0) TheEnd1("AVI: strd malloc err"); | ^ xa_avi.c:354:18: 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] 354 | xin->Read_Block(xin,avi_strd,ck_size); | ^ xa_avi.c:360:22: warning: passing arguments to 'AVI_XMPG_Kludge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | AVI_XMPG_Kludge(avi,&vids_hdr,avi_strd,ck_size,stream_cnt); | ^ xa_avi.c:375:18: warning: passing arguments to 'RIFF_Read_VIDS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | RIFF_Read_VIDS(xin,anim_hdr,avi,ck_size,&vids_hdr, | ^ xa_avi.c:380:33: warning: passing arguments to 'RIFF_Read_AUDS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | { xaULONG ret = RIFF_Read_AUDS(xin,ck_size,&auds_hdr); | ^ xa_avi.c:408:18: 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] 408 | xin->Seek_FPos(xin,ck_size,1); /* move past this chunk */ | ^ xa_avi.c:415: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] 415 | pc_firstcol = xin->Read_U8(xin); | ^ xa_avi.c:416: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] 416 | pc_numcols = xin->Read_U8(xin); | ^ xa_avi.c:418: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] 418 | d = xin->Read_U8(xin); | ^ xa_avi.c:419: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] 419 | d = xin->Read_U8(xin); | ^ xa_avi.c:422:54: 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] 422 | avi->cmap[i + pc_firstcol].red = xin->Read_U8(xin); | ^ xa_avi.c:423:54: 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] 423 | avi->cmap[i + pc_firstcol].green = xin->Read_U8(xin); | ^ xa_avi.c:424:54: 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] 424 | avi->cmap[i + pc_firstcol].blue = xin->Read_U8(xin); | ^ xa_avi.c:425: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] 425 | d = xin->Read_U8(xin); | ^ xa_avi.c:427:25: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | act = ACT_Get_Action(anim_hdr,0); | ^ xa_avi.c:429:29: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | avi->chdr = ACT_Get_CMAP(avi->cmap,avi->imagec,0, | ^ xa_avi.c:431:27: warning: passing arguments to 'ACT_Add_CHDR_To_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | ACT_Add_CHDR_To_Action(act,avi->chdr); | ^ xa_avi.c:441:18: warning: passing arguments to 'AVI_Read_IDX1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | AVI_Read_IDX1(xin,anim_hdr,avi,ck_size,fname); | ^ xa_avi.c:446:19: 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] 446 | xin->Seek_FPos(xin,ck_size,1); /* move past this chunk */ | ^ xa_avi.c:463: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] 463 | xin->Seek_FPos(xin,ck_size,1); /* move past this chunk */ | ^ xa_avi.c:468:19: 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] 468 | if (xin->At_EOF(xin,0)) break; /* End of File */ | ^ xa_avi.c:473: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] 473 | xin->Seek_FPos(xin,0,2); /* goto end of file */ | ^ xa_avi.c:478:32: warning: passing arguments to 'AVI_Stream_Chunk' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | if ( AVI_Stream_Chunk(xin,anim_hdr,avi, | ^ xa_avi.c:491:18: 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] 491 | xin->Close_File(xin); | ^ xa_avi.c:528:45: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | if (anim_hdr->frame_lst == NULL) TheEnd1("AVI_Read_File: frame malloc err"); | ^ xa_avi.c:572:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | XA_Free_Anim_Setup(avi); | ^ xa_avi.c:229:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | xaULONG AVI_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_avi.c:63:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | xaULONG AVI_Read_File(); | ^ xa_avi.c:588:44: 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] 588 | avi_hdr->us_frame = xin->Read_LSB_U32(xin); | ^ xa_avi.c:589:44: 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] 589 | avi_hdr->max_bps = xin->Read_LSB_U32(xin); | ^ xa_avi.c:590:44: 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] 590 | avi_hdr->pad_gran = xin->Read_LSB_U32(xin); | ^ xa_avi.c:591:44: 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] 591 | avi_hdr->flags = xin->Read_LSB_U32(xin); | ^ xa_avi.c:592:44: 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] 592 | avi_hdr->tot_frames = xin->Read_LSB_U32(xin); | ^ xa_avi.c:593:44: 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] 593 | avi_hdr->init_frames = xin->Read_LSB_U32(xin); | ^ xa_avi.c:594:44: 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] 594 | avi_hdr->streams = xin->Read_LSB_U32(xin); | ^ xa_avi.c:595:44: 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] 595 | avi_hdr->sug_bsize = xin->Read_LSB_U32(xin); | ^ xa_avi.c:596:44: 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] 596 | avi_hdr->width = xin->Read_LSB_U32(xin); | ^ xa_avi.c:597:44: 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] 597 | avi_hdr->height = xin->Read_LSB_U32(xin); | ^ xa_avi.c:598:44: 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] 598 | avi_hdr->scale = xin->Read_LSB_U32(xin); | ^ xa_avi.c:599:44: 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] 599 | avi_hdr->rate = xin->Read_LSB_U32(xin); | ^ xa_avi.c:600:44: 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] 600 | avi_hdr->start = xin->Read_LSB_U32(xin); | ^ xa_avi.c:601:44: 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] 601 | avi_hdr->length = xin->Read_LSB_U32(xin); | ^ xa_avi.c:576:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | xaULONG RIFF_Read_AVIH(xin,avi,size,avi_hdr) | ^ xa_avi.c:67:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | xaULONG RIFF_Read_AVIH(); | ^ xa_avi.c:649:44: 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] 649 | strh_hdr->fcc_type = xin->Read_MSB_U32(xin); | ^ xa_avi.c:650:44: 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] 650 | strh_hdr->fcc_handler = xin->Read_MSB_U32(xin); | ^ xa_avi.c:651:44: 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] 651 | strh_hdr->flags = xin->Read_LSB_U32(xin); | ^ xa_avi.c:652:44: 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] 652 | strh_hdr->priority = xin->Read_LSB_U32(xin); | ^ xa_avi.c:653:44: 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] 653 | strh_hdr->init_frames = xin->Read_LSB_U32(xin); | ^ xa_avi.c:654:44: 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] 654 | strh_hdr->scale = xin->Read_LSB_U32(xin); | ^ xa_avi.c:655:44: 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] 655 | strh_hdr->rate = xin->Read_LSB_U32(xin); | ^ xa_avi.c:656:44: 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] 656 | strh_hdr->start = xin->Read_LSB_U32(xin); | ^ xa_avi.c:657:44: 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] 657 | strh_hdr->length = xin->Read_LSB_U32(xin); | ^ xa_avi.c:658:44: 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] 658 | strh_hdr->sug_bsize = xin->Read_LSB_U32(xin); | ^ xa_avi.c:659:44: 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] 659 | strh_hdr->quality = xin->Read_LSB_U32(xin); | ^ xa_avi.c:660:44: 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] 660 | strh_hdr->samp_size = xin->Read_LSB_U32(xin); | ^ xa_avi.c:686:41: 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] 686 | while(tsize < size) { d = xin->Read_U8(xin); tsize++; } | ^ xa_avi.c:638:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | xaULONG RIFF_Read_STRH(xin,avi,size,strh_hdr) | ^ xa_avi.c:69:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | xaULONG RIFF_Read_STRH(); | ^ xa_avi.c:711:44: 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] 711 | vids_hdr->size = xin->Read_LSB_U32(xin); | ^ xa_avi.c:712:44: 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] 712 | vids_hdr->width = xin->Read_LSB_U32(xin); | ^ xa_avi.c:713:44: 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] 713 | vids_hdr->height = xin->Read_LSB_U32(xin); | ^ xa_avi.c:714:44: 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] 714 | vids_hdr->planes = xin->Read_LSB_U16(xin); | ^ xa_avi.c:715:44: 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] 715 | vids_hdr->bit_cnt = xin->Read_LSB_U16(xin); | ^ xa_avi.c:716:44: 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] 716 | vids_hdr->compression = xin->Read_MSB_U32(xin); | ^ xa_avi.c:717:44: 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] 717 | vids_hdr->image_size = xin->Read_LSB_U32(xin); | ^ xa_avi.c:718:44: 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] 718 | vids_hdr->xpels_meter = xin->Read_LSB_U32(xin); | ^ xa_avi.c:719:44: 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] 719 | vids_hdr->ypels_meter = xin->Read_LSB_U32(xin); | ^ xa_avi.c:720:44: 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] 720 | vids_hdr->num_colors = xin->Read_LSB_U32(xin); | ^ xa_avi.c:721:44: 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] 721 | vids_hdr->imp_colors = xin->Read_LSB_U32(xin); | ^ xa_avi.c:744:36: warning: passing arguments to 'AVI_Video_Codec_Query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | codec_ret = AVI_Video_Codec_Query( &avi_codec_hdr[stream_cnt] ); | ^ xa_avi.c:802:39: 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] 802 | while(size > 0) { d = xin->Read_U8(xin); size--; } | ^ xa_avi.c:815:24: warning: passing arguments to 'QT_Create_Gray_Cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | QT_Create_Gray_Cmap(avi->cmap,0,avi->imagec); | ^ xa_avi.c:816:29: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | avi->chdr = ACT_Get_CMAP(avi->cmap,avi->imagec,0,avi->imagec,0,16,16,16); | ^ xa_avi.c:823:41: 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] 823 | avi->cmap[i].blue = xin->Read_U8(xin); | ^ xa_avi.c:824:41: 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] 824 | avi->cmap[i].green = xin->Read_U8(xin); | ^ xa_avi.c:825:41: 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] 825 | avi->cmap[i].red = xin->Read_U8(xin); | ^ xa_avi.c:826: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] 826 | d = xin->Read_U8(xin); /* pad */ | ^ xa_avi.c:829:29: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | avi->chdr = ACT_Get_CMAP(avi->cmap,avi->imagec,0,avi->imagec,0,8,8,8); | ^ xa_avi.c:835:41: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | avi->chdr = CMAP_Create_332(avi->cmap,&avi->imagec); | ^ xa_avi.c:836:42: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | else avi->chdr = CMAP_Create_Gray(avi->cmap,&avi->imagec); | ^ xa_avi.c:844:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | if (avi->pic == 0) TheEnd1("AVI_Buffer_Action: malloc failed"); | ^ xa_avi.c:849:57: 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] 849 | { xaULONG ret = avi_codec_hdr[stream_cnt].avi_read_ext(xin,anim_hdr); | ^ xa_avi.c:853:37: 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] 853 | while(size > 0) { d = xin->Read_U8(xin); size--; } | ^ xa_avi.c:697:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | xaULONG RIFF_Read_VIDS(xin,anim_hdr,avi,size,vids_hdr,stream_cnt) | ^ xa_avi.c:70:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | xaULONG RIFF_Read_VIDS(); | ^ xa_avi.c:898:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | if (dlta_hdr == 0) TheEnd1("AVI vid dlta0: malloc failed"); | ^ xa_avi.c:904:38: 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] 904 | { dlta_hdr->fpos = xin->Get_FPos(xin); | ^ xa_avi.c:905: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] 905 | xin->Seek_FPos(xin,ck_size,1); /* move past this chunk */ | ^ xa_avi.c:913:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | if (dlta_hdr == 0) TheEnd1("AVI vid dlta1: malloc failed"); | ^ xa_avi.c:917:40: 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] 917 | if (ck_offset >= 0) xin->Seek_FPos( xin, ck_offset, 0); | ^ xa_avi.c:919: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] 919 | { ret = xin->Read_Block(xin,dlta_hdr->data,ck_size); | ^ xa_avi.c:946: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] 946 | xin->Seek_FPos(xin,dlta_hdr->fpos,0); | ^ xa_avi.c:947: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] 947 | ret = xin->Read_Block(xin, mjpg_tmp, mjpg_size); | ^ xa_avi.c:949:30: warning: passing arguments to 'jpg_search_marker' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | while(jpg_search_marker(0xdb,&mjpg_buff,&mjpg_size) == xaTRUE) | ^ xa_avi.c:873:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | ACT_DLTA_HDR *AVI_Read_00DC(xin,avi,ck_size,act,ck_offset,stream_num) | ^ xa_avi.c:75:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 75 | ACT_DLTA_HDR *AVI_Read_00DC(); | ^ xa_avi.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | AVI_Decode_CRAM(image,delta,dsize,dec_info) | ^ xa_avi.c:84:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | xaULONG AVI_Decode_CRAM(); | ^ xa_avi.c:1255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | AVI_Decode_RGB4(image,delta,dsize,dec_info) | ^ xa_avi.c:86:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | xaULONG AVI_Decode_RGB4(); | ^ xa_avi.c:1315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | AVI_Decode_RGB8(image,delta,dsize,dec_info) | ^ xa_avi.c:87:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | xaULONG AVI_Decode_RGB8(); | ^ xa_avi.c:1411:45: warning: passing arguments to 'XA_RGB16_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | *iptr++ = (xaUBYTE)XA_RGB16_To_CLR32(d,map_flag,map,chdr); | ^ xa_avi.c:1422:45: warning: passing arguments to 'XA_RGB16_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1422 | *iptr++ = (xaULONG)XA_RGB16_To_CLR32(d,map_flag,map,chdr); | ^ xa_avi.c:1433:46: warning: passing arguments to 'XA_RGB16_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | *iptr++ = (xaUSHORT)XA_RGB16_To_CLR32(d,map_flag,map,chdr); | ^ xa_avi.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | AVI_Decode_RGB16(image,delta,dsize,dec_info) | ^ xa_avi.c:88:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | xaULONG AVI_Decode_RGB16(); | ^ xa_avi.c:1484:45: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1484 | *iptr++ = (xaUBYTE)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_avi.c:1496:45: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | *iptr++ = (xaULONG)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_avi.c:1508:46: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1508 | *iptr++ = (xaUSHORT)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_avi.c:1447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | AVI_Decode_RGB24(image,delta,dsize,dec_info) | ^ xa_avi.c:89:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | xaULONG AVI_Decode_RGB24(); | ^ xa_avi.c:1518:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1518 | void AVI_Print_ID(fout,id) | ^ xa_avi.c:64: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] 64 | void AVI_Print_ID(); | ^ xa_avi.c:1543:63: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,5); | ^ xa_avi.c:1548:43: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_avi.c:1557:22: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | CMAP_Find_Closest(chdr->cmap,chdr->csize,ra,ga,ba,5,5,5,xaTRUE); | ^ xa_avi.c:1528:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | xaULONG AVI_Get_Color(color,map_flag,map,chdr) | ^ xa_avi.c:73:9: warning: a function declaration without a prototype is 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 | xaULONG AVI_Get_Color(); | ^ xa_avi.c:1575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1575 | AVI_Decode_RLE8(image,delta,tdsize,dec_info) | ^ xa_avi.c:83:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | xaULONG AVI_Decode_RLE8(); | ^ xa_avi.c:1735:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1735 | xaULONG AVI_Decode_CRAM16(image,delta,dsize,dec_info) | ^ xa_avi.c:85:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | xaULONG AVI_Decode_CRAM16(); | ^ xa_avi.c:2221:21: warning: passing arguments to 'AVI_ULTI_LTC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2221 | AVI_ULTI_LTC(image,tx,ty,imagex,special,map_flag,map,chdr, | ^ xa_avi.c:2229:21: warning: passing arguments to 'AVI_ULTI_LTC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | AVI_ULTI_LTC(image,tx,ty,imagex,special,map_flag,map,chdr, | ^ xa_avi.c:2245:18: warning: passing arguments to 'AVI_ULTI_LTC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2245 | AVI_ULTI_LTC(image,tx,ty,imagex,special,map_flag,map,chdr, | ^ xa_avi.c:2260:20: warning: passing arguments to 'AVI_ULTI_LTC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | AVI_ULTI_LTC(image,tx,ty,imagex,special,map_flag,map,chdr, | ^ xa_avi.c:2272:31: warning: passing arguments to 'AVI_Get_Ulti_rgbColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2272 | AVI_Get_Ulti_rgbColor(y0,chrom,&r0,&g0,&b0); | ^ xa_avi.c:2273:31: warning: passing arguments to 'AVI_Get_Ulti_rgbColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2273 | AVI_Get_Ulti_rgbColor(y1,chrom,&r1,&g1,&b1); | ^ xa_avi.c:2280:33: warning: passing arguments to 'AVI_Get_Ulti_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2280 | c0 = AVI_Get_Ulti_Color(y0,chrom,map_flag,map,chdr); | ^ xa_avi.c:2281:33: warning: passing arguments to 'AVI_Get_Ulti_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2281 | c1 = AVI_Get_Ulti_Color(y1,chrom,map_flag,map,chdr); | ^ xa_avi.c:2310:18: warning: passing arguments to 'AVI_ULTI_LTC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2310 | AVI_ULTI_LTC(image,tx,ty,imagex,special,map_flag,map,chdr, | ^ xa_avi.c:2334:31: warning: passing arguments to 'AVI_Get_Ulti_rgbColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2334 | { AVI_Get_Ulti_rgbColor(y[i],chrom,&r,&g,&b); | ^ xa_avi.c:2341:41: warning: passing arguments to 'AVI_Get_Ulti_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2341 | { c = (xaUBYTE)AVI_Get_Ulti_Color(y[i],chrom,map_flag,map,chdr); | ^ xa_avi.c:2347:41: warning: passing arguments to 'AVI_Get_Ulti_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2347 | { c = (xaULONG)AVI_Get_Ulti_Color(y[i],chrom,map_flag,map,chdr); | ^ xa_avi.c:2353:42: warning: passing arguments to 'AVI_Get_Ulti_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2353 | { c = (xaUSHORT)AVI_Get_Ulti_Color(y[i],chrom,map_flag,map,chdr); | ^ xa_avi.c:2105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2105 | AVI_Decode_ULTI(image,delta,dsize,dec_info) | ^ xa_avi.c:104:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | xaULONG AVI_Decode_ULTI(); | ^ xa_avi.c:2419:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2419 | void AVI_Get_Ulti_rgbColor(lum,chrom,r,g,b) | ^ xa_avi.c:113: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] 113 | void AVI_Get_Ulti_rgbColor(); | ^ xa_avi.c:2469:63: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2469 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(tr,tg,tb,8); | ^ xa_avi.c:2474:43: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2474 | if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_avi.c:2483:22: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2483 | CMAP_Find_Closest(chdr->cmap,chdr->csize,ra,ga,ba,6,6,6,xaTRUE); | ^ xa_avi.c:2442:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2442 | xaULONG AVI_Get_Ulti_Color(lum,chrom,map_flag,map,chdr) | ^ xa_avi.c:112:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 112 | xaULONG AVI_Get_Ulti_Color(); | ^ xa_avi.c:2553:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2553 | void AVI_ULTI_LTC(image,x,y,imagex,special,map_flag,map,chdr, | ^ xa_avi.c:115: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] 115 | void AVI_ULTI_LTC(); | ^ xa_avi.c:2672:39: 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] 2672 | auds_hdr->format = xin->Read_LSB_U16(xin); | ^ xa_avi.c:2673:41: 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] 2673 | auds_hdr->channels = xin->Read_LSB_U16(xin); | ^ xa_avi.c:2674:37: 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] 2674 | auds_hdr->rate = xin->Read_LSB_U32(xin); | ^ xa_avi.c:2675:39: 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] 2675 | auds_hdr->av_bps = xin->Read_LSB_U32(xin); | ^ xa_avi.c:2676:43: 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] 2676 | auds_hdr->blockalign = xin->Read_LSB_U16(xin); | ^ xa_avi.c:2681:57: 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] 2681 | if (size >= 0x10) { auds_hdr->size = xin->Read_LSB_U16(xin); size -= 0x10; } | ^ xa_avi.c:2696:46: 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] 2696 | auds_hdr->ext_size = xin->Read_LSB_U16(xin); | ^ xa_avi.c:2697:46: 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] 2697 | auds_hdr->samps_block = xin->Read_LSB_U16(xin); | ^ xa_avi.c:2698:46: 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] 2698 | auds_hdr->num_coefs = xin->Read_LSB_U16(xin); size -= 6; | ^ xa_avi.c:2705:32: 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] 2705 | coef1 = xin->Read_LSB_U16(xin); | ^ xa_avi.c:2706:32: 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] 2706 | coef2 = xin->Read_LSB_U16(xin); size -= 4; | ^ xa_avi.c:2716:46: 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] 2716 | auds_hdr->ext_size = xin->Read_LSB_U16(xin); | ^ xa_avi.c:2717:46: 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] 2717 | auds_hdr->samps_block = xin->Read_LSB_U16(xin); size -= 4; | ^ xa_avi.c:2735:46: 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] 2735 | auds_hdr->ext_size = xin->Read_LSB_U16(xin); | ^ xa_avi.c:2736:46: 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] 2736 | auds_hdr->samps_block = xin->Read_LSB_U16(xin); size -= 4; | ^ xa_avi.c:2761:60: warning: passing arguments to 'AVI_Print_Audio_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2761 | fprintf(stdout," Audio Codec: "); AVI_Print_Audio_Type(auds_hdr->format); | ^ xa_avi.c:2772:39: 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] 2772 | while(size > 0) { (void)xin->Read_U8(xin); size--; } | ^ xa_avi.c:2667:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | xaULONG RIFF_Read_AUDS(xin,size,auds_hdr) | ^ xa_avi.c:71:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | xaULONG RIFF_Read_AUDS(); | ^ xa_avi.c:2776:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2776 | void AVI_Print_Audio_Type(type) | ^ xa_avi.c:72: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] 72 | void AVI_Print_Audio_Type(); | ^ xa_avi.c:2800:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2800 | xaULONG AVI_Ulti_Check(val,ptr) | ^ xa_avi.c:117:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | xaULONG AVI_Ulti_Check(); | ^ xa_avi.c:2813:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2813 | if (avi_ulti_tab==0) TheEnd1("AVI_Ulti_Gen_LTC: malloc err"); | ^ xa_avi.c:2877:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2877 | static xaLONG xmpg_get_start_code(bufp,buf_size) | ^ xa_avi.c:2968:38: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2968 | if (tmp_pic == 0) TheEnd1("AVI_XMPG: pic malloc err"); | ^ xa_avi.c:2911:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2911 | static void AVI_XMPG_Kludge(avi,vids_hdr,avi_strd,ck_size,stream_cnt) | ^ xa_avi.c:118: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] 118 | static void AVI_XMPG_Kludge(); | ^ xa_avi.c:3043:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3043 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3056:17: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3056 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3057:20: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3057 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa_avi.c:3058:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3058 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3059:16: warning: passing arguments to 'MPG_Init_Stuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3059 | MPG_Init_Stuff(codec->anim_hdr); | ^ xa_avi.c:3071:17: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3071 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3072:20: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3072 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa_avi.c:3073:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3073 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3074:16: warning: passing arguments to 'MPG_Init_Stuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3074 | MPG_Init_Stuff(codec->anim_hdr); | ^ xa_avi.c:3105:41: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3105 | if (codec->depth > 8) XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3107:19: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3107 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3108:22: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3108 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,0,xaFALSE); | ^ xa_avi.c:3109:30: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3109 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3126:41: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3126 | if (codec->depth > 8) XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3128:19: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3128 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3129:22: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3129 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,0,xaFALSE); | ^ xa_avi.c:3130:30: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3148:19: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3148 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3149:22: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3149 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,0,xaFALSE); | ^ xa_avi.c:3150:30: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3150 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3163:27: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3163 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa_avi.c:3164:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3164 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3165:24: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3165 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3176:27: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3176 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa_avi.c:3177:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3177 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3178:24: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3178 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3188:27: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3188 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa_avi.c:3189:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3189 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3190:24: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3190 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3202:27: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3202 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa_avi.c:3203:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3203 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3204:24: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3204 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3216:27: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3216 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa_avi.c:3217:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3217 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3218:24: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3218 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3247:27: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3247 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa_avi.c:3248:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3248 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3249:24: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3249 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3280:30: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3280 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_avi.c:3296:39: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3296 | if (codec->depth > 8) XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_avi.c:3298:20: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3298 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,0,xaFALSE); | ^ xa_avi.c:2994:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2994 | xaLONG AVI_Codec_Query(codec) | ^ xa_avi.c:55:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | xaLONG AVI_Codec_Query(); | ^ xa_avi.c:3310:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3310 | xaLONG AVI_UNK_Codec_Query(codec) | ^ xa_avi.c:56:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | xaLONG AVI_UNK_Codec_Query(); | ^ xa_avi.c:3429: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] 3429 | offset = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3430: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] 3430 | jsize = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3431: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] 3431 | format = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3432: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] 3432 | cspace = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3433: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] 3433 | bits = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3434: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] 3434 | hsubsamp = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3435: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] 3435 | vsubsamp = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3425:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3425 | static xaULONG AVI_JPEG_Read_Ext(xin,anim_hdr) | ^ xa_avi.c:62: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] 62 | static xaULONG AVI_JPEG_Read_Ext(); | ^ xa_avi.c:3455: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] 3455 | offset = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3456: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] 3456 | jsize = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3457: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] 3457 | format = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3458: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] 3458 | cspace = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3465:24: warning: passing arguments to 'JFIF_Read_IJPG_Tables' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3465 | JFIF_Read_IJPG_Tables(xin); | ^ xa_avi.c:3451:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3451 | static xaULONG AVI_IJPG_Read_Ext(xin,anim_hdr) | ^ xa_avi.c:61: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] 61 | static xaULONG AVI_IJPG_Read_Ext(); | ^ xa_avi.c:3509: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] 3509 | xin->Seek_FPos(xin,ck_size,1); | ^ xa_avi.c:3512:27: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3512 | { act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_avi.c:3517:17: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3517 | ACT_Setup_Delta(avi,act,dlta_hdr,xin); | ^ xa_avi.c:3530:41: 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] 3530 | { xaLONG rets, cur_fpos = xin->Get_FPos(xin); | ^ xa_avi.c:3531:23: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3531 | rets = XA_Add_Sound(anim_hdr,0,avi_audio_type, | ^ xa_avi.c:3536:18: 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] 3536 | xin->Seek_FPos(xin,ck_size,1); /* move past this chunk */ | ^ xa_avi.c:3541:23: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3541 | if (snd==0) TheEnd1("AVI: snd malloc err"); | ^ xa_avi.c:3542: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] 3542 | ret = xin->Read_Block(xin, snd, ck_size); | ^ xa_avi.c:3546:25: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3546 | rets = XA_Add_Sound(anim_hdr,snd,avi_audio_type, -1, | ^ xa_avi.c:3555: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] 3555 | else xin->Seek_FPos(xin,ck_size,1); | ^ xa_avi.c:3567: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] 3567 | xin->Seek_FPos(xin,ck_size,1); /* move past this chunk */ | ^ xa_avi.c:3575: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] 3575 | xin->Seek_FPos(xin,ck_size,1); /* move past this chunk */ | ^ xa_avi.c:3471:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3471 | xaULONG AVI_Stream_Chunk(xin,anim_hdr,avi,ck_id,ck_size,fname) | ^ xa_avi.c:77:9: warning: a function declaration without a prototype is 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 | xaULONG AVI_Stream_Chunk(); | ^ xa_avi.c:3600:24: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3600 | if (idx == 0) TheEnd1("AVI: malloc err"); | ^ xa_avi.c:3606:37: 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] 3606 | { idx[i].ckid = xin->Read_MSB_U32(xin); | ^ xa_avi.c:3607:37: 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] 3607 | idx[i].flags = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3608:38: 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] 3608 | idx[i].offset = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3609:37: 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] 3609 | idx[i].size = xin->Read_LSB_U32(xin); | ^ xa_avi.c:3626:39: 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] 3626 | while(ck_size--) (void)(xin->Read_U8(xin)); | ^ xa_avi.c:3627: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] 3627 | tmp_fpos = xin->Get_FPos(xin); /* save for later */ | ^ xa_avi.c:3660:29: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3660 | { act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_avi.c:3666:19: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3666 | ACT_Setup_Delta(avi,act,dlta_hdr,xin); | ^ xa_avi.c:3678:25: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3678 | rets = XA_Add_Sound(anim_hdr,0,avi_audio_type, | ^ xa_avi.c:3687:25: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3687 | if (snd==0) TheEnd1("AVI: snd malloc err"); | ^ xa_avi.c:3689: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] 3689 | ret = xin->Seek_FPos(xin, idx[i].offset, 0); | ^ xa_avi.c:3694: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] 3694 | ret = xin->Read_Block(xin, snd, snd_size); | ^ xa_avi.c:3698:27: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3698 | rets = XA_Add_Sound(anim_hdr,snd,avi_audio_type, -1, | ^ xa_avi.c:3712: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] 3712 | xin->Seek_FPos(xin, tmp_fpos, 0); | ^ xa_avi.c:3585:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3585 | xaULONG AVI_Read_IDX1(xin,anim_hdr,avi,ck_size,fname) | ^ xa_avi.c:78:9: warning: a function declaration without a prototype is 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 | xaULONG AVI_Read_IDX1(); | ^ xa_avi.c:3727:55: warning: passing arguments to 'XA_YUV211111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3727 | void (*color_func)() = (void (*)())XA_YUV211111_Func(dec_info->image_type); | ^ xa_avi.c:3753:13: 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] 3753 | color_func(image,imagex,imagey,imagex,imagey, | ^ xa_avi.c:3716:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3716 | xaULONG AVI_Decode_YUY2(image,delta,dsize,dec_info) | ^ xa_avi.c:92:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | xaULONG AVI_Decode_YUY2(); | ^ xa_avi.c:3771:55: warning: passing arguments to 'XA_YUV221111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3771 | void (*color_func)() = (void (*)())XA_YUV221111_Func(dec_info->image_type); | ^ xa_avi.c:3795:13: 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] 3795 | color_func(image,imagex,imagey,imagex,imagey, | ^ xa_avi.c:3761:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3761 | xaULONG AVI_Decode_YV12(image,delta,dsize,dec_info) | ^ xa_avi.c:93:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | xaULONG AVI_Decode_YV12(); | ^ xa_avi.c:3813:55: warning: passing arguments to 'XA_YUV221111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3813 | void (*color_func)() = (void (*)())XA_YUV221111_Func(dec_info->image_type); | ^ xa_avi.c:3837:13: 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] 3837 | color_func(image,imagex,imagey,imagex,imagey, | ^ xa_avi.c:3803:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3803 | xaULONG AVI_Decode_I420(image,delta,dsize,dec_info) | ^ xa_avi.c:94:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | xaULONG AVI_Decode_I420(); | ^ xa_avi.c:3855:55: warning: passing arguments to 'XA_YUV221111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3855 | void (*color_func)() = (void (*)())XA_YUV221111_Func(dec_info->image_type); | ^ xa_avi.c:3898:13: 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] 3898 | color_func(image,imagex,imagey,imagex,imagey, | ^ xa_avi.c:3845:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3845 | xaULONG AVI_Decode_Y41P(image,delta,dsize,dec_info) | ^ xa_avi.c:95:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 95 | xaULONG AVI_Decode_Y41P(); | ^ xa_avi.c:3916:55: warning: passing arguments to 'XA_YUV211111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3916 | void (*color_func)() = (void (*)())XA_YUV211111_Func(dec_info->image_type); | ^ xa_avi.c:3946:13: 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] 3946 | color_func(image,imagex,imagey,imagex,imagey, | ^ xa_avi.c:3906:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3906 | xaULONG AVI_Decode_V422(image,delta,dsize,dec_info) | ^ xa_avi.c:90:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | xaULONG AVI_Decode_V422(); | ^ xa_avi.c:3964:55: warning: passing arguments to 'XA_YUV211111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3964 | void (*color_func)() = (void (*)())XA_YUV211111_Func(dec_info->image_type); | ^ xa_avi.c:3992:13: 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] 3992 | color_func(image,imagex,imagey,imagex,imagey, | ^ xa_avi.c:3954:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3954 | xaULONG AVI_Decode_VYUY(image,delta,dsize,dec_info) | ^ xa_avi.c:91:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | xaULONG AVI_Decode_VYUY(); | ^ 315 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_qt.c xa_qt.c:168:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | if (fframe == 0) TheEnd1("QT_Add_Frame: malloc err"); | ^ xa_qt.c:161:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | QT_FRAME *QT_Add_Frame(time,timelo,act) | ^ xa_qt.c:183:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | void QT_Free_Frame_List(fframes) | ^ xa_qt.c:196:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | xaLONG Is_QT_File(filename) | ^ xa_qt.c:310:22: warning: passing arguments to 'QT_Parse_Chunks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | if (QT_Parse_Chunks(anim_hdr,qt,xin) == xaFALSE) | ^ xa_qt.c:313:23: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | XA_Free_Anim_Setup(qt); | ^ xa_qt.c:320: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] 320 | xin->Close_File(xin); | ^ xa_qt.c:343:36: warning: passing arguments to 'QT_Read_Video_Data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | qt_has_video = QT_Read_Video_Data(qt,xin,anim_hdr); | ^ xa_qt.c:345:36: warning: passing arguments to 'QT_Read_Audio_Data' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | qt_has_audio = QT_Read_Audio_Data(qt,xin,anim_hdr); | ^ xa_qt.c:346:18: 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] 346 | xin->Close_File(xin); | ^ xa_qt.c:406:45: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | if (anim_hdr->frame_lst == NULL) TheEnd1("QT_Read_File: frame malloc err"); | ^ xa_qt.c:471:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | XA_Free_Anim_Setup(qt); | ^ xa_qt.c:237:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | xaULONG QT_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_qt.c:67:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | xaULONG QT_Read_File(); | ^ xa_qt.c:529: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] 529 | len = xin->Read_MSB_U32(xin); | ^ xa_qt.c:530: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] 530 | id = xin->Read_MSB_U32(xin); | ^ xa_qt.c:581:14: warning: passing arguments to 'QT_Read_MVHD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | QT_Read_MVHD(xin,&qt_mvhdr); | ^ xa_qt.c:585:14: warning: passing arguments to 'QT_Read_TKHD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | QT_Read_TKHD(xin,&qt_tkhdr); | ^ xa_qt.c:589:14: warning: passing arguments to 'QT_Read_ELST' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | QT_Read_ELST(xin,&qt_start_offset,&qt_init_duration); | ^ xa_qt.c:593:14: warning: passing arguments to 'QT_Read_MDHD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | QT_Read_MDHD(xin,&qt_mdhdr); | ^ xa_qt.c:597:14: warning: passing arguments to 'QT_Read_HDLR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | QT_Read_HDLR(xin,len,&qt_hdlr_hdr); | ^ xa_qt.c:602: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] 602 | xin->Seek_FPos(xin,(len-8),1); /* skip over it for now */ | ^ xa_qt.c:609:22: warning: passing arguments to 'QT_Read_Video_STSD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | QT_Read_Video_STSD(anim_hdr,qt,xin,(len-8)); | ^ xa_qt.c:613:22: warning: passing arguments to 'QT_Read_Audio_STSD' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | QT_Read_Audio_STSD(xin,(len-8)); | ^ xa_qt.c:615: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] 615 | else xin->Seek_FPos(xin,(len-8),1); | ^ xa_qt.c:620:15: warning: passing arguments to 'QT_Read_STTS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | QT_Read_STTS(xin,(len-8),&qtv_t2samp_num,&qtv_t2samps); | ^ xa_qt.c:625: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] 625 | else xin->Seek_FPos(xin,(len-8),1); | ^ xa_qt.c:629:14: warning: passing arguments to 'QT_Read_STSS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | QT_Read_STSS(xin); | ^ xa_qt.c:633:29: warning: passing arguments to 'QT_Read_STCO' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | if (qt_v_flag) QT_Read_STCO(xin,&qtv_chunkoff_num,&qtv_chunkoffs); | ^ xa_qt.c:634:34: warning: passing arguments to 'QT_Read_STCO' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | else if (qt_s_flag) QT_Read_STCO(xin,&qts_chunkoff_num,&qts_chunkoffs); | ^ xa_qt.c:635: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] 635 | else xin->Seek_FPos(xin,(len-8),1); | ^ xa_qt.c:639:29: warning: passing arguments to 'QT_Read_STSZ' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | if (qt_v_flag) QT_Read_STSZ(xin,len,&qtv_samp_num,&qtv_samp_sizes); | ^ xa_qt.c:641:15: warning: passing arguments to 'QT_Read_STSZ' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | QT_Read_STSZ(xin,len,&qts_samp_num,&qts_samp_sizes); | ^ xa_qt.c:642: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] 642 | else xin->Seek_FPos(xin,(len-8),1); | ^ xa_qt.c:646:29: warning: passing arguments to 'QT_Read_STSC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | if (qt_v_flag) QT_Read_STSC(xin,len,&qtv_s2chunk_num,&qtv_s2chunks, | ^ xa_qt.c:648:34: warning: passing arguments to 'QT_Read_STSC' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | else if (qt_s_flag) QT_Read_STSC(xin,len,&qts_s2chunk_num,&qts_s2chunks, | ^ xa_qt.c:650: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] 650 | else xin->Seek_FPos(xin,(len-8),1); | ^ xa_qt.c:654:14: warning: passing arguments to 'QT_Read_STGS' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | QT_Read_STGS(xin,len); | ^ xa_qt.c:667: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] 667 | xin->Seek_FPos(xin,(len-8),1); /* skip over */ | ^ xa_qt.c:672: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] 672 | xin->Seek_FPos(xin,(len-8),1); | ^ xa_qt.c:680: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] 680 | xin->Seek_FPos(xin,(len-8),1); | ^ xa_qt.c:695:35: 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] 695 | while(len > 0) {xin->Read_U8(xin); len--; } | ^ xa_qt.c:699:36: 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] 699 | tmp = xin->Read_MSB_U32(xin); /* ?? */ | ^ xa_qt.c:700:36: 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] 700 | start = xin->Read_MSB_U16(xin); /* start */ | ^ xa_qt.c:701:36: 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] 701 | end = xin->Read_MSB_U16(xin); /* end */ | ^ xa_qt.c:705: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] 705 | idx = xin->Read_MSB_U16(xin); | ^ xa_qt.c:706: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] 706 | r = xin->Read_MSB_U16(xin); | ^ xa_qt.c:707: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] 707 | g = xin->Read_MSB_U16(xin); | ^ xa_qt.c:708: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] 708 | b = xin->Read_MSB_U16(xin); len -= 8; | ^ xa_qt.c:718:32: 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] 718 | while(len > 0) {xin->Read_U8(xin); len--; } | ^ xa_qt.c:720:27: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | qt->chdr = ACT_Get_CMAP(qt->cmap,qt->imagec,0,qt->imagec,0,8,8,8); | ^ xa_qt.c:727: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] 727 | xin->Seek_FPos(xin,(len-8),1); /* skip over */ | ^ xa_qt.c:748:30: 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] 748 | t_sz = xin->Read_MSB_U32(xin); | ^ xa_qt.c:749:30: 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] 749 | t_id = xin->Read_MSB_U32(xin); | ^ xa_qt.c:764:32: 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] 764 | cmov_comp = xin->Read_MSB_U32(xin); t_sz -= 4; | ^ xa_qt.c:775:33: 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] 775 | if (t_sz > 0) { xin->Seek_FPos(xin,t_sz,1); t_sz = 0; } | ^ xa_qt.c:780:30: 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] 780 | moov_sz = xin->Read_MSB_U32(xin); t_sz -= 4; | ^ xa_qt.c:785:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | if (cmov_buf == 0) TheEnd1("QT cmov: malloc err 0"); | ^ xa_qt.c:787: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] 787 | tlen = xin->Read_Block(xin, cmov_buf, cmov_sz); | ^ xa_qt.c:796:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | if (moov_buf == 0) TheEnd1("QT cmov: malloc err 1"); | ^ xa_qt.c:827:21: warning: passing arguments to 'XA_Mem_Open_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | XA_Mem_Open_Init(&mem_xin,moov_buf,moov_sz); | ^ xa_qt.c:836:33: 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] 836 | if (t_sz > 0) { xin->Seek_FPos(xin,t_sz,1); t_sz = 0; } | ^ xa_qt.c:854: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] 854 | xin->Seek_FPos(xin,(len-8),1); /* skip over */ | ^ xa_qt.c:859:19: 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] 859 | if ( !xin->At_EOF(xin) && (len <= file_len) ) | ^ xa_qt.c:865:15: warning: passing arguments to 'QT_Print_ID' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | QT_Print_ID(stdout,id,1); | ^ xa_qt.c:870:36: 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] 870 | while(i > 0) { i--; xin->Read_U8(xin); if (xin->At_EOF(xin)) i = 0; } | ^ xa_qt.c:870:58: 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] 870 | while(i > 0) { i--; xin->Read_U8(xin); if (xin->At_EOF(xin)) i = 0; } | ^ xa_qt.c:876: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] 876 | if ( xin->At_EOF(xin) ) | ^ xa_qt.c:518:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | xaULONG QT_Parse_Chunks(anim_hdr,qt,xin) | ^ xa_qt.c:104:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | xaULONG QT_Parse_Chunks(); | ^ xa_qt.c:898:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 898 | void QT_Print_ID(fout,id,flag) | ^ xa_qt.c:108: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] 108 | void QT_Print_ID(); | ^ xa_qt.c:915:40: 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] 915 | qt_mvhdr->version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:916:41: 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] 916 | qt_mvhdr->creation = xin->Read_MSB_U32(xin); | ^ xa_qt.c:917:40: 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] 917 | qt_mvhdr->modtime = xin->Read_MSB_U32(xin); | ^ xa_qt.c:918:42: 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] 918 | qt_mvhdr->timescale = xin->Read_MSB_U32(xin); | ^ xa_qt.c:919:41: 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] 919 | qt_mvhdr->duration = xin->Read_MSB_U32(xin); | ^ xa_qt.c:920:37: 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] 920 | qt_mvhdr->rate = xin->Read_MSB_U32(xin); | ^ xa_qt.c:921:39: 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] 921 | qt_mvhdr->volume = xin->Read_MSB_U16(xin); | ^ xa_qt.c:922:36: 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] 922 | qt_mvhdr->r1 = xin->Read_MSB_U32(xin); | ^ xa_qt.c:923:36: 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] 923 | qt_mvhdr->r2 = xin->Read_MSB_U32(xin); | ^ xa_qt.c:925:42: 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] 925 | qt_mvhdr->matrix[i][j]=xin->Read_MSB_U32(xin); | ^ xa_qt.c:926:36: 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] 926 | qt_mvhdr->r3 = xin->Read_MSB_U16(xin); | ^ xa_qt.c:927:36: 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] 927 | qt_mvhdr->r4 = xin->Read_MSB_U32(xin); | ^ xa_qt.c:928:40: 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] 928 | qt_mvhdr->pv_time = xin->Read_MSB_U32(xin); | ^ xa_qt.c:929:42: 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] 929 | qt_mvhdr->post_time = xin->Read_MSB_U32(xin); | ^ xa_qt.c:930:41: 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] 930 | qt_mvhdr->sel_time = xin->Read_MSB_U32(xin); | ^ xa_qt.c:931:42: 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] 931 | qt_mvhdr->sel_durat = xin->Read_MSB_U32(xin); | ^ xa_qt.c:932:41: 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] 932 | qt_mvhdr->cur_time = xin->Read_MSB_U32(xin); | ^ xa_qt.c:933:42: 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] 933 | qt_mvhdr->nxt_tk_id = xin->Read_MSB_U32(xin); | ^ xa_qt.c:909:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | void QT_Read_MVHD(xin,qt_mvhdr) | ^ xa_qt.c:109: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] 109 | void QT_Read_MVHD(); | ^ xa_qt.c:953:40: 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] 953 | qt_tkhdr->version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:954:41: 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] 954 | qt_tkhdr->creation = xin->Read_MSB_U32(xin); | ^ xa_qt.c:955:40: 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] 955 | qt_tkhdr->modtime = xin->Read_MSB_U32(xin); | ^ xa_qt.c:956:40: 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] 956 | qt_tkhdr->trackid = xin->Read_MSB_U32(xin); | ^ xa_qt.c:957:42: 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] 957 | qt_tkhdr->timescale = xin->Read_MSB_U32(xin); | ^ xa_qt.c:958:41: 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] 958 | qt_tkhdr->duration = xin->Read_MSB_U32(xin); | ^ xa_qt.c:959:41: 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] 959 | qt_tkhdr->time_off = xin->Read_MSB_U32(xin); | ^ xa_qt.c:960:42: 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] 960 | qt_tkhdr->priority = xin->Read_MSB_U32(xin); | ^ xa_qt.c:961:39: 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] 961 | qt_tkhdr->layer = xin->Read_MSB_U16(xin); | ^ xa_qt.c:962:42: 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] 962 | qt_tkhdr->alt_group = xin->Read_MSB_U16(xin); | ^ xa_qt.c:963:40: 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] 963 | qt_tkhdr->volume = xin->Read_MSB_U16(xin); | ^ xa_qt.c:965:44: 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] 965 | qt_tkhdr->matrix[i][j]=xin->Read_MSB_U32(xin); | ^ xa_qt.c:966:41: 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] 966 | qt_tkhdr->tk_width = xin->Read_MSB_U32(xin); | ^ xa_qt.c:967:42: 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] 967 | qt_tkhdr->tk_height = xin->Read_MSB_U32(xin); | ^ xa_qt.c:968:37: 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] 968 | qt_tkhdr->pad = xin->Read_MSB_U16(xin); | ^ xa_qt.c:948:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | void QT_Read_TKHD(xin,qt_tkhdr) | ^ xa_qt.c:110: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] 110 | void QT_Read_TKHD(); | ^ xa_qt.c:990: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] 990 | version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:991: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] 991 | num = xin->Read_MSB_U32(xin); | ^ xa_qt.c:995:32: 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] 995 | duration = xin->Read_MSB_U32(xin); | ^ xa_qt.c:996: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] 996 | time = xin->Read_MSB_U32(xin); | ^ xa_qt.c:997: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] 997 | rate = xin->Read_MSB_U16(xin); | ^ xa_qt.c:998: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] 998 | pad = xin->Read_MSB_U16(xin); | ^ xa_qt.c:984:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | void QT_Read_ELST(xin,qt_start_offset,qt_init_duration) | ^ xa_qt.c:111: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] 111 | void QT_Read_ELST(); | ^ xa_qt.c:1013:40: 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] 1013 | { qt_mdhdr->version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1014:41: 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] 1014 | qt_mdhdr->creation = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1015:40: 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] 1015 | qt_mdhdr->modtime = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1016:42: 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] 1016 | qt_mdhdr->timescale = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1017:41: 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] 1017 | qt_mdhdr->duration = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1018:41: 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] 1018 | qt_mdhdr->language = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1019:40: 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] 1019 | qt_mdhdr->quality = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1010:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | void QT_Read_MDHD(xin,qt_mdhdr) | ^ xa_qt.c:112: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] 112 | void QT_Read_MDHD(); | ^ xa_qt.c:1037:43: 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] 1037 | { qt_hdlr_hdr->version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1038:40: 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] 1038 | qt_hdlr_hdr->type = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1039:43: 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] 1039 | qt_hdlr_hdr->subtype = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1040:42: 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] 1040 | qt_hdlr_hdr->vendor = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1041:41: 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] 1041 | qt_hdlr_hdr->flags = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1042:40: 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] 1042 | qt_hdlr_hdr->mask = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1055:17: warning: passing arguments to 'QT_Read_Name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | QT_Read_Name(xin,len); | ^ xa_qt.c:1033:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | void QT_Read_HDLR(xin,len,qt_hdlr_hdr) | ^ xa_qt.c:113: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] 113 | void QT_Read_HDLR(); | ^ xa_qt.c:1070:30: 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] 1070 | version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1071: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] 1071 | num = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1077:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | if (qtv_codecs==0) TheEnd1("QT STSD: malloc err"); | ^ xa_qt.c:1083:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | if (tcodecs==0) TheEnd1("QT STSD: malloc err"); | ^ xa_qt.c:1093:35: warning: passing arguments to 'QT_Read_Video_Codec_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | sup |= QT_Read_Video_Codec_HDR(anim_hdr,qt, &qtv_codecs[cur], xin, &clen ); | ^ xa_qt.c:1099:19: 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] 1099 | xin->Seek_FPos(xin,clen,1); | ^ xa_qt.c:1110:30: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | if (qt->pic == 0) TheEnd1("QT_Buffer_Action: malloc failed"); | ^ xa_qt.c:1064:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | xaULONG QT_Read_Video_STSD(anim_hdr,qt,xin,clen) | ^ xa_qt.c:114:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | xaULONG QT_Read_Video_STSD(); | ^ xa_qt.c:1128: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] 1128 | len = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1130: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] 1130 | id = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1131: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] 1131 | unk_0 = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1132: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] 1132 | unk_1 = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1133: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] 1133 | unk_2 = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1134: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] 1134 | unk_3 = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1135: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] 1135 | vendor = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1136:32: 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] 1136 | temp_qual = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1137:32: 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] 1137 | spat_qual = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1138:33: 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] 1138 | qt->imagex = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1139:33: 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] 1139 | qt->imagey = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1140: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] 1140 | h_res = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1141: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] 1141 | unk_4 = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1142: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] 1142 | v_res = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1143: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] 1143 | unk_5 = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1144: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] 1144 | unk_6 = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1145: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] 1145 | unk_7 = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1146:15: warning: passing arguments to 'QT_Read_Name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | QT_Read_Name(xin,32); | ^ xa_qt.c:1147:32: 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] 1147 | qt->depth = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1148: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] 1148 | flag = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1168:29: warning: passing arguments to 'QT_Create_Default_Cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | QT_Create_Default_Cmap(qt->cmap,qt->imagec); | ^ xa_qt.c:1173:22: warning: passing arguments to 'QT_Create_Gray_Cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | QT_Create_Gray_Cmap(qt->cmap,1,qt->imagec); | ^ xa_qt.c:1174:31: warning: passing arguments to 'QT_Create_Gray_Cmap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | else QT_Create_Gray_Cmap(qt->cmap,0,qt->imagec); | ^ xa_qt.c:1181:32: 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] 1181 | start = xin->Read_MSB_U32(xin); /* is this start or something else? */ | ^ xa_qt.c:1182:32: 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] 1182 | cflag = xin->Read_MSB_U16(xin); /* is this end or total number? */ | ^ xa_qt.c:1183:32: 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] 1183 | end = xin->Read_MSB_U16(xin); /* is this end or total number? */ | ^ xa_qt.c:1188:30: 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] 1188 | p = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1189:30: 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] 1189 | r = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1190:30: 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] 1190 | g = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1191:30: 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] 1191 | b = xin->Read_MSB_U16(xin); len -= 8; | ^ xa_qt.c:1205:19: 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] 1205 | { xin->Seek_FPos(xin,len,1); | ^ xa_qt.c:1217:35: warning: passing arguments to 'QT_Video_Codec_Query' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | codec_ret = QT_Video_Codec_Query( &qt_codec_hdr ); | ^ xa_qt.c:1274:28: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | qt->chdr = ACT_Get_CMAP(qt->cmap,qt->imagec,0,qt->imagec,0,8,8,8); | ^ xa_qt.c:1278:28: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1278 | qt->chdr = ACT_Get_CMAP(qt->cmap,qt->imagec,0,qt->imagec,0,16,16,16); | ^ xa_qt.c:1286:29: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | qt->chdr = CMAP_Create_332(qt->cmap,&qt->imagec); | ^ xa_qt.c:1287:39: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | else qt->chdr = CMAP_Create_Gray(qt->cmap,&qt->imagec); | ^ xa_qt.c:1116:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | xaULONG QT_Read_Video_Codec_HDR(anim_hdr,qt,c_hdr,xin, clen) | ^ xa_qt.c:64:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | xaULONG QT_Read_Video_Codec_HDR(); | ^ xa_qt.c:1307: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] 1307 | len = xin->Read_U8(xin); r_len--; | ^ xa_qt.c:1313: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] 1313 | d = xin->Read_U8(xin) & 0x7f; | ^ xa_qt.c:1301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | void QT_Read_Name(xin,r_len) | ^ xa_qt.c:116: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] 116 | void QT_Read_Name(); | ^ xa_qt.c:1330:30: 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] 1330 | version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1331: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] 1331 | num = xin->Read_MSB_U32(xin); len -= 8; | ^ xa_qt.c:1339:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | if (t2samps==0) TheEnd1("QT_Read_STTS: malloc err"); | ^ xa_qt.c:1346:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | if (t_t2samp==0) TheEnd1("QT_Read_STTS: malloc err"); | ^ xa_qt.c:1355:33: 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] 1355 | samp_cnt = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1356:33: 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] 1356 | duration = xin->Read_MSB_U32(xin); len -= 8; | ^ xa_qt.c:1370:38: 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] 1370 | while(len > 0) {len--; xin->Read_U8(xin); } | ^ xa_qt.c:1320:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | void QT_Read_STTS(xin,len,qt_t2samp_num,qt_t2samps) | ^ xa_qt.c:117: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] 117 | void QT_Read_STTS(); | ^ xa_qt.c:1379:30: 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] 1379 | version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1380: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] 1380 | num = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1390:33: 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] 1390 | samp_num = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1375:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | void QT_Read_STSS(xin) | ^ xa_qt.c:118: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] 118 | void QT_Read_STSS(); | ^ xa_qt.c:1414:30: 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] 1414 | version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1415: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] 1415 | num = xin->Read_MSB_U32(xin); len -= 16; | ^ xa_qt.c:1451:36: 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] 1451 | first_chk = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1452:30: 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] 1452 | tmp = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1453:35: 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] 1453 | samp_per = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1454:36: 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] 1454 | chunk_tag = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1473:36: 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] 1473 | first_chk = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1474:35: 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] 1474 | samp_per = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1475:36: 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] 1475 | chunk_tag = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1492:33: 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] 1492 | while (len > 0) { xin->Read_U8(xin); len--; } | ^ xa_qt.c:1402:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1402 | void QT_Read_STSC(xin,len,qt_s2chunk_num,qt_s2chunks, | ^ xa_qt.c:121: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] 121 | void QT_Read_STSC(); | ^ xa_qt.c:1507:30: 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] 1507 | version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1508:32: 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] 1508 | samp_size = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1509: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] 1509 | num = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1534:53: 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] 1534 | if (i < len) samp_sizes[cur] = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1498:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | void QT_Read_STSZ(xin,len,qt_samp_num,qt_samp_sizes) | ^ xa_qt.c:120: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] 120 | void QT_Read_STSZ(); | ^ xa_qt.c:1553:30: 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] 1553 | version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1554: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] 1554 | num = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1573:57: 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] 1573 | for(i=0;iRead_MSB_U32(xin); cur++; } | ^ xa_qt.c:1544:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1544 | void QT_Read_STCO(xin,qt_chunkoff_num,qt_chunkoffs) | ^ xa_qt.c:119: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] 119 | void QT_Read_STCO(); | ^ xa_qt.c:1679:27: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_qt.c:1683:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1683 | if (dlta_hdr == 0) TheEnd1("QT rle: malloc failed"); | ^ xa_qt.c:1694:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | if (dlta_hdr == 0) TheEnd1("QT rle: malloc failed"); | ^ xa_qt.c:1698: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] 1698 | xin->Seek_FPos(xin,cur_off,0); | ^ xa_qt.c:1699: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] 1699 | ret = xin->Read_Block(xin, dlta_hdr->data, size); | ^ xa_qt.c:1755:22: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1755 | ACT_Setup_Delta(qt,act,dlta_hdr,xin); | ^ xa_qt.c:1584:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | xaULONG QT_Read_Video_Data(qt,xin,anim_hdr) | ^ xa_qt.c:105:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | xaULONG QT_Read_Video_Data(); | ^ xa_qt.c:1774:30: 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] 1774 | version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1775: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] 1775 | num = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1782:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | if (qts_codecs==0) TheEnd1("QT STSD: malloc err"); | ^ xa_qt.c:1789:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | if (tcodecs==0) TheEnd1("QT STSD: malloc err"); | ^ xa_qt.c:1799:35: warning: passing arguments to 'QT_Read_Audio_Codec_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | sup |= QT_Read_Audio_Codec_HDR( &qts_codecs[cur], xin, &clen ); | ^ xa_qt.c:1814:19: 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] 1814 | xin->Seek_FPos(xin,clen,1); | ^ xa_qt.c:1770:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1770 | void QT_Read_Audio_STSD(xin,clen) | ^ xa_qt.c:115: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] 115 | void QT_Read_Audio_STSD(); | ^ xa_qt.c:1825: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] 1825 | len = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1826:37: 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] 1826 | c_hdr->format = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1828:37: 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] 1828 | c_hdr->dref_id = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1829:37: 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] 1829 | c_hdr->version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1830:39: 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] 1830 | c_hdr->codec_rev = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1831:37: 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] 1831 | c_hdr->vendor = xin->Read_MSB_U32(xin); | ^ xa_qt.c:1832:38: 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] 1832 | c_hdr->chan_num = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1833:39: 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] 1833 | c_hdr->bits_samp = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1842:37: 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] 1842 | c_hdr->comp_id = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1843:39: 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] 1843 | c_hdr->pack_size = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1844:39: 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] 1844 | c_hdr->samp_rate = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1845:34: 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] 1845 | c_hdr->pad = xin->Read_MSB_U16(xin); | ^ xa_qt.c:1889:53: warning: passing arguments to 'QT_Audio_Type' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | fprintf(stdout," Audio Codec: "); QT_Audio_Type(c_hdr->format); | ^ xa_qt.c:1819:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1819 | xaULONG QT_Read_Audio_Codec_HDR(c_hdr,xin, clen) | ^ xa_qt.c:65:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | xaULONG QT_Read_Audio_Codec_HDR(); | ^ xa_qt.c:1921:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1921 | void QT_Audio_Type(type) | ^ xa_qt.c:66: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] 66 | void QT_Audio_Type(); | ^ xa_qt.c:1970:21: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1970 | if (XA_Add_Sound(anim_hdr,0,XA_AUDIO_NOP, -1, qt_audio_freq, | ^ xa_qt.c:2050:23: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2050 | if (XA_Add_Sound(anim_hdr,0,qt_audio_type, chunk_off, qt_audio_freq, | ^ xa_qt.c:2057:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2057 | if (snd_data==0) TheEnd1("QT aud_dat: malloc err"); | ^ xa_qt.c:2058: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] 2058 | xin->Seek_FPos(xin,chunk_off,0); /* move to start of chunk data */ | ^ xa_qt.c:2059: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] 2059 | ret = xin->Read_Block(xin, snd_data, snd_size); | ^ xa_qt.c:2064:23: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | if (XA_Add_Sound(anim_hdr,snd_data,qt_audio_type, -1, qt_audio_freq, | ^ xa_qt.c:1942:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1942 | xaULONG QT_Read_Audio_Data(qt,xin,anim_hdr) | ^ xa_qt.c:106:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | xaULONG QT_Read_Audio_Data(); | ^ xa_qt.c:2085:30: 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] 2085 | version = xin->Read_MSB_U32(xin); | ^ xa_qt.c:2086: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] 2086 | num = xin->Read_MSB_U32(xin); len -= 16; | ^ xa_qt.c:2090:30: 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] 2090 | samps = xin->Read_MSB_U32(xin); | ^ xa_qt.c:2091: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] 2091 | pad = xin->Read_MSB_U32(xin); len -= 8; | ^ xa_qt.c:2094:38: 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] 2094 | while(len > 0) {len--; xin->Read_U8(xin); } | ^ xa_qt.c:2078:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2078 | void QT_Read_STGS(xin,len) | ^ xa_qt.c:122: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] 122 | void QT_Read_STGS(); | ^ xa_qt.c:2132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2132 | void QT_Create_Default_Cmap(cmap,cnum) | ^ xa_qt.c:70: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] 70 | void QT_Create_Default_Cmap(); | ^ xa_qt.c:2185:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2185 | void QT_Create_Gray_Cmap(cmap,flag,num) | ^ xa_qt.c:71: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] 71 | void QT_Create_Gray_Cmap(); | ^ 275 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_qt_decs.c xa_qt_decs.c:236:21: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,0,xaFALSE); | ^ xa_qt_decs.c:250:30: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_qt_decs.c:260:20: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,0,xaFALSE); | ^ xa_qt_decs.c:261:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_qt_decs.c:266:48: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | if (codec->depth > 8) XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_qt_decs.c:281:48: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | if (codec->depth > 8) XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_qt_decs.c:283:27: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,0,xaFALSE); | ^ xa_qt_decs.c:299:48: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | if (codec->depth > 8) XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_qt_decs.c:301:27: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,0,xaFALSE); | ^ xa_qt_decs.c:313:20: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,0,xaFALSE); | ^ xa_qt_decs.c:314:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_qt_decs.c:315:17: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_qt_decs.c:332:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_qt_decs.c:115:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | xaLONG QT_Codec_Query(codec) | ^ xa_qt_decs.c:47:8: warning: a function declaration without a prototype is 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 | xaLONG QT_Codec_Query(); | ^ xa_qt_decs.c:347:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | xaLONG QT_UNK_Codec_Query(codec) | ^ xa_qt_decs.c:48:8: warning: a function declaration without a prototype is 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 | xaLONG QT_UNK_Codec_Query(); | ^ xa_qt_decs.c:435:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | xaULONG QT_Decode_RAW4(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:51:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | xaULONG QT_Decode_RAW4(); | ^ xa_qt_decs.c:472:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | xaULONG QT_Decode_RAW1(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:50:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | xaULONG QT_Decode_RAW1(); | ^ xa_qt_decs.c:542:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | xaULONG QT_Decode_RAW8(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:52:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | xaULONG QT_Decode_RAW8(); | ^ xa_qt_decs.c:608:43: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | *iptr++ = (xaUBYTE)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:615:43: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | *iptr++ = (xaULONG)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:622:44: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 622 | *iptr++ = (xaUSHORT)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:578:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | xaULONG QT_Decode_RAW16(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:53:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | xaULONG QT_Decode_RAW16(); | ^ xa_qt_decs.c:662:43: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | *iptr++ = (xaUBYTE)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:670:43: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | *iptr++ = (xaULONG)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:678:44: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | *iptr++ = (xaUSHORT)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:633:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | xaULONG QT_Decode_RAW24(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:54:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | xaULONG QT_Decode_RAW24(); | ^ xa_qt_decs.c:718:43: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | *iptr++ = (xaUBYTE)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:726:43: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | *iptr++ = (xaULONG)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:734:44: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | *iptr++ = (xaUSHORT)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:690:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | xaULONG QT_Decode_RAW32(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:55:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | xaULONG QT_Decode_RAW32(); | ^ xa_qt_decs.c:743:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | xaULONG QT_Decode_RLE1(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:56:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | xaULONG QT_Decode_RLE1(); | ^ xa_qt_decs.c:853:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | xaULONG QT_Decode_RLE2(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:57:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | xaULONG QT_Decode_RLE2(); | ^ xa_qt_decs.c:976:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | xaULONG QT_Decode_RLE4(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:58:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | xaULONG QT_Decode_RLE4(); | ^ xa_qt_decs.c:1100:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | xaULONG QT_Decode_RLE8(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:59:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | xaULONG QT_Decode_RLE8(); | ^ xa_qt_decs.c:1239:20: warning: passing arguments to 'QT_Get_RGBColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1239 | QT_Get_RGBColor(&r,&g,&b,d); | ^ xa_qt_decs.c:1243:26: warning: passing arguments to 'QT_Get_RGBColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | QT_Get_RGBColor(&r,&g,&b,d); | ^ xa_qt_decs.c:1256:34: warning: passing arguments to 'QT_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | *iptr++ = (xaUBYTE)QT_Get_Color(d,map_flag,map,chdr); } | ^ xa_qt_decs.c:1259:27: warning: passing arguments to 'QT_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | d = QT_Get_Color(d,map_flag,map,chdr); | ^ xa_qt_decs.c:1272:34: warning: passing arguments to 'QT_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | *iptr++ = (xaULONG)QT_Get_Color(d,map_flag,map,chdr); } | ^ xa_qt_decs.c:1275:27: warning: passing arguments to 'QT_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | d = QT_Get_Color(d,map_flag,map,chdr); | ^ xa_qt_decs.c:1288:35: warning: passing arguments to 'QT_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | *iptr++ = (xaUSHORT)QT_Get_Color(d,map_flag,map,chdr); } | ^ xa_qt_decs.c:1291:27: warning: passing arguments to 'QT_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | d = QT_Get_Color(d,map_flag,map,chdr); | ^ xa_qt_decs.c:1192:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1192 | xaULONG QT_Decode_RLE16(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:60:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | xaULONG QT_Decode_RLE16(); | ^ xa_qt_decs.c:1366:39: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | *iptr++ = (xaUBYTE)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); } | ^ xa_qt_decs.c:1369:32: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | d = XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:1381:39: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | *iptr++ = (xaULONG)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); } | ^ xa_qt_decs.c:1384:32: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | d = XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:1397:46: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | *iptr++ = (xaUSHORT)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); } | ^ xa_qt_decs.c:1400:32: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | d = XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:1306:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | xaULONG QT_Decode_RLE24(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:61:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | xaULONG QT_Decode_RLE24(); | ^ xa_qt_decs.c:1479:39: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | *iptr++ = (xaUBYTE)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); } | ^ xa_qt_decs.c:1482:32: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | d = XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:1495:39: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1495 | *iptr++ = (xaULONG)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); } | ^ xa_qt_decs.c:1498:32: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | d = XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:1511:40: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | *iptr++ = (xaUSHORT)XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); } | ^ xa_qt_decs.c:1514:32: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | d = XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr); | ^ xa_qt_decs.c:1415:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | xaULONG QT_Decode_RLE32(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:62:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | xaULONG QT_Decode_RLE32(); | ^ xa_qt_decs.c:1631:28: warning: passing arguments to 'QT_RPZA_Dither' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1631 | return( QT_RPZA_Dither(image,dptr,len,dec_info) ); | ^ xa_qt_decs.c:1659:24: warning: passing arguments to 'QT_Get_RGBColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | QT_Get_RGBColor(&r,&g,&b,color); | ^ xa_qt_decs.c:1672:29: warning: passing arguments to 'QT_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | color = QT_Get_Color(color,map_flag,map,chdr); | ^ xa_qt_decs.c:1714:19: warning: passing arguments to 'QT_Get_RGBColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1714 | { QT_Get_RGBColor(&r[0],&g[0],&b[0],cA); | ^ xa_qt_decs.c:1715:26: warning: passing arguments to 'QT_Get_RGBColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1715 | QT_Get_RGBColor(&r[1],&g[1],&b[1],cB); | ^ xa_qt_decs.c:1719:28: warning: passing arguments to 'QT_Get_RGBColor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1719 | QT_Get_RGBColor(&r[i],&g[i],&b[i],d); | ^ xa_qt_decs.c:1725:32: warning: passing arguments to 'QT_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1725 | *clr++ = QT_Get_Color(cA,map_flag,map,chdr); | ^ xa_qt_decs.c:1726:32: warning: passing arguments to 'QT_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | *clr++ = QT_Get_Color(cB,map_flag,map,chdr); | ^ xa_qt_decs.c:1730:34: warning: passing arguments to 'QT_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | *clr++ = QT_Get_Color(d,map_flag,map,chdr); | ^ xa_qt_decs.c:1766:35: warning: passing arguments to 'QT_Get_AV_RGBColors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | if (special) QT_Get_AV_RGBColors(c,r,g,b,cA,cB); | ^ xa_qt_decs.c:1767:25: warning: passing arguments to 'QT_Get_AV_Colors' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1767 | else QT_Get_AV_Colors(c,cA,cB,map_flag,map,chdr); | ^ xa_qt_decs.c:1595:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | xaULONG QT_Decode_RPZA(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:63:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | xaULONG QT_Decode_RPZA(); | ^ xa_qt_decs.c:1826:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1826 | void QT_Get_RGBColor(r,g,b,color) | ^ xa_qt_decs.c:83: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] 83 | void QT_Get_RGBColor(); | ^ xa_qt_decs.c:1836:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1836 | void QT_Get_RGBColorL(r,g,b,color) | ^ xa_qt_decs.c:84: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] 84 | void QT_Get_RGBColorL(); | ^ xa_qt_decs.c:1857:63: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); | ^ xa_qt_decs.c:1862:43: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_qt_decs.c:1871:29: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1871 | CMAP_Find_Closest(chdr->cmap,chdr->csize,ra,ga,ba,16,16,16,xaTRUE); | ^ xa_qt_decs.c:1846:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1846 | xaULONG QT_Get_Color(color,map_flag,map,chdr) | ^ xa_qt_decs.c:82:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | xaULONG QT_Get_Color(); | ^ xa_qt_decs.c:1887:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | void QT_Get_AV_RGBColors(c,r,g,b,cA,cB) | ^ xa_qt_decs.c:86: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] 86 | void QT_Get_AV_RGBColors(); | ^ xa_qt_decs.c:1910:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1910 | void QT_Get_AV_DITH_RGB(r,g,b,cA,cB) | ^ xa_qt_decs.c:87: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] 87 | void QT_Get_AV_DITH_RGB(); | ^ xa_qt_decs.c:1964:63: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1964 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(rA,gA,bA,16); | ^ xa_qt_decs.c:1969:43: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1969 | if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_qt_decs.c:1978:29: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | CMAP_Find_Closest(chdr->cmap,chdr->csize,rA,gA,bA,16,16,16,xaTRUE); | ^ xa_qt_decs.c:1992:63: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(rB,gB,bB,16); | ^ xa_qt_decs.c:2000:29: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | CMAP_Find_Closest(chdr->cmap,chdr->csize,rB,gB,bB,16,16,16,xaTRUE); | ^ xa_qt_decs.c:2014:63: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2014 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(r0,g0,b0,16); | ^ xa_qt_decs.c:2023:29: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2023 | CMAP_Find_Closest(chdr->cmap,chdr->csize,r0,g0,b0,16,16,16,xaTRUE); | ^ xa_qt_decs.c:2037:63: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(r1,g1,b1,16); | ^ xa_qt_decs.c:2046:29: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2046 | CMAP_Find_Closest(chdr->cmap,chdr->csize,r1,g1,b1,16,16,16,xaTRUE); | ^ xa_qt_decs.c:1932:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | void QT_Get_AV_Colors(c,cA,cB,map_flag,map,chdr) | ^ xa_qt_decs.c:85: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] 85 | void QT_Get_AV_Colors(); | ^ xa_qt_decs.c:2103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | QT_Decode_SMC(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:64:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | xaULONG QT_Decode_SMC(); | ^ xa_qt_decs.c:2384:55: warning: passing arguments to 'XA_YUV211111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2384 | void (*color_func)() = (void (*)())XA_YUV211111_Func(dec_info->image_type); | ^ xa_qt_decs.c:2407: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] 2407 | { color_func(image,imagex,ycnt,imagex,ycnt, | ^ xa_qt_decs.c:2372:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2372 | xaULONG QT_Decode_YUV2(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:65:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | xaULONG QT_Decode_YUV2(); | ^ xa_qt_decs.c:2422:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | xaULONG QT_RPZA_Dither(image,delta,len,dec_info) | ^ xa_qt_decs.c:72:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | xaULONG QT_RPZA_Dither(); | ^ xa_qt_decs.c:2783:19: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 2783 | xaULONG extra = (xaULONG)(dec_info->extra); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ xa_qt_decs.c:2864:28: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2864 | (xaUBYTE)XA_RGB24_To_CLR32(*yp++,*up++,*vp++,map_flag,map,chdr); | ^ xa_qt_decs.c:2869:28: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2869 | (xaULONG)XA_RGB24_To_CLR32(*yp++,*up++,*vp++,map_flag,map,chdr); | ^ xa_qt_decs.c:2874:29: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2874 | (xaUSHORT)XA_RGB24_To_CLR32(*yp++,*up++,*vp++,map_flag,map,chdr); | ^ xa_qt_decs.c:2775:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2775 | xaULONG QT_Decode_8BPS24(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:67:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | xaULONG QT_Decode_8BPS24(); | ^ xa_qt_decs.c:2884:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2884 | xaULONG QT_Decode_8BPS8(image,delta,dsize,dec_info) | ^ xa_qt_decs.c:66:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | xaULONG QT_Decode_8BPS8(); | ^ 125 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_audio.c xa_audio.c:413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | void XA_NoAudio_Nop2(flag) xaULONG flag; { return; } | ^ xa_audio.c:391:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 391 | void XA_NoAudio_Nop2(); | ^ xa_audio.c:414:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | xaULONG XA_NoAudio_Nop1(num) xaULONG num; { return(0); } | ^ xa_audio.c:390:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 390 | xaULONG XA_NoAudio_Nop1(); | ^ xa_audio.c:5060:18: warning: passing arguments to 'Init_Audio_Ring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5060 | Init_Audio_Ring(xa_audio_ring_size, | ^ xa_audio.c:5070:20: warning: passing arguments to 'OpenBSD_Audio_Off' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5070 | OpenBSD_Audio_Off(0); | ^ xa_audio.c:5080:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5080 | void OpenBSD_Audio_Off(flag) | ^ xa_audio.c:4959:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4959 | void OpenBSD_Audio_Off(); | ^ xa_audio.c:5128:19: warning: passing arguments to 'XA_Update_Ring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5128 | XA_Update_Ring(1000); | ^ xa_audio.c:5159:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5159 | xaULONG OpenBSD_Closest_Freq(ifreq) | ^ xa_audio.c:4963:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4963 | xaULONG OpenBSD_Closest_Freq(); | ^ xa_audio.c:5166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5166 | void OpenBSD_Set_Output_Port(aud_ports) | ^ xa_audio.c:4964: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] 4964 | void OpenBSD_Set_Output_Port(); | ^ xa_audio.c:5177:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5177 | void OpenBSD_Speaker_Toggle(flag) | ^ xa_audio.c:4965: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] 4965 | void OpenBSD_Speaker_Toggle(); | ^ xa_audio.c:5188:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5188 | void OpenBSD_Headphone_Toggle(flag) | ^ xa_audio.c:4966: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] 4966 | void OpenBSD_Headphone_Toggle(); | ^ xa_audio.c:5198:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5198 | void OpenBSD_Adjust_Volume(volume) | ^ xa_audio.c:4962:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4962 | void OpenBSD_Adjust_Volume(); | ^ xa_audio.c:5737:8: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_SND *' (aka 'struct XA_SND_STRUCT *') [-Wpointer-to-int-cast] 5737 | (xaULONG)snd_hdr); | ^~~~~~~~~~~~~~~~ xa_audio.c:5746:20: warning: passing arguments to 'XA_Audio_Init_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5746 | XA_Audio_Init_Snd(xa_snd_cur); | ^ xa_audio.c:5750:24: warning: passing arguments to 'XA_Read_Audio_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5750 | XA_Read_Audio_Delta(xa_aud_fd,xa_snd_cur->fpos, | ^ xa_audio.c:5734:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5734 | XA_SND *XA_Audio_Next_Snd(snd_hdr) | ^ xa_audio.c:274:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 274 | XA_SND *XA_Audio_Next_Snd(); | ^ xa_audio.c:5763:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5763 | if (ret != fpos) TheEnd1("XA_Read_Audio_Delta:seek err"); | ^ xa_audio.c:5765:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5765 | if (ret != fsize) TheEnd1("XA_Read_Audio_Delta:read err"); | ^ xa_audio.c:5756:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5756 | void XA_Read_Audio_Delta(fd,fpos,fsize,buf) | ^ xa_audio.c:275: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] 275 | void XA_Read_Audio_Delta(); | ^ xa_audio.c:5774:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5774 | xaUBYTE XA_Signed_To_uLaw(ch) | ^ xa_audio.c:316:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 316 | xaUBYTE XA_Signed_To_uLaw(); | ^ xa_audio.c:5821:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5821 | xaLONG XA_uLaw_to_Signed( ulawbyte ) | ^ xa_audio.c:315:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 315 | xaLONG XA_uLaw_to_Signed(); | ^ xa_audio.c:5935:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5935 | if (t_ring==0) TheEnd1("Init Audio Ring: malloc err0"); | ^ xa_audio.c:5937:26: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5937 | if (t_buf==0) TheEnd1("Init Audio Ring: malloc err1"); | ^ xa_audio.c:5923:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5923 | void Init_Audio_Ring(ring_num,buf_size) | ^ xa_audio.c:270: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] 270 | void Init_Audio_Ring(); | ^ xa_audio.c:5992: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] 5992 | xx = xa_snd_cur->delta(xa_snd_cur,xa_audio_ring_t->buf,0, | ^ xa_audio.c:5980:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5980 | void XA_Update_Ring(cnt) | ^ xa_audio.c:272: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] 272 | void XA_Update_Ring(); | ^ xa_audio.c:6206: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] 6206 | XA_Adjust_Volume(vol); | ^ xa_audio.c:6238: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] 6238 | { XA_Audio_Off(0); | ^ 41 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_ipc.c xa_ipc.c:141:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | xaULONG XA_IPC_Send(fd,p,len,who) | ^ xa_ipc.c:111:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | xaULONG XA_IPC_Send(); | ^ xa_ipc.c:164:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | xaULONG XA_IPC_Receive(fd,p,len,timeout,who) | ^ xa_ipc.c:110:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 110 | xaULONG XA_IPC_Receive(); | ^ xa_ipc.c:202:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | xaULONG XA_IPC_Select(fd,timeout,who) | ^ xa_ipc.c:235:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | xaULONG XA_Video_Receive_Ack(ack_flag) | ^ xa_ipc.c:114:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | xaULONG XA_Video_Receive_Ack(); | ^ xa_ipc.c:256:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | xaULONG XA_Video_Send2_Audio(cmd,buf,buf_len,value,ack_flag,ack_val) | ^ xa_ipc.c:113:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 113 | xaULONG XA_Video_Send2_Audio(); | ^ xa_ipc.c:353:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | xaULONG XA_Audio_Receive_Video_CMD(ipc_cmd,timeout) | ^ xa_ipc.c:115:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | xaULONG XA_Audio_Receive_Video_CMD(); | ^ xa_ipc.c:398:22: warning: passing arguments to 'XA_Audio_Send_ACK' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | XA_Audio_Send_ACK(XA_IPC_OK,0,0); | ^ xa_ipc.c:376:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | xaUBYTE *XA_Audio_Receive_Video_Buf(len,timeout) | ^ xa_ipc.c:116:10: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | xaUBYTE *XA_Audio_Receive_Video_Buf(); | ^ xa_ipc.c:427:18: warning: passing arguments to 'XA_Child_Dies' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | XA_Child_Dies((int)(0)); | ^ xa_ipc.c:433:19: warning: passing arguments to 'XA_Child_Dies' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | XA_Child_Dies((int)(0)); /* terminate audio process */ | ^ xa_ipc.c:409:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | xaULONG XA_Audio_Send_ACK(ack,id,value) | ^ xa_ipc.c:117:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | xaULONG XA_Audio_Send_ACK(); | ^ xa_ipc.c:444:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | void XA_Child_Dies(dummy) | ^ xa_ipc.c:107: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] 107 | void XA_Child_Dies(); | ^ xa_ipc.c:472:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | void XA_Child_Dies1(s) | ^ xa_ipc.c:108: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] 108 | void XA_Child_Dies1(); | ^ xa_ipc.c:484:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | XA_AUD_HDR *Return_Aud_Hdr(aud_hdr) | ^ xa_ipc.c:507:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | void Free_SNDs(snd) | ^ xa_ipc.c:120: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] 120 | void Free_SNDs(); | ^ xa_ipc.c:523:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | XA_AUD_HDR *Get_Aud_Hdr(aud_hdr,num) | ^ xa_ipc.c:589:36: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | if (theAudDisp == NULL) { TheEnd1("Unable to open display\n"); } | ^ xa_ipc.c:685:53: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_SND *' (aka 'struct XA_SND_STRUCT *') [-Wpointer-to-int-cast] 685 | AUD_DEBUG fprintf(stderr,"AUD IPC: AUD_PREP %x\n",(xaULONG)xa_snd_cur); | ^~~~~~~~~~~~~~~~~~~ xa_ipc.c:691:51: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_SND *' (aka 'struct XA_SND_STRUCT *') [-Wpointer-to-int-cast] 691 | AUD_DEBUG fprintf(stderr,"AUD IPC: AUD_ON %x\n",(xaULONG)xa_snd_cur); | ^~~~~~~~~~~~~~~~~~~ xa_ipc.c:698:14: 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] 698 | XA_Audio_Off(ipc_cmd.value); | ^ xa_ipc.c:705:44: 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] 705 | if (XA_Set_Output_Port) XA_Set_Output_Port(ipc_cmd.value); | ^ xa_ipc.c:711: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] 711 | XA_Speaker_Tog(ipc_cmd.value); | ^ xa_ipc.c:717:18: 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] 717 | XA_Headphone_Tog(ipc_cmd.value); | ^ xa_ipc.c:723: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] 723 | XA_LineOut_Tog(ipc_cmd.value); | ^ xa_ipc.c:730:6: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'xaULONG (*)()' (aka 'unsigned int (*)()') [-Wpointer-to-int-cast] 730 | (xaULONG)(XA_Closest_Freq),hfreq); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ xa_ipc.c:731: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] 731 | hfreq = XA_Closest_Freq(hfreq); | ^ xa_ipc.c:757:37: warning: passing arguments to 'XA_Child_Find_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | { int file_ret = XA_Child_Find_File(ipc_cmd.value,0); | ^ xa_ipc.c:764:4: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'xaUBYTE *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 764 | (xaULONG)ipc_buff, ipc_cmd.value, file_ret); | ^~~~~~~~~~~~~~~~~ xa_ipc.c:782:22: warning: passing arguments to 'XA_Child_Find_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 782 | XA_Child_Find_File(ipc_cmd.value,0); /* POD add check for err */ | ^ xa_ipc.c:801:25: warning: passing arguments to 'XA_Child_Find_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | if ( XA_Child_Find_File(ipc_cmd.value,0) == xaNOFILE) | ^ xa_ipc.c:817:27: warning: passing arguments to 'XA_Child_Find_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | ok = XA_Child_Find_File(ipc_cmd.value,0); | ^ xa_ipc.c:843:27: warning: passing arguments to 'XA_Read_Audio_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | XA_Read_Audio_Delta(xa_aud_fd,xa_snd_cur->fpos, | ^ xa_ipc.c:855:27: warning: passing arguments to 'XA_Child_Find_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | ok = XA_Child_Find_File(ipc_cmd.value,0); | ^ xa_ipc.c:865:27: warning: passing arguments to 'XA_Child_Find_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | ok = XA_Child_Find_File(ipc_cmd.value,1); | ^ xa_ipc.c:874:21: warning: passing arguments to 'XA_Audio_Init_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | XA_Audio_Init_Snd(xa_snd_cur); | ^ xa_ipc.c:887:33: warning: passing arguments to 'XA_Child_Find_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | sret = XA_Child_Find_File(ipc_cmd.value,1); | ^ xa_ipc.c:894:45: warning: passing arguments to 'XA_IPC_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | if (new_snd) sret = XA_IPC_Sound(xa_aud_hdr_cur,new_snd); | ^ xa_ipc.c:952:31: warning: passing arguments to 'XA_IPC_Reset_AV_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | XA_IPC_Reset_AV_Time(ipc_cmd.value); | ^ xa_ipc.c:633:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | void XA_Child_Loop(w,fin,id) | ^ xa_ipc.c:105: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] 105 | void XA_Child_Loop(); | ^ xa_ipc.c:1122:17: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_AUD_HDR *' (aka 'struct STRUCT_XA_AUD_HDR *') [-Wpointer-to-int-cast] 1122 | num, cur->num, (xaULONG)cur, (xaULONG)cur->next, (xaULONG)cur->prev, | ^~~~~~~~~~~~ xa_ipc.c:1122:31: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'struct STRUCT_XA_AUD_HDR *' [-Wpointer-to-int-cast] 1122 | num, cur->num, (xaULONG)cur, (xaULONG)cur->next, (xaULONG)cur->prev, | ^~~~~~~~~~~~~~~~~~ xa_ipc.c:1122:51: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'struct STRUCT_XA_AUD_HDR *' [-Wpointer-to-int-cast] 1122 | num, cur->num, (xaULONG)cur, (xaULONG)cur->next, (xaULONG)cur->prev, | ^~~~~~~~~~~~~~~~~~ xa_ipc.c:1123:2: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_AUD_HDR *' (aka 'struct STRUCT_XA_AUD_HDR *') [-Wpointer-to-int-cast] 1123 | (xaULONG) xa_aud_hdr_cur); | ^~~~~~~~~~~~~~~~~~~~~~~~ xa_ipc.c:1115:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | xaULONG XA_Child_Find_File(num,flag) | ^ xa_ipc.c:118:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | xaULONG XA_Child_Find_File(); | ^ xa_ipc.c:1144:22: warning: passing arguments to 'XA_Audio_Init_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1144 | XA_Audio_Init_Snd(xa_snd_cur); | ^ xa_ipc.c:1178:28: warning: passing arguments to 'XA_Read_Audio_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | XA_Read_Audio_Delta(xa_aud_fd,xa_snd_cur->fpos, | ^ xa_ipc.c:1189:26: warning: passing arguments to 'XA_Audio_Init_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | XA_Audio_Init_Snd(xa_snd_cur); | ^ xa_ipc.c:1194:40: 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] 1194 | { diff = tmp_cnt - xa_snd_cur->delta(xa_snd_cur,garb,0,tmp_cnt); | ^ xa_ipc.c:1139:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | void XA_IPC_Reset_AV_Time(vid_time) | ^ xa_ipc.c:119: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] 119 | void XA_IPC_Reset_AV_Time(); | ^ xa_ipc.c:1220:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | void XA_IPC_Set_Debug(value) | ^ 63 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_color.c xa_color.c:169:28: warning: passing arguments to 'XA_Add_Func_To_Free_Chain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | XA_Add_Func_To_Free_Chain(anim_hdr,XA_Free_YUV_Tabs); | ^ xa_color.c:179:11: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | TheEnd1("YUV_GEN: yuv tab malloc err"); | ^ xa_color.c:187:11: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | TheEnd1("YUV2_GEN: yuv tab malloc err"); | ^ xa_color.c:163:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | void XA_Gen_YUV_Tabs(anim_hdr) | ^ xa_color.c:30: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] 30 | void XA_Gen_YUV_Tabs(); | ^ xa_color.c:244:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | void yuv_to_rgb(y,u,v,ir,ig,ib) | ^ xa_color.c:269:26: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | clr = X11_Get_True_Color( xa_gamma_adj[r], | ^ xa_color.c:275:43: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_color.c:285:29: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | CMAP_Find_Closest(chdr->cmap,chdr->csize,r,g,b,16,16,16,xaTRUE); | ^ xa_color.c:259:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | xaULONG XA_RGB16_To_CLR32(col,map_flag,map,chdr) | ^ xa_color.c:40:9: warning: a function declaration without a prototype is 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 | xaULONG XA_RGB16_To_CLR32(); | ^ xa_color.c:308:26: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | clr = X11_Get_True_Color( xa_gamma_adj[r], | ^ xa_color.c:314:43: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_color.c:324:29: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | CMAP_Find_Closest(chdr->cmap,chdr->csize,r,g,b,16,16,16,xaTRUE); | ^ xa_color.c:301:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | xaULONG XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr) | ^ xa_color.c:39:9: warning: a function declaration without a prototype is 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 | xaULONG XA_RGB24_To_CLR32(); | ^ xa_color.c:471:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | void *XA_MCU111111_Func(image_type) | ^ xa_color.c:53:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | void *XA_MCU111111_Func(); | ^ xa_color.c:490:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | void XA_MCU111111_To_Gray(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:54: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] 54 | void XA_MCU111111_To_Gray(); | ^ xa_color.c:526:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | void XA_MCU111111_To_RGB(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:55: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] 55 | void XA_MCU111111_To_RGB(); | ^ xa_color.c:546:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | void XA_MCU111111_To_332_Dither(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:59: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] 59 | void XA_MCU111111_To_332_Dither(); | ^ xa_color.c:567:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | void XA_MCU111111_To_332(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:60: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] 60 | void XA_MCU111111_To_332(); | ^ xa_color.c:597:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:597:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:587:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | void XA_MCU111111_To_CLR8(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:56: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] 56 | void XA_MCU111111_To_CLR8(); | ^ xa_color.c:617:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:617:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:607:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | void XA_MCU111111_To_CLR16(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:57: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] 57 | void XA_MCU111111_To_CLR16(); | ^ xa_color.c:637:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:637:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:627:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | void XA_MCU111111_To_CLR32(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:58: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] 58 | void XA_MCU111111_To_CLR32(); | ^ xa_color.c:651:7: 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 *XA_MCU211111_Func(image_type) | ^ xa_color.c:62:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | void *XA_MCU211111_Func(); | ^ xa_color.c:670:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | void XA_MCU211111_To_332_Dither(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:67: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] 67 | void XA_MCU211111_To_332_Dither(); | ^ xa_color.c:692:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | void XA_MCU211111_To_332(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:68: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] 68 | void XA_MCU211111_To_332(); | ^ xa_color.c:713:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | void XA_MCU211111_To_RGB(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:63: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] 63 | void XA_MCU211111_To_RGB(); | ^ xa_color.c:744:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:744:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:745:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:745:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:734:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | void XA_MCU211111_To_CLR8(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:64: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] 64 | void XA_MCU211111_To_CLR8(); | ^ xa_color.c:765:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:765:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:766:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:766:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:755:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | void XA_MCU211111_To_CLR16(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:65: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] 65 | void XA_MCU211111_To_CLR16(); | ^ xa_color.c:786:9: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:786:9: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:787:9: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:787:9: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:776:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | void XA_MCU211111_To_CLR32(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:66: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] 66 | void XA_MCU211111_To_CLR32(); | ^ xa_color.c:802:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | void *XA_MCU221111_Func(image_type) | ^ xa_color.c:70:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | void *XA_MCU221111_Func(); | ^ xa_color.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | XA_MCU221111_To_RGB(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:71: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] 71 | void XA_MCU221111_To_RGB(); | ^ xa_color.c:858:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | YUV_TO_CF4(YTab[ yp[8] ],cr,cg,cb,chdr,ip1); | ^ xa_color.c:372:38: note: expanded from macro 'YUV_TO_CF4' 372 | { clr = coff + CMAP_Find_Closest(the_cmap,csize,xa_gamma_adj[r], \ | ^ xa_color.c:859:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | YUV_TO_CF4(YTab[ *yp++ ],cr,cg,cb,chdr,ip0); | ^ xa_color.c:372:38: note: expanded from macro 'YUV_TO_CF4' 372 | { clr = coff + CMAP_Find_Closest(the_cmap,csize,xa_gamma_adj[r], \ | ^ xa_color.c:860:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | YUV_TO_CF4(YTab[ yp[8] ],cr,cg,cb,chdr,ip1); | ^ xa_color.c:372:38: note: expanded from macro 'YUV_TO_CF4' 372 | { clr = coff + CMAP_Find_Closest(the_cmap,csize,xa_gamma_adj[r], \ | ^ xa_color.c:861:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | YUV_TO_CF4(YTab[ *yp++ ],cr,cg,cb,chdr,ip0); | ^ xa_color.c:372:38: note: expanded from macro 'YUV_TO_CF4' 372 | { clr = coff + CMAP_Find_Closest(the_cmap,csize,xa_gamma_adj[r], \ | ^ xa_color.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | XA_MCU221111_To_CF4(iptr,imagex,imagey,mcu_row_size,ip_size,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.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 XA_MCU221111_To_CF4(); | ^ xa_color.c:881:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | YUV_TO_COLOR(YTab[ yp[8] ],cr,cg,cb,map_flag,map,chdr,ip1,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:881:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:882:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | YUV_TO_COLOR(YTab[ *yp++ ],cr,cg,cb,map_flag,map,chdr,ip0,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:882:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:883:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | YUV_TO_COLOR(YTab[ yp[8] ],cr,cg,cb,map_flag,map,chdr,ip1,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:883:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:884:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | YUV_TO_COLOR(YTab[ *yp++ ],cr,cg,cb,map_flag,map,chdr,ip0,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:884:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | XA_MCU221111_To_CLR8(iptr,imagex,imagey,mcu_row_size,ip_size,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:72: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] 72 | void XA_MCU221111_To_CLR8(); | ^ xa_color.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | XA_MCU221111_To_332_Dither(iptr,imagex,imagey,mcu_row_size,ip_size,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.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 XA_MCU221111_To_332_Dither(); | ^ xa_color.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | XA_MCU221111_To_332(iptr,imagex,imagey,mcu_row_size,ip_size,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.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 XA_MCU221111_To_332(); | ^ xa_color.c:951:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | YUV_TO_COLOR(YTab[ yp[8]],cr,cg,cb,map_flag,map,chdr,ip1,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:951:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:952:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | YUV_TO_COLOR(YTab[ *yp++],cr,cg,cb,map_flag,map,chdr,ip0,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:952:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:953:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | YUV_TO_COLOR(YTab[ yp[8]],cr,cg,cb,map_flag,map,chdr,ip1,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:953:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:954:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | YUV_TO_COLOR(YTab[ *yp++],cr,cg,cb,map_flag,map,chdr,ip0,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:954:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | XA_MCU221111_To_CLR16(iptr,imagex,imagey,mcu_row_size,ip_size,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:73: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] 73 | void XA_MCU221111_To_CLR16(); | ^ xa_color.c:976:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | YUV_TO_COLOR(YTab[ yp[8] ],cr,cg,cb,map_flag,map,chdr,ip1,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:976:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:977:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | YUV_TO_COLOR(YTab[ *yp++ ],cr,cg,cb,map_flag,map,chdr,ip0,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:977:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:978:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | YUV_TO_COLOR(YTab[ yp[8] ],cr,cg,cb,map_flag,map,chdr,ip1,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:978:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:979:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | YUV_TO_COLOR(YTab[ *yp++ ],cr,cg,cb,map_flag,map,chdr,ip0,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:979:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | XA_MCU221111_To_CLR32(iptr,imagex,imagey,mcu_row_size,ip_size,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:74: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] 74 | void XA_MCU221111_To_CLR32(); | ^ xa_color.c:993:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | void *XA_MCU411111_Func(image_type) | ^ xa_color.c:79:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | void *XA_MCU411111_Func(); | ^ xa_color.c:1011:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | void XA_MCU411111_To_332_Dither(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:85: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] 85 | void XA_MCU411111_To_332_Dither(); | ^ xa_color.c:1035:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | void XA_MCU411111_To_332(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:86: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] 86 | void XA_MCU411111_To_332(); | ^ xa_color.c:1058:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | void XA_MCU411111_To_RGB(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:80: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] 80 | void XA_MCU411111_To_RGB(); | ^ xa_color.c:1092:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1092:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1093:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1093:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1094:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1094:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1095:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUBYTE); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1095:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1081:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | void XA_MCU411111_To_CLR8(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:81: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] 81 | void XA_MCU411111_To_CLR8(); | ^ xa_color.c:1115:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1115:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1116:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1116:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1117:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1117:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1118:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaUSHORT); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1118:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1105:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | void XA_MCU411111_To_CLR16(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:82: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] 82 | void XA_MCU411111_To_CLR16(); | ^ xa_color.c:1138:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1138:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1139:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1139:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1140:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1140:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1141:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | YUV_TO_COLOR(YTab[*yp++],cr,cg,cb,map_flag,map,chdr,ip,xaULONG); | ^ xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 339 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color( \ | ^ xa_color.c:1141:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' 362 | RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ | ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 345 | clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1128:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | void XA_MCU411111_To_CLR32(iptr,imagex,imagey,mcu_row_size,ip_size, | ^ xa_color.c:83: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] 83 | void XA_MCU411111_To_CLR32(); | ^ xa_color.c:1290:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | void *XA_YUV221111_Func(image_type) | ^ xa_color.c:116:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | void *XA_YUV221111_Func(); | ^ xa_color.c:1332:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1332 | void XA_YUV221111_To_RGB(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:117: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] 117 | void XA_YUV221111_To_RGB(); | ^ xa_color.c:1365:7: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1365:7: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1366:7: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1366:7: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1354:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | void XA_YUV221111_To_CLR8(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:118: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] 118 | void XA_YUV221111_To_CLR8(); | ^ xa_color.c:1387:7: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1387:7: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1388:7: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1388:7: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1375:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | void XA_YUV221111_To_CLR16(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:119: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] 119 | void XA_YUV221111_To_CLR16(); | ^ xa_color.c:1409:7: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1409 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1409:7: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1410:7: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1410:7: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | void XA_YUV221111_To_CLR32(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:120: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] 120 | void XA_YUV221111_To_CLR32(); | ^ xa_color.c:1419:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1419 | void XA_YUV221111_To_332(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:121: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] 121 | void XA_YUV221111_To_332(); | ^ xa_color.c:1451:7: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1451 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1452:7: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1440:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | void XA_YUV221111_To_CF4(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:123: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] 123 | void XA_YUV221111_To_CF4(); | ^ xa_color.c:1461:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | void XA_YUV221111_To_332_Dither(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:122: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] 122 | void XA_YUV221111_To_332_Dither(); | ^ xa_color.c:1505:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1505 | void *XA_YUV211111_Func(image_type) | ^ xa_color.c:107:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | void *XA_YUV211111_Func(); | ^ xa_color.c:1523:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1523 | void XA_YUV211111_To_RGB(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:108: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] 108 | void XA_YUV211111_To_RGB(); | ^ xa_color.c:1552:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1552:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1553:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1553:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1542:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | void XA_YUV211111_To_CLR8(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:109: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] 109 | void XA_YUV211111_To_CLR8(); | ^ xa_color.c:1571:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1571:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1572:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1572 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1572:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | void XA_YUV211111_To_CLR16(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:110: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] 110 | void XA_YUV211111_To_CLR16(); | ^ xa_color.c:1590:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1590:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1591:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1591 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1591:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1579:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | void XA_YUV211111_To_CLR32(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:111: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] 111 | void XA_YUV211111_To_CLR32(); | ^ xa_color.c:1598:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1598 | void XA_YUV211111_To_332(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:112: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] 112 | void XA_YUV211111_To_332(); | ^ xa_color.c:1626:7: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1626 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1627:7: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1616:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | void XA_YUV211111_To_CF4(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:114: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] 114 | void XA_YUV211111_To_CF4(); | ^ xa_color.c:1634:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | void XA_YUV211111_To_332_Dither(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:113: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] 113 | void XA_YUV211111_To_332_Dither(); | ^ xa_color.c:1680:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | void *XA_YUV411111_Func(image_type) | ^ xa_color.c:98:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | void *XA_YUV411111_Func(); | ^ xa_color.c:1697:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1697 | void XA_YUV411111_To_RGB(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:99: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] 99 | void XA_YUV411111_To_RGB(); | ^ xa_color.c:1730:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1730:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1731:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1731 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1731:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1732:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1732:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1733:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1733:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1720:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | void XA_YUV411111_To_CLR8(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:100: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] 100 | void XA_YUV411111_To_CLR8(); | ^ xa_color.c:1751:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1751 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1751:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1752:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1752:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1753:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1753 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1753:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1754:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1754:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1740:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1740 | void XA_YUV411111_To_CLR16(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:101: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] 101 | void XA_YUV411111_To_CLR16(); | ^ xa_color.c:1772:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1772 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1772:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1773:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1773:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1774:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1774 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1774:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1775:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1775 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1775:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1761:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1761 | void XA_YUV411111_To_CLR32(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:102: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] 102 | void XA_YUV411111_To_CLR32(); | ^ xa_color.c:1792:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1792 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1793:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1793 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1794:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1795:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1795 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1782:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | void XA_YUV411111_To_CF4(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:105: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] 105 | void XA_YUV411111_To_CF4(); | ^ xa_color.c:1802:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1802 | void XA_YUV411111_To_332(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:103: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] 103 | void XA_YUV411111_To_332(); | ^ xa_color.c:1822:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1822 | void XA_YUV411111_To_332_Dither(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:104: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] 104 | void XA_YUV411111_To_332_Dither(); | ^ xa_color.c:1893:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1893 | void *XA_YUV1611_Func(image_type) | ^ xa_color.c:88:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | void *XA_YUV1611_Func(); | ^ xa_color.c:1911:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | void XA_YUV1611_To_RGB(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:89: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] 89 | void XA_YUV1611_To_RGB(); | ^ xa_color.c:1985:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1985 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1985:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1986:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1986 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1986:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1987:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1987 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1987:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1988:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1988 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1988:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1990:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1990 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1990:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1991:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1991 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1991:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1992:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1992:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1993:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1993 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1993:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1995:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1995:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1996:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1996 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1996:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1997:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1997 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1997:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1998:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1998 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:1998:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2000:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2000:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2001:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2001 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2001:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2002:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2002 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2002:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2003:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaUBYTE); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2003:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:1963:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1963 | void XA_YUV1611_To_CLR8(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:90: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] 90 | void XA_YUV1611_To_CLR8(); | ^ xa_color.c:2036:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2036 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2036:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2037:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2037:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2038:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2038 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2038:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2039:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2039:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2041:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2041:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2042:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2042 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2042:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2043:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2043 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2043:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2044:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2044 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2044:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2046:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2046 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2046:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2047:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2047 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2047:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2048:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2048 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2048:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2049:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2049 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2049:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2051:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2051 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2051:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2052:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2052 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2052:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2053:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2053 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2053:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2054:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2054 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaUSHORT); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2054:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2014:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2014 | void XA_YUV1611_To_CLR16(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:91: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] 91 | void XA_YUV1611_To_CLR16(); | ^ xa_color.c:2088:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2088:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2089:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2089 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2089:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2090:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2090 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2090:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2091:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2091 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2091:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2093:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2093 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2093:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2094:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2094 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2094:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2095:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2095 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2095:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2096:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2096:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2098:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2098 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2098:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2099:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2099 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2099:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2100:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2100 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2100:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2101:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2101 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2101:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2103:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2103:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2104:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2104 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2104:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2105:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2105 | DEC_YUV_Def(*yp++,V2R,U2B,UV2G,map_flag,map,chdr,*ip++,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2105:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2106:2: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | DEC_YUV_Def(*yp ,V2R,U2B,UV2G,map_flag,map,chdr,*ip ,xaULONG); | ^ xa_color.c:1191:63: note: expanded from macro 'DEC_YUV_Def' 1191 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(ra,ga,ba,16); \ | ^ xa_color.c:2106:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' 1195 | { clr = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2066:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2066 | void XA_YUV1611_To_CLR32(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:92: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] 92 | void XA_YUV1611_To_CLR32(); | ^ xa_color.c:2115:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | void XA_YUV1611_To_332(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:93: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] 93 | void XA_YUV1611_To_332(); | ^ xa_color.c:2165:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2165 | void XA_YUV1611_To_332_Dither(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:94: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] 94 | void XA_YUV1611_To_332_Dither(); | ^ xa_color.c:2259:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2259 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2260:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2260 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2261:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2261 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2262:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2262 | DEC_YUV_CF4(*yp ,V2R,U2B,UV2G,chdr,*ip ,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2264:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2265:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2265 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2266:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2266 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2267:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2267 | DEC_YUV_CF4(*yp ,V2R,U2B,UV2G,chdr,*ip ,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2269:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2269 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2270:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2270 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2271:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2271 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2272:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2272 | DEC_YUV_CF4(*yp ,V2R,U2B,UV2G,chdr,*ip ,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2274:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2274 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2275:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2275 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2276:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2276 | DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2277:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2277 | DEC_YUV_CF4(*yp ,V2R,U2B,UV2G,chdr,*ip ,xaUBYTE); | ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' 1220 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2237:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2237 | void XA_YUV1611_To_CF4(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:95: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] 95 | void XA_YUV1611_To_CF4(); | ^ xa_color.c:2318:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2318 | DEC_YUV_DITH_CF4(*yp0++,V2R,U2B,UV2G,chdr,r00,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2319:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2319 | DEC_YUV_DITH_CF4(*yp1++,V2R,U2B,UV2G,chdr,r10,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2320:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2320 | DEC_YUV_DITH_CF4(*yp2++,V2R,U2B,UV2G,chdr,r20,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2321:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2321 | DEC_YUV_DITH_CF4(*yp3++,V2R,U2B,UV2G,chdr,r30,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2323:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2323 | DEC_YUV_DITH_CF4(*yp3++,V2R,U2B,UV2G,chdr,r31,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2324:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | DEC_YUV_DITH_CF4(*yp2++,V2R,U2B,UV2G,chdr,r21,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2325:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2325 | DEC_YUV_DITH_CF4(*yp1++,V2R,U2B,UV2G,chdr,r11,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2326:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2326 | DEC_YUV_DITH_CF4(*yp0++,V2R,U2B,UV2G,chdr,r01,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2328:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2328 | DEC_YUV_DITH_CF4(*yp0++,V2R,U2B,UV2G,chdr,r02,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2329:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | DEC_YUV_DITH_CF4(*yp1++,V2R,U2B,UV2G,chdr,r12,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2330:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2330 | DEC_YUV_DITH_CF4(*yp2++,V2R,U2B,UV2G,chdr,r22,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2331:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2331 | DEC_YUV_DITH_CF4(*yp3++,V2R,U2B,UV2G,chdr,r32,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2333:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2333 | DEC_YUV_DITH_CF4(*yp3++,V2R,U2B,UV2G,chdr,r33,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2334:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2334 | DEC_YUV_DITH_CF4(*yp2++,V2R,U2B,UV2G,chdr,r23,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2335:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2335 | DEC_YUV_DITH_CF4(*yp1++,V2R,U2B,UV2G,chdr,r13,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2336:2: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2336 | DEC_YUV_DITH_CF4(*yp0++,V2R,U2B,UV2G,chdr,r03,xaUBYTE); | ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' 1274 | { YY = chdr->coff + CMAP_Find_Closest(chdr->cmap,chdr->csize, \ | ^ xa_color.c:2287:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2287 | void XA_YUV1611_To_CF4_Dither(image,imagex,imagey,i_x,i_y,yuv_bufs,yuv_tabs,map_flag,map,chdr) | ^ xa_color.c:96: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] 96 | void XA_YUV1611_To_CF4_Dither(); | ^ xa_color.c:2371:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2371 | void *YUV2x2_Map_Func(image_type,dith_type) | ^ xa_color.c:126:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | void *YUV2x2_Map_Func(); | ^ xa_color.c:2395:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2395 | void XA_YUV_2x2_rgb(cmap2x2,Y0,Y1,Y2,Y3,U,V) | ^ xa_color.c:131: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] 131 | void XA_YUV_2x2_rgb(); | ^ xa_color.c:2411:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2411 | void XA_YUV_2x2_rgb2(cmap2x2,Y0,Y1,Y2,Y3,U,V,map_flag,map,chdr) | ^ xa_color.c:2434:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2434 | void XA_YUV_2x2_clr(cmap2x2,Y0,Y1,Y2,Y3,U,V,map_flag,map,chdr) | ^ xa_color.c:132: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] 132 | void XA_YUV_2x2_clr(); | ^ xa_color.c:2474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2474 | XA_YUV_2x2_Dither14(cmap2x2,Y0,Y1,Y2,Y3,U,V,map_flag,map,chdr) | ^ xa_color.c:129: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] 129 | void XA_YUV_2x2_Dither14(); | ^ xa_color.c:2568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2568 | XA_YUV_2x2_Dither42(cmap2x2,Y0,Y1,Y2,Y3,U,V,map_flag,map,chdr) | ^ xa_color.c:130: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] 130 | void XA_YUV_2x2_Dither42(); | ^ xa_color.c:2607:34: warning: parameter 'blks' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2607 | void *YUV2x2_Blk_Func(image_type,blks,dith_flag) | ^ 2608 | xaULONG image_type; 2609 | xaULONG dith_flag; 2610 | { void (*color_func)(); xa_color.c:2607:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2607 | void *YUV2x2_Blk_Func(image_type,blks,dith_flag) | ^ xa_color.c:127:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 127 | void *YUV2x2_Blk_Func(); | ^ xa_color.c:2712:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | void XA_2x2_OUT_1BLK_rgb(image,x,y,imagex,cmap2x2) | ^ xa_color.c:134: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] 134 | void XA_2x2_OUT_1BLK_rgb(); | ^ xa_color.c:2749:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2749 | void XA_2x2_OUT_1BLK_dith8(image,x,y,imagex,cmap2x2) | ^ xa_color.c:138: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] 138 | void XA_2x2_OUT_1BLK_dith8(); | ^ xa_color.c:2758:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2758 | void XA_2x2_OUT_1BLK_dith16(image,x,y,imagex,cmap2x2) | ^ xa_color.c:139: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] 139 | void XA_2x2_OUT_1BLK_dith16(); | ^ xa_color.c:2767:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2767 | void XA_2x2_OUT_1BLK_dith32(image,x,y,imagex,cmap2x2) | ^ xa_color.c:140: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] 140 | void XA_2x2_OUT_1BLK_dith32(); | ^ xa_color.c:2777:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2777 | void XA_2x2_OUT_1BLK_clr8(image,x,y,imagex,cmap2x2) | ^ xa_color.c:135: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] 135 | void XA_2x2_OUT_1BLK_clr8(); | ^ xa_color.c:2786:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2786 | void XA_2x2_OUT_1BLK_clr16(image,x,y,imagex,cmap2x2) | ^ xa_color.c:136: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] 136 | void XA_2x2_OUT_1BLK_clr16(); | ^ xa_color.c:2795:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2795 | void XA_2x2_OUT_1BLK_clr32(image,x,y,imagex,cmap2x2) | ^ xa_color.c:137: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] 137 | void XA_2x2_OUT_1BLK_clr32(); | ^ xa_color.c:2807:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2807 | void XA_2x2_OUT_4BLKS_rgb(image,x,y,imagex,cm0,cm1,cm2,cm3) | ^ xa_color.c:141: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] 141 | void XA_2x2_OUT_4BLKS_rgb(); | ^ xa_color.c:2848:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2848 | void XA_2x2_OUT_4BLKS_dith8(image,x,y,imagex,cm0,cm1,cm2,cm3) | ^ xa_color.c:145: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] 145 | void XA_2x2_OUT_4BLKS_dith8(); | ^ xa_color.c:2858:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2858 | void XA_2x2_OUT_4BLKS_dith16(image,x,y,imagex,cm0,cm1,cm2,cm3) | ^ xa_color.c:146: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] 146 | void XA_2x2_OUT_4BLKS_dith16(); | ^ xa_color.c:2868:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2868 | void XA_2x2_OUT_4BLKS_dith32(image,x,y,imagex,cm0,cm1,cm2,cm3) | ^ xa_color.c:147: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] 147 | void XA_2x2_OUT_4BLKS_dith32(); | ^ xa_color.c:2878:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2878 | void XA_2x2_OUT_4BLKS_clr8(image,x,y,imagex,cm0,cm1,cm2,cm3) | ^ xa_color.c:142: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] 142 | void XA_2x2_OUT_4BLKS_clr8(); | ^ xa_color.c:2888:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2888 | void XA_2x2_OUT_4BLKS_clr16(image,x,y,imagex,cm0,cm1,cm2,cm3) | ^ xa_color.c:143: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] 143 | void XA_2x2_OUT_4BLKS_clr16(); | ^ xa_color.c:2898:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2898 | void XA_2x2_OUT_4BLKS_clr32(image,x,y,imagex,cm0,cm1,cm2,cm3) | ^ xa_color.c:144: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] 144 | void XA_2x2_OUT_4BLKS_clr32(); | ^ xa_color.c:2939:41: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2939 | { if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_color.c:2912:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2912 | xaULONG XA_Get_Image_Type(special,chdr,map_flag) | ^ xa_color.c:37:9: warning: a function declaration without a prototype is 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 | xaULONG XA_Get_Image_Type(); | ^ 441 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_jpg.c xa_jpg.c:187:52: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | if (jpg_samp_limit==0) JPG_Setup_Samp_Limit_Table(0); | ^ xa_jpg.c:229: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] 229 | xin->Seek_FPos(xin,0L,2); | ^ xa_jpg.c:230: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] 230 | jfif_flen = xin->Get_FPos(xin); /* POD may not be portable */ | ^ xa_jpg.c:231: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] 231 | xin->Seek_FPos(xin,0L,0); | ^ xa_jpg.c:236:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | if (dlta_hdr == 0) TheEnd1("JFIF: malloc failed"); | ^ xa_jpg.c:238:36: 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] 238 | dlta_hdr->fpos = xin->Get_FPos(xin); | ^ xa_jpg.c:242: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] 242 | ret = xin->Read_Block(xin,inbuff,jfif_flen); | ^ xa_jpg.c:250:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | if (dlta_hdr == 0) TheEnd1("JFIF: malloc failed"); | ^ xa_jpg.c:253: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] 253 | ret = xin->Read_Block(xin, dlta_hdr->data, jfif_flen); | ^ xa_jpg.c:260:17: warning: passing arguments to 'jpg_init_input' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | jpg_init_input(inbuff,jfif_flen); | ^ xa_jpg.c:286:21: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | JPG_Alloc_MCU_Bufs(anim_hdr,jfif->imagex,0,xaFALSE); | ^ xa_jpg.c:287:18: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | XA_Gen_YUV_Tabs(anim_hdr); | ^ xa_jpg.c:300:30: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | jfif->chdr = ACT_Get_CMAP(jfif->cmap,jfif->imagec,0,jfif->imagec,0,8,8,8); | ^ xa_jpg.c:309:31: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | jfif->chdr = CMAP_Create_332(jfif->cmap,&jfif->imagec); | ^ xa_jpg.c:310:36: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | else jfif->chdr = CMAP_Create_Gray(jfif->cmap,&jfif->imagec); | ^ xa_jpg.c:319:23: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_jpg.c:331:18: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | ACT_Setup_Delta(jfif,act,dlta_hdr,xin); | ^ xa_jpg.c:333:18: 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] 333 | xin->Close_File(xin); | ^ xa_jpg.c:357:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | XA_Free_Anim_Setup(jfif); | ^ xa_jpg.c:214:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | xaULONG JFIF_Read_File(fname,anim_hdr) | ^ xa_jpg.c:141:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 141 | xaULONG JFIF_Read_File(); | ^ xa_jpg.c:578:19: warning: passing arguments to 'jpg_huff_build' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | jpg_huff_build(htable,hbits,hvals); | ^ xa_jpg.c:756:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | void jpg_huff_build(htbl,hbits,hvals) | ^ xa_jpg.c:106:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | void jpg_huff_build(); | ^ xa_jpg.c:834:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | void jpg_init_input(buff,buff_size) | ^ xa_jpg.c:122: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] 122 | void jpg_init_input(); | ^ xa_jpg.c:872:14: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 872 | jpg_type = (xaULONG)(extra); | ^~~~~~~~~~~~~~~~ xa_jpg.c:990:47: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | if (jpg_width > imagex) JPG_Alloc_MCU_Bufs(0,jpg_width,0,xaFALSE); | ^ xa_jpg.c:1002:24: warning: passing arguments to 'jpg_std_DQT' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | (void)jpg_std_DQT(100); | ^ xa_jpg.c:1012:21: warning: passing arguments to 'jpg_decode_411111' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | { jpg_decode_411111(image,jpg_width,jpg_height,interleave,row_offset, | ^ xa_jpg.c:1015:21: warning: passing arguments to 'jpg_decode_221111' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | { jpg_decode_221111(image,jpg_width,jpg_height,interleave,row_offset, | ^ xa_jpg.c:1018:21: warning: passing arguments to 'jpg_decode_211111' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | { jpg_decode_211111(image,jpg_width,jpg_height,interleave,row_offset, | ^ xa_jpg.c:1021:21: warning: passing arguments to 'jpg_decode_111111' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | { jpg_decode_111111(image,jpg_width,jpg_height,interleave,row_offset, | ^ xa_jpg.c:1032:24: warning: passing arguments to 'jpg_decode_111111' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | jpg_decode_111111(image,jpg_width,jpg_height,interleave,row_offset, | ^ xa_jpg.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | JFIF_Decode_JPEG(image,delta,dsize,dec_info) | ^ xa_jpg.c:100:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | xaULONG JFIF_Decode_JPEG(); | ^ xa_jpg.c:1098:42: warning: passing arguments to 'XA_Add_Func_To_Free_Chain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | if (anim_hdr) XA_Add_Func_To_Free_Chain(anim_hdr,JPG_Free_MCU_Bufs); | ^ xa_jpg.c:1086:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | void JPG_Alloc_MCU_Bufs(anim_hdr,width,height,full_flag) | ^ xa_jpg.c:115: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] 115 | void JPG_Alloc_MCU_Bufs(); | ^ xa_jpg.c:1291:23: warning: passing arguments to 'j_rev_dct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | if (c_cnt) j_rev_dct(dct_buf, OBuf, rnglimit); | ^ xa_jpg.c:1229:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | xaULONG jpg_huffparse(comp, dct_buf, qtab, OBuf) | ^ xa_jpg.c:107:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | xaULONG jpg_huffparse(); | ^ xa_jpg.c:1373:42: warning: passing arguments to 'XA_Add_Func_To_Free_Chain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | if (anim_hdr) XA_Add_Func_To_Free_Chain(anim_hdr,JPG_Free_Samp_Limit_Table); | ^ xa_jpg.c:1357:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | void JPG_Setup_Samp_Limit_Table(anim_hdr) | ^ xa_jpg.c:110: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] 110 | void JPG_Setup_Samp_Limit_Table(); | ^ xa_jpg.c:1506:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | xaULONG jpg_std_DQT(scale) | ^ xa_jpg.c:114:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 114 | xaULONG jpg_std_DQT(); | ^ xa_jpg.c:1565:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1565 | xaULONG jpg_search_marker(marker,data_ptr,data_size) | ^ xa_jpg.c:117:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 117 | xaULONG jpg_search_marker(); | ^ xa_jpg.c:1592:48: 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] 1592 | for(i=0;i<64;i++) IJPG_Tab1[i] = xin->Read_U8(xin); | ^ xa_jpg.c:1593:48: 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] 1593 | for(i=0;i<64;i++) IJPG_Tab2[i] = xin->Read_U8(xin); | ^ xa_jpg.c:1589:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | void JFIF_Read_IJPG_Tables(xin) | ^ xa_jpg.c:124: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] 124 | void JFIF_Read_IJPG_Tables(); | ^ xa_jpg.c:1619:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1619 | void JFIF_Init_IJPG_Tables(qfactor) | ^ xa_jpg.c:125: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] 125 | void JFIF_Init_IJPG_Tables(); | ^ xa_jpg.c:1688:54: warning: passing arguments to 'XA_MCU111111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1688 | else color_func = (void (*)())XA_MCU111111_Func(dec_info->image_type); | ^ xa_jpg.c:1760: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] 1760 | (void)(color_func)(iptr,imagex,xaMIN(imagey,8),(mcu_cols * DCTSIZE2), | ^ xa_jpg.c:1665:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1665 | xaULONG jpg_decode_111111(image,width,height,interleave,row_offset, | ^ xa_jpg.c:102:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | xaULONG jpg_decode_111111(); | ^ xa_jpg.c:1791:55: warning: passing arguments to 'XA_MCU211111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1791 | void (*color_func)() = (void (*)())XA_MCU211111_Func(dec_info->image_type); | ^ xa_jpg.c:1844:21: warning: passing arguments to 'JPG_Double_MCU' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1844 | JPG_Double_MCU(jpg_YUVBufs.Ybuf, (mcu_cols << 1) ); | ^ xa_jpg.c:1845:21: warning: passing arguments to 'JPG_Double_MCU' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | JPG_Double_MCU(jpg_YUVBufs.Ubuf, mcu_cols); | ^ xa_jpg.c:1846:21: warning: passing arguments to 'JPG_Double_MCU' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1846 | JPG_Double_MCU(jpg_YUVBufs.Vbuf, mcu_cols); | ^ xa_jpg.c:1847: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] 1847 | (void)(color_func)(iptr,imagex,xaMIN(imagey,8),((mcu_cols<<1) * DCTSIZE2), | ^ xa_jpg.c:1852: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] 1852 | (void)(color_func)(iptr,imagex,xaMIN(imagey,8),(mcu_cols * DCTSIZE2), | ^ xa_jpg.c:1774:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1774 | xaULONG jpg_decode_211111(image,width,height,interleave,row_offset, | ^ xa_jpg.c:103:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | xaULONG jpg_decode_211111(); | ^ xa_jpg.c:1863:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1863 | static void JPG_Double_MCU(ptr,mcus) | ^ xa_jpg.c:57: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] 57 | static void JPG_Double_MCU(); | ^ xa_jpg.c:1915:55: warning: passing arguments to 'XA_MCU221111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1915 | void (*color_func)() = (void (*)())XA_MCU221111_Func(dec_info->image_type); | ^ xa_jpg.c:1967: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] 1967 | (void)(color_func)(iptr,imagex,xaMIN(imagey,16),(mcu_cols * DCTSIZE2),orow_size, | ^ xa_jpg.c:1900:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | xaULONG jpg_decode_221111(image,width,height,interleave,row_offset, | ^ xa_jpg.c:104:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | xaULONG jpg_decode_221111(); | ^ xa_jpg.c:1998:55: warning: passing arguments to 'XA_MCU411111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1998 | void (*color_func)() = (void (*)())XA_MCU411111_Func(dec_info->image_type); | ^ xa_jpg.c:2050: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] 2050 | (void)(color_func)(iptr,imagex,xaMIN(imagey,8),(mcu_cols * DCTSIZE2),orow_size, | ^ xa_jpg.c:1982:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1982 | xaULONG jpg_decode_411111(image,width,height,interleave,row_offset, | ^ xa_jpg.c:105:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | xaULONG jpg_decode_411111(); | ^ 77 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_mpg.c xa_mpg.c:259:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | void MPG_Time_Adjust(mpg,ret_time,ret_timelo,skipped_frames) | ^ xa_mpg.c:288:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | if (fframe == 0) TheEnd1("MPG_Add_Frame: malloc err"); | ^ xa_mpg.c:282:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | MPG_FRAME *MPG_Add_Frame(time,timelo,act) | ^ xa_mpg.c:194: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] 194 | MPG_FRAME *MPG_Add_Frame(); | ^ xa_mpg.c:305:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | void MPG_Free_Frame_List(fframes) | ^ xa_mpg.c:195: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] 195 | void MPG_Free_Frame_List(); | ^ xa_mpg.c:338:17: warning: passing arguments to 'MPG_Init_Stuff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | MPG_Init_Stuff(anim_hdr); | ^ xa_mpg.c:343: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] 343 | while( !mpg_f_file->At_EOF(mpg_f_file,-1) ) | ^ xa_mpg.c:350:27: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | act = ACT_Get_Action(anim_hdr,ACT_NOP); | ^ xa_mpg.c:353:23: warning: passing arguments to 'mpg_read_SEQ_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | mpg_read_SEQ_HDR(anim_hdr,mpg,mpg_seq_hdr); | ^ xa_mpg.c:359:29: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | act = ACT_Get_Action(anim_hdr,ACT_NOP); | ^ xa_mpg.c:367:23: warning: passing arguments to 'mpg_read_PIC_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | mpg_read_PIC_HDR(mpg_Gpic_hdr,MPG_FROM_FILE); | ^ xa_mpg.c:376:26: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | act = ACT_Get_Action(anim_hdr,ACT_NOP); | ^ xa_mpg.c:378:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | if (mpg_pic_hdr==0) TheEnd1("MPG: pic_hdr malloc err"); | ^ xa_mpg.c:413:63: warning: passing arguments to 'mpg_read_GOP_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | else if (mpg_start_code == MPG_GOP_START) mpg_read_GOP_HDR(MPG_FROM_FILE); | ^ xa_mpg.c:430:26: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | tmp_act = ACT_Get_Action(anim_hdr,ACT_NOP); | ^ xa_mpg.c:432:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | if (mpg_pic_hdr==0) TheEnd1("MPG: pic_hdr malloc err"); | ^ xa_mpg.c:449:22: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | act = ACT_Get_Action(anim_hdr,ACT_NOP); | ^ xa_mpg.c:460:40: 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] 460 | slice_hdr->fpos = mpg_f_file->Get_FPos(mpg_f_file); | ^ xa_mpg.c:538:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | if (dlta_hdr == 0) TheEnd1("MPG dlta malloc err"); | ^ xa_mpg.c:564:32: 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] 564 | mpg_f_file->Seek_FPos(mpg_f_file,fpos,0); | ^ xa_mpg.c:566:30: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | if (tmp==0) TheEnd1("MPG: alloc err 3"); | ^ xa_mpg.c:567:33: 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] 567 | mpg_f_file->Read_Block(mpg_f_file,(char *)tmp,fsize); | ^ xa_mpg.c:576:22: warning: passing arguments to 'MPG_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | MPG_Setup_Delta(mpg,fname,phdr_act); | ^ xa_mpg.c:580:18: 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] 580 | xin->Close_File(xin); | ^ xa_mpg.c:585:43: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | if (anim_hdr->frame_lst == NULL) TheEnd1("MPG_Read_File: frame malloc err"); | ^ xa_mpg.c:633:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | XA_Free_Anim_Setup(mpg); | ^ xa_mpg.c:316:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | xaULONG MPG_Read_File(fname,anim_hdr) | ^ xa_mpg.c:63:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | xaULONG MPG_Read_File(); | ^ xa_mpg.c:643: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] 643 | while( !mpg_f_file->At_EOF(mpg_f_file) ) | ^ xa_mpg.c:655:34: 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] 655 | else d = mpg_f_file->Read_U8(mpg_f_file); | ^ xa_mpg.c:730:3: 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] 730 | MPG_GET_FBITS(12,shdr->width); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:731:3: 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] 731 | MPG_GET_FBITS(12,shdr->height); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:732:3: 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] 732 | MPG_GET_FBITS(4,shdr->aspect); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:733:3: 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] 733 | MPG_GET_FBITS(4,shdr->pic_rate); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:734:3: 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] 734 | MPG_GET_FBITS(18,shdr->bit_rate); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:735:3: 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] 735 | MPG_GET_FBITS(1,marker); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:736:3: 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] 736 | MPG_GET_FBITS(10,shdr->vbv_buff_size); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:737:3: 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] 737 | MPG_GET_FBITS(1,shdr->constrained); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:738:3: 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] 738 | MPG_GET_FBITS(1,shdr->intra_flag); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:743:18: warning: passing arguments to 'UTIL_FPS_2_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | UTIL_FPS_2_Time(mpg, ((double)(mpg_pic_rate_idx[shdr->pic_rate])) ); | ^ xa_mpg.c:747:7: 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] 747 | { MPG_GET_FBITS(8,d); shdr->intra_qtab[i] = d; /* ZIG */ | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:755:3: 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] 755 | MPG_GET_FBITS(1,shdr->non_intra_flag); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:758:7: 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] 758 | { MPG_GET_FBITS(8,d); shdr->non_intra_qtab[i] = d; | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:767:21: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | JPG_Alloc_MCU_Bufs(anim_hdr,mpg->imagex,mpg->imagey,xaTRUE); | ^ xa_mpg.c:769:18: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | XA_Gen_YUV_Tabs(anim_hdr); | ^ xa_mpg.c:770:29: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | JPG_Setup_Samp_Limit_Table(anim_hdr); | ^ xa_mpg.c:776:41: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | mpg->chdr = CMAP_Create_332(mpg->cmap,&mpg->imagec); | ^ xa_mpg.c:777:42: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | else mpg->chdr = CMAP_Create_Gray(mpg->cmap,&mpg->imagec); | ^ xa_mpg.c:785:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | if (mpg->pic == 0) TheEnd1("MPG_Buffer_Action: malloc failed"); | ^ xa_mpg.c:723:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | xaULONG mpg_read_SEQ_HDR(anim_hdr,mpg,shdr) | ^ xa_mpg.c:65:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | xaULONG mpg_read_SEQ_HDR(); | ^ xa_mpg.c:823: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] 823 | MPG_GET_FBITS(1,drop_flag); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:824: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] 824 | MPG_GET_FBITS(5,hours); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:825: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] 825 | MPG_GET_FBITS(6,minutes); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:826: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] 826 | MPG_GET_FBITS(1,marker); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:827: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] 827 | MPG_GET_FBITS(6,seconds); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:828: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] 828 | MPG_GET_FBITS(6,mpg_num_pics); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:829: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] 829 | MPG_GET_FBITS(1,closed_gop); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:830: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] 830 | MPG_GET_FBITS(1,broken_link); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:804:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | xaULONG mpg_read_GOP_HDR(bflag) | ^ xa_mpg.c:66:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | xaULONG mpg_read_GOP_HDR(); | ^ xa_mpg.c:896: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] 896 | MPG_GET_FBITS(10,phdr->time); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:897: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] 897 | MPG_GET_FBITS(3,phdr->type); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:898: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] 898 | MPG_GET_FBITS(16,phdr->vbv_delay); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:906:7: 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] 906 | MPG_GET_FBITS(1,phdr->full_forw_flag); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:907:7: 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] 907 | MPG_GET_FBITS(3,d); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:913:7: 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] 913 | MPG_GET_FBITS(1,phdr->full_back_flag); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:914:7: 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] 914 | MPG_GET_FBITS(3,d); | ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 251 | mpg_f_bbuf = (mpg_f_file->Read_U8(mpg_f_file)) | (mpg_f_bbuf << 8); } \ | ^ xa_mpg.c:865:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | xaULONG mpg_read_PIC_HDR(phdr,bflag) | ^ xa_mpg.c:67:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | xaULONG mpg_read_PIC_HDR(); | ^ xa_mpg.c:947:37: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | if (mpg_dlta_buf == 0) TheEnd1("MPG: dlta_buf alloc err"); | ^ xa_mpg.c:954:19: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | else TheEnd1("MPG: dlta_buf realloc err"); | ^ xa_mpg.c:986:18: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | ACT_Setup_Delta(mpg,act,dlta_hdr,0); | ^ xa_mpg.c:929:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | xaULONG MPG_Setup_Delta(mpg,fname,act) | ^ xa_mpg.c:68:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | xaULONG MPG_Setup_Delta(); | ^ xa_mpg.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | MPG_Decode_B(image,delta,dsize,tchdr,map,map_flag,imagex,imagey,imaged, | ^ xa_mpg.c:1214:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | void decodeDCTDCSizeLum(value) | ^ xa_mpg.c:80:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | void decodeDCTDCSizeLum(); | ^ xa_mpg.c:1243:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | void decodeDCTDCSizeChrom(value) | ^ xa_mpg.c:81:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | void decodeDCTDCSizeChrom(); | ^ xa_mpg.c:1311:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | static void decodeDCTCoeff(dct_coeff_tbl, run, level) | ^ xa_mpg.c:82:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 82 | static void decodeDCTCoeff(); | ^ xa_mpg.c:1413:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | void decodeDCTCoeffFirst(run, level) | ^ xa_mpg.c:83:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | void decodeDCTCoeffFirst(); | ^ xa_mpg.c:1441:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | void decodeDCTCoeffNext(run, level) | ^ xa_mpg.c:84:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | void decodeDCTCoeffNext(); | ^ xa_mpg.c:1461:28: warning: passing arguments to 'XA_Add_Func_To_Free_Chain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | XA_Add_Func_To_Free_Chain(anim_hdr,MPG_Free_Stuff); | ^ xa_mpg.c:1458:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1458 | void MPG_Init_Stuff(anim_hdr) | ^ xa_mpg.c:74: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] 74 | void MPG_Init_Stuff(); | ^ xa_mpg.c:1587:31: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | if (cmap_color_func == 4) { MPG_CMAP_CACHE_CHECK(chdr); } | ^ xa_mpg.c:1542:75: note: expanded from macro 'MPG_CMAP_CACHE_CHECK' 1542 | #define MPG_CMAP_CACHE_CHECK(chdr); { if (cmap_cache == 0) CMAP_Cache_Init(0); \ | ^ xa_mpg.c:1602:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1602 | else color_func = XA_MCU221111_To_332; | ^ xa_mpg.c:1712:16: warning: passing arguments to 'mpg_huffparseI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1712 | mpg_huffparseI(dct_dc_size_luminance, 7, &mpg_dc_y, | ^ xa_mpg.c:1714:16: warning: passing arguments to 'mpg_huffparseI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1714 | mpg_huffparseI(dct_dc_size_luminance, 7, &mpg_dc_y, | ^ xa_mpg.c:1716:16: warning: passing arguments to 'mpg_huffparseI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1716 | mpg_huffparseI(dct_dc_size_luminance, 7, &mpg_dc_y, | ^ xa_mpg.c:1718:16: warning: passing arguments to 'mpg_huffparseI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | mpg_huffparseI(dct_dc_size_luminance, 7, &mpg_dc_y, | ^ xa_mpg.c:1720:16: warning: passing arguments to 'mpg_huffparseI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | mpg_huffparseI(dct_dc_size_chrominance, 8, &mpg_dc_cr, | ^ xa_mpg.c:1722:16: warning: passing arguments to 'mpg_huffparseI' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | mpg_huffparseI(dct_dc_size_chrominance, 8, &mpg_dc_cb, | ^ xa_mpg.c:1727: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] 1727 | (void)(color_func)(iptr,imagex,imagey,(mcu_cols * DCTSIZE2),orow_size, | ^ xa_mpg.c:1553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | MPG_Decode_I(image,delta,dsize,dec_info) | ^ xa_mpg.c:69:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | xaULONG MPG_Decode_I(); | ^ xa_mpg.c:2089:23: warning: passing arguments to 'j_rev_dct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2089 | if (c_cnt) j_rev_dct(dct_buf,OBuf,rnglimit); | ^ xa_mpg.c:2026:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | void mpg_huffparseI(dct_dc_htab,hsz,dc_val_in,qscale,qtab,dct_buf,OBuf) | ^ xa_mpg.c:85: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] 85 | void mpg_huffparseI(); | ^ xa_mpg.c:2135:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2135 | void j_rev_dct (data,outptr,rnglimit) | ^ xa_mpg.c:88: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] 88 | void j_rev_dct(); | ^ xa_mpg.c:3196:19: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 3196 | xaULONG extra = (xaULONG)dec_info->extra; | ^~~~~~~~~~~~~~~~~~~~~~~~ xa_mpg.c:3225:31: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3225 | if (cmap_color_func == 4) { MPG_CMAP_CACHE_CHECK(chdr); } | ^ xa_mpg.c:1542:75: note: expanded from macro 'MPG_CMAP_CACHE_CHECK' 1542 | #define MPG_CMAP_CACHE_CHECK(chdr); { if (cmap_cache == 0) CMAP_Cache_Init(0); \ | ^ xa_mpg.c:3240:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3240 | else color_func = XA_MCU221111_To_332; | ^ xa_mpg.c:3412: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] 3412 | (void)(color_func)(iptr,imagex,imagey,(mcu_cols * DCTSIZE2),orow_size, | ^ xa_mpg.c:3188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3188 | MPG_Decode_FULLI(image,delta,dsize,dec_info) | ^ 111 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_dl.c xa_dl.c:79:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if (fframe == 0) TheEnd1("DL_Add_Cmd: malloc err"); | ^ xa_dl.c:73:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | DL_FRAME *DL_Add_Cmd(type,time,timelo) | ^ xa_dl.c:63:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | DL_FRAME *DL_Add_Cmd(); | ^ xa_dl.c:101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | void DL_Free_Cmd_List(fframes) | ^ xa_dl.c:64: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] 64 | void DL_Free_Cmd_List(); | ^ xa_dl.c:134: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] 134 | dl_version = xin->Read_U8(xin); /* either 1 or 2 */ | ^ xa_dl.c:144: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] 144 | dl_format = xin->Read_U8(xin); | ^ xa_dl.c:148: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] 148 | dl_format = xin->Read_U8(xin); | ^ xa_dl.c:184: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] 184 | while(cnt--) {xin->Read_U8(xin); } | ^ xa_dl.c:191: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] 191 | tmp = xin->Read_U8(xin); | ^ xa_dl.c:201: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] 201 | tmp = xin->Read_U8(xin); | ^ xa_dl.c:207:42: 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] 207 | dl_num_of_screens = xin->Read_LSB_U16(xin); | ^ xa_dl.c:209:37: 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] 209 | dl_num_of_screens = xin->Read_U8(xin); | ^ xa_dl.c:214:42: 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] 214 | dl_num_of_frames = xin->Read_LSB_U16(xin); | ^ xa_dl.c:216:42: 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] 216 | dl_num_of_frames = xin->Read_LSB_U32(xin); | ^ xa_dl.c:219:41: 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] 219 | dl_num_of_frames = xin->Read_LSB_U16(xin); | ^ xa_dl.c:220:40: 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] 220 | dl_num_of_audio = xin->Read_LSB_U16(xin); | ^ xa_dl.c:227:37: 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] 227 | dl->cmap[i].red = xin->Read_U8(xin) & 0x3f; | ^ xa_dl.c:228:37: 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] 228 | dl->cmap[i].green = xin->Read_U8(xin) & 0x3f; | ^ xa_dl.c:229:37: 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] 229 | dl->cmap[i].blue = xin->Read_U8(xin) & 0x3f; | ^ xa_dl.c:231:26: warning: passing arguments to 'ACT_Get_CMAP' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | dl->chdr = ACT_Get_CMAP(dl->cmap,DL_MAX_COLORS,0,DL_MAX_COLORS,0,6,6,6); | ^ xa_dl.c:263:36: 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] 263 | dl->imagex = xin->Read_LSB_U16(xin); | ^ xa_dl.c:264:36: 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] 264 | dl->imagey = xin->Read_LSB_U16(xin); | ^ xa_dl.c:273:31: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_dl.c:276:30: warning: passing arguments to 'DL_Get_Dlta_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | dlta_hdr = DL_Get_Dlta_HDR(xin,dl->pic_size,act, | ^ xa_dl.c:283:19: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | ACT_Setup_Delta(dl,act,dlta_hdr,xin); | ^ xa_dl.c:303:27: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | act0 = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_dl.c:305:27: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | act1 = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_dl.c:309:29: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | act2 = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_dl.c:311:29: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | act3 = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_dl.c:317:32: warning: passing arguments to 'DL_Get_Dlta_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | d_hdr0 = DL_Get_Dlta_HDR(xin,s_size,act0, | ^ xa_dl.c:320: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] 320 | xin->Seek_FPos(xin,dl->imagex,1); s_size -= dl->imagex; | ^ xa_dl.c:321:32: warning: passing arguments to 'DL_Get_Dlta_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | d_hdr1 = DL_Get_Dlta_HDR(xin,s_size,act1, | ^ xa_dl.c:326: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] 326 | xin->Seek_FPos(xin,dl->imagex,1); s_size -= dl->imagex; | ^ xa_dl.c:327:34: warning: passing arguments to 'DL_Get_Dlta_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | d_hdr2 = DL_Get_Dlta_HDR(xin,s_size,act2, | ^ xa_dl.c:330: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] 330 | xin->Seek_FPos(xin,dl->imagex,1); s_size -= dl->imagex; | ^ xa_dl.c:331:34: warning: passing arguments to 'DL_Get_Dlta_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | d_hdr3 = DL_Get_Dlta_HDR(xin,s_size,act3, | ^ xa_dl.c:335: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] 335 | xin->Seek_FPos(xin,s_size,1); | ^ xa_dl.c:341:32: warning: passing arguments to 'DL_Get_Dlta_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | d_hdr0 = DL_Get_Dlta_HDR(xin,dl->pic_size,act0, | ^ xa_dl.c:346:32: warning: passing arguments to 'DL_Get_Dlta_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | d_hdr1 = DL_Get_Dlta_HDR(xin,dl->pic_size,act1, | ^ xa_dl.c:353:27: warning: passing arguments to 'DL_Get_Dlta_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | d_hdr2 = DL_Get_Dlta_HDR(xin,dl->pic_size,act2, | ^ xa_dl.c:358:27: warning: passing arguments to 'DL_Get_Dlta_HDR' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | d_hdr3 = DL_Get_Dlta_HDR(xin,dl->pic_size,act3, | ^ xa_dl.c:364: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] 364 | { xin->Read_Block(xin,(char *)(dp0),dl->imagex); dp0 += dl->imagex; | ^ xa_dl.c:365:18: 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] 365 | xin->Read_Block(xin,(char *)(dp1),dl->imagex); dp1 += dl->imagex; | ^ xa_dl.c:367: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] 367 | { xin->Read_Block(xin,(char *)(dp2),dl->imagex); dp2 += dl->imagex; | ^ xa_dl.c:368: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] 368 | xin->Read_Block(xin,(char *)(dp3),dl->imagex); dp3 += dl->imagex; | ^ xa_dl.c:373:34: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | dl->pic = 0; ACT_Setup_Delta(dl,act0,d_hdr0,xin); | ^ xa_dl.c:374:34: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | dl->pic = 0; ACT_Setup_Delta(dl,act1,d_hdr1,xin); | ^ xa_dl.c:377:36: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | dl->pic = 0; ACT_Setup_Delta(dl,act2,d_hdr2,xin); | ^ xa_dl.c:378:36: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | dl->pic = 0; ACT_Setup_Delta(dl,act3,d_hdr3,xin); | ^ xa_dl.c:403: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] 403 | tmp = xin->Read_U8(xin); | ^ xa_dl.c:425: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] 425 | tmp = xin->Read_U8(xin); tmp |= ( xin->Read_U8(xin) << 8); i++; | ^ xa_dl.c:425:55: 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] 425 | tmp = xin->Read_U8(xin); tmp |= ( xin->Read_U8(xin) << 8); i++; | ^ xa_dl.c:434:32: 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] 434 | cnt = xin->Read_LSB_U16(xin); i++; | ^ xa_dl.c:457:30: 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] 457 | tmp = xin->Read_LSB_U16(xin); i++; | ^ xa_dl.c:486:18: 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] 486 | xin->Close_File(xin); | ^ xa_dl.c:495:14: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | TheEnd1("DL_ANIM: couldn't malloc for frame_lst\0"); | ^ xa_dl.c:497:35: warning: passing arguments to 'DL_Gen_Frame_List' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | dl_frame_cnt = DL_Gen_Frame_List(anim_hdr->frame_lst,dl_frame_cnt); | ^ xa_dl.c:527:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | XA_Free_Anim_Setup(dl); | ^ xa_dl.c:115:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | xaULONG DL_Read_File(fname,anim_hdr) | ^ xa_dl.c:26:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | xaULONG DL_Read_File(); | ^ xa_dl.c:586:14: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'XA_ACTION *' (aka 'struct XA_ACTION_STRUCT *') [-Wpointer-to-int-cast] 586 | i,fm->type,(xaULONG)frame_lst[i].act); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xa_dl.c:565:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | xaULONG DL_Gen_Frame_List(frame_lst,frame_cnt) | ^ xa_dl.c:66:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | xaULONG DL_Gen_Frame_List(); | ^ xa_dl.c:621:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | if (dlta_hdr == 0) TheEnd1("DL dlta: malloc err0"); | ^ xa_dl.c:624:36: 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] 624 | dlta_hdr->fpos = xin->Get_FPos(xin); | ^ xa_dl.c:630:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | if (dlta_hdr == 0) TheEnd1("DL dlta: malloc err1"); | ^ xa_dl.c:637: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] 637 | ret = xin->Read_Block(xin,dlta_hdr->data, fsize); | ^ xa_dl.c:645:21: warning: cast to 'void *' from smaller integer type 'xaULONG' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 645 | dlta_hdr->extra = (void *)(extra); | ^~~~~~~~~~~~~~~ xa_dl.c:611:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | ACT_DLTA_HDR *DL_Get_Dlta_HDR(xin,fsize,act,imx,imy,extra,rd_flag) | ^ xa_dl.c:30:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | ACT_DLTA_HDR *DL_Get_Dlta_HDR(); | ^ xa_dl.c:663:34: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 663 | xaULONG skip_lines = imagex * ((xaULONG)(extra)); | ^~~~~~~~~~~~~~~~ xa_dl.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | DL_Decode_Image(image,delta,dsize,dec_info) | ^ xa_dl.c:29:9: warning: a function declaration without a prototype is 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 | xaULONG DL_Decode_Image(); | ^ 74 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_jmov.c xa_jmov.c:84:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | if (fframe == 0) TheEnd1("JMOV_Add_Frame: malloc err"); | ^ xa_jmov.c:77:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | JMOV_FRAME *JMOV_Add_Frame(time,timelo,act) | ^ xa_jmov.c:29: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] 29 | JMOV_FRAME *JMOV_Add_Frame(); | ^ xa_jmov.c:99:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | void JMOV_Free_Frame_List(fframes) | ^ xa_jmov.c:30: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] 30 | void JMOV_Free_Frame_List(); | ^ xa_jmov.c:130:23: warning: passing arguments to 'JMOV_Read_Header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | if (JMOV_Read_Header(xin,anim_hdr,jmov,&jmov_hdr) == xaFALSE) | ^ xa_jmov.c:133: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] 133 | xin->Close_File(xin); | ^ xa_jmov.c:137:18: warning: passing arguments to 'JMOV_Read_Index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | JMOV_Read_Index(xin,anim_hdr,jmov,&jmov_hdr); | ^ xa_jmov.c:153:43: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | if (anim_hdr->frame_lst == NULL) TheEnd1("JMOV_Read_File: frame malloc err"); | ^ xa_jmov.c:202:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | XA_Free_Anim_Setup(jmov); | ^ xa_jmov.c:112:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | xaULONG JMOV_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_jmov.c:28:9: warning: a function declaration without a prototype is 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 | xaULONG JMOV_Read_File(); | ^ xa_jmov.c:214: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] 214 | t = xin->Read_MSB_U32(xin); /* skip 8 bytes of header */ | ^ xa_jmov.c:215: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] 215 | t = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:216:40: 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] 216 | jmov_hdr->version = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:217:37: 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] 217 | jmov_hdr->fps = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:218:39: 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] 218 | jmov_hdr->frames = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:219:38: 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] 219 | jmov_hdr->width = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:220:39: 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] 220 | jmov_hdr->height = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:221:42: 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] 221 | jmov_hdr->bandwidth = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:222:40: 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] 222 | jmov_hdr->qfactor = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:223:40: 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 | jmov_hdr->mapsize = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:224:41: 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] 224 | jmov_hdr->indexbuf = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:225:39: 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 | jmov_hdr->tracks = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:226:41: 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] 226 | jmov_hdr->volbase = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:227:43: 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] 227 | jmov_hdr->audioslice = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:229:37: 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] 229 | jmov_hdr->freq = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:230: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] 230 | xin->Read_MSB_U32(xin); /* sja throw away samples per unit */ | ^ xa_jmov.c:231:37: 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] 231 | jmov_hdr->prec = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:232:38: 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] 232 | jmov_hdr->chans = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:233:38: 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] 233 | jmov_hdr->codec = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:235:18: warning: passing arguments to 'UTIL_FPS_2_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | UTIL_FPS_2_Time(jmov, ((double)(jmov_hdr->fps)) ); | ^ xa_jmov.c:283:24: warning: passing arguments to 'JFIF_Init_IJPG_Tables' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | JFIF_Init_IJPG_Tables( 1 ); | ^ xa_jmov.c:300:18: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | XA_Gen_YUV_Tabs(anim_hdr); | ^ xa_jmov.c:301:21: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | JPG_Alloc_MCU_Bufs(anim_hdr,jmov->imagex,0,xaFALSE); | ^ xa_jmov.c:307:42: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | jmov->chdr = CMAP_Create_332(jmov->cmap,&jmov->imagec); | ^ xa_jmov.c:308:43: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | else jmov->chdr = CMAP_Create_Gray(jmov->cmap,&jmov->imagec); | ^ xa_jmov.c:316:32: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | if (jmov->pic == 0) TheEnd1("JMOV_Buffer_Action: malloc failed"); | ^ xa_jmov.c:207:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | xaULONG JMOV_Read_Header(xin,anim_hdr,jmov,jmov_hdr) | ^ xa_jmov.c:32:9: warning: a function declaration without a prototype is 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 | xaULONG JMOV_Read_Header(); | ^ xa_jmov.c:335: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] 335 | ret = xin->Seek_FPos(xin,idx_off,0); | ^ xa_jmov.c:338: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] 338 | if (xin->At_EOF(xin,-1)) | ^ xa_jmov.c:344:33: 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] 344 | index[i] = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:350:19: 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 | xin->Seek_FPos(xin,offset,0); | ^ xa_jmov.c:351:20: warning: passing arguments to 'JMOV_Read_Frame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | JMOV_Read_Frame(xin,anim_hdr,jmov,jmov_hdr); | ^ xa_jmov.c:322:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | void JMOV_Read_Index(xin,anim_hdr,jmov,jmov_hdr) | ^ xa_jmov.c:33: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] 33 | void JMOV_Read_Index(); | ^ xa_jmov.c:375: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] 375 | while( (!xin->At_EOF(xin,-1)) & (exit_flag == xaFALSE)) | ^ xa_jmov.c:377: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] 377 | type = xin->Read_U8(xin); | ^ xa_jmov.c:397:45: 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] 397 | { xaLONG rets, cur_fpos = xin->Get_FPos(xin); | ^ xa_jmov.c:398:27: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | rets = XA_Add_Sound(anim_hdr,0,jmov_audio_type, cur_fpos, | ^ xa_jmov.c:402: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] 402 | xin->Seek_FPos(xin,snd_size,1); /* move past this chunk */ | ^ xa_jmov.c:409:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | if (snd==0) TheEnd1("JMOV: snd malloc err"); | ^ xa_jmov.c:410: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] 410 | ret = xin->Read_Block(xin, snd, snd_size); | ^ xa_jmov.c:414:29: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | rets = XA_Add_Sound(anim_hdr,snd,jmov_audio_type, -1, | ^ xa_jmov.c:421: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] 421 | else xin->Seek_FPos(xin,snd_size,1); /* skip over */ | ^ xa_jmov.c:432: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] 432 | xin->Seek_FPos(xin,size,1); /* skip over */ | ^ xa_jmov.c:439: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] 439 | cnt = xin->Read_U8(xin); | ^ xa_jmov.c:443: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] 443 | r = xin->Read_U8(xin); g = xin->Read_U8(xin); b = xin->Read_U8(xin); | ^ xa_jmov.c:443:45: 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] 443 | r = xin->Read_U8(xin); g = xin->Read_U8(xin); b = xin->Read_U8(xin); | ^ xa_jmov.c:443:68: 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] 443 | r = xin->Read_U8(xin); g = xin->Read_U8(xin); b = xin->Read_U8(xin); | ^ xa_jmov.c:450: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] 450 | fps = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:451:19: warning: passing arguments to 'UTIL_FPS_2_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | UTIL_FPS_2_Time(jmov, ((double)(fps)) ); | ^ xa_jmov.c:460:32: 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] 460 | dlta_len = xin->Read_MSB_U32(xin); | ^ xa_jmov.c:462:24: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_jmov.c:466:32: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | if (dlta_hdr == 0) TheEnd1("JMOV: dlta malloc err"); | ^ xa_jmov.c:470:37: 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] 470 | dlta_hdr->fpos = xin->Get_FPos(xin); | ^ xa_jmov.c:472: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] 472 | xin->Seek_FPos(xin,dlta_len,1); | ^ xa_jmov.c:478:32: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | if (dlta_hdr == 0) TheEnd1("JMOV: malloc failed"); | ^ xa_jmov.c:482: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] 482 | ret = xin->Read_Block(xin, dlta_hdr->data, dlta_len); | ^ xa_jmov.c:493:19: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | ACT_Setup_Delta(jmov,act,dlta_hdr,xin); | ^ xa_jmov.c:367:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | void JMOV_Read_Frame(xin,anim_hdr,jmov,jmov_hdr) | ^ xa_jmov.c:34: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] 34 | void JMOV_Read_Frame(); | ^ 73 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_movi.c xa_movi.c:115:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | if (fframe == 0) TheEnd1("MOVI_Add_Frame: malloc err"); | ^ xa_movi.c:108:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | MOVI_FRAME *MOVI_Add_Frame(time,timelo,act) | ^ xa_movi.c:31: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] 31 | MOVI_FRAME *MOVI_Add_Frame(); | ^ xa_movi.c:130:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | void MOVI_Free_Frame_List(fframes) | ^ xa_movi.c:32: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] 32 | void MOVI_Free_Frame_List(); | ^ xa_movi.c:166:23: warning: passing arguments to 'MOVI_Read_Header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | if (MOVI_Read_Header(xin,anim_hdr,movi,&movi_hdr) == xaFALSE) | ^ xa_movi.c:167: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] 167 | { xin->Close_File(xin); | ^ xa_movi.c:172:26: warning: passing arguments to 'MOVI_Read_Index3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | { if (MOVI_Read_Index3(xin,anim_hdr,movi,&movi_hdr)==xaFALSE) | ^ xa_movi.c:176:26: warning: passing arguments to 'MOVI_Read_Index2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | { if (MOVI_Read_Index2(xin,anim_hdr,movi,&movi_hdr)==xaFALSE) | ^ xa_movi.c:180: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] 180 | { xin->Close_File(xin); | ^ xa_movi.c:186:24: warning: passing arguments to 'MOVI_Add_Video_Frames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | MOVI_Add_Video_Frames(xin,anim_hdr,movi,&movi_hdr); | ^ xa_movi.c:187:24: warning: passing arguments to 'MOVI_Add_Audio_Frames' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | MOVI_Add_Audio_Frames(xin,anim_hdr,movi,&movi_hdr); | ^ xa_movi.c:189:18: 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] 189 | xin->Close_File(xin); | ^ xa_movi.c:213:43: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | if (anim_hdr->frame_lst == NULL) TheEnd1("MOVI_Read_File: frame malloc err"); | ^ xa_movi.c:262:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | XA_Free_Anim_Setup(movi); | ^ xa_movi.c:143:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | xaULONG MOVI_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_movi.c:30:9: warning: a function declaration without a prototype is 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 | xaULONG MOVI_Read_File(); | ^ xa_movi.c:278:30: 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] 278 | { xaULONG dat = xin->Read_U8(xin); | ^ xa_movi.c:288:30: 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 | { xaULONG dat = xin->Read_U8(xin); | ^ xa_movi.c:270:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | float MOVI_Read_Float(xin,size) | ^ xa_movi.c:35:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | float MOVI_Read_Float(); | ^ xa_movi.c:310:30: 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] 310 | { xaULONG dat = xin->Read_U8(xin); | ^ xa_movi.c:305:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | xaULONG MOVI_Read_Int(xin,size) | ^ xa_movi.c:36:9: warning: a function declaration without a prototype is 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 | xaULONG MOVI_Read_Int(); | ^ xa_movi.c:326:38: 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] 326 | while(size--) (void)(xin->Read_U8(xin)); | ^ xa_movi.c:330:45: 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] 330 | while(size--) *p++ = (char)(xin->Read_U8(xin) & 0xff); | ^ xa_movi.c:320:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | xaULONG MOVI_Read_I_Compression(xin,size) | ^ xa_movi.c:37:9: warning: a function declaration without a prototype is 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 | xaULONG MOVI_Read_I_Compression(); | ^ xa_movi.c:352:38: 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 | while(size--) (void)(xin->Read_U8(xin)); | ^ xa_movi.c:356:45: 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] 356 | while(size--) *p++ = (char)(xin->Read_U8(xin) & 0xff); | ^ xa_movi.c:346:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | xaULONG MOVI_Read_A_Compression(xin,size) | ^ xa_movi.c:38:9: warning: a function declaration without a prototype is 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 | xaULONG MOVI_Read_A_Compression(); | ^ xa_movi.c:390:37: 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] 390 | while(size--) (void)xin->Read_U8(xin); | ^ xa_movi.c:371:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | xaULONG MOVI_Parse_MOVI_HDR(xin,movi_hdr,buf,size) | ^ xa_movi.c:42:9: warning: a function declaration without a prototype is 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 | xaULONG MOVI_Parse_MOVI_HDR(); | ^ xa_movi.c:419:37: 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] 419 | while(size--) (void)xin->Read_U8(xin); | ^ xa_movi.c:398:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | xaULONG MOVI_Parse_MOVI_A_HDR(xin,a_hdr,buf,size) | ^ xa_movi.c:44:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | xaULONG MOVI_Parse_MOVI_A_HDR(); | ^ xa_movi.c:458:37: 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] 458 | while(size--) (void)xin->Read_U8(xin); | ^ xa_movi.c:427:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | xaULONG MOVI_Parse_MOVI_I_HDR(xin,i_hdr,buf,size) | ^ xa_movi.c:43:9: warning: a function declaration without a prototype is 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 | xaULONG MOVI_Parse_MOVI_I_HDR(); | ^ xa_movi.c:471: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] 471 | t = xin->Read_MSB_U32(xin); /* skip MOVI */ | ^ xa_movi.c:480:32: 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] 480 | version = xin->Read_MSB_U16(xin); | ^ xa_movi.c:482:32: 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] 482 | { version = xin->Read_MSB_U16(xin); | ^ xa_movi.c:485: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] 485 | t = xin->Read_MSB_U32(xin); /* unknown */ | ^ xa_movi.c:486:32: warning: passing arguments to 'MOVI_Read_Header3' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | return( MOVI_Read_Header3(xin,anim_hdr,movi,movi_hdr) ); | ^ xa_movi.c:491: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] 491 | t = xin->Read_MSB_U16(xin); /* width */ | ^ xa_movi.c:492: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] 492 | t = xin->Read_MSB_U16(xin); /* height */ | ^ xa_movi.c:493: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] 493 | t = xin->Read_MSB_U16(xin); /* unknown */ | ^ xa_movi.c:494:31: warning: passing arguments to 'MOVI_Read_Header2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | return( MOVI_Read_Header2(xin,anim_hdr,movi,movi_hdr) ); | ^ xa_movi.c:464:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | xaULONG MOVI_Read_Header(xin,anim_hdr,movi,movi_hdr) | ^ xa_movi.c:39:9: warning: a function declaration without a prototype is 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 | xaULONG MOVI_Read_Header(); | ^ xa_movi.c:520: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] 520 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:521:30: 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] 521 | vars = xin->Read_MSB_U32(xin); /* num of variables */ | ^ xa_movi.c:522: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] 522 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:524:51: 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] 524 | { int i; for(i=0;i<16;i++) buf[i] = xin->Read_U8(xin); | ^ xa_movi.c:525: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] 525 | size = xin->Read_MSB_U32(xin); /* size */ | ^ xa_movi.c:538:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | if (a_hdr == 0) TheEnd1("MOVI: a_hdr malloc err"); | ^ xa_movi.c:548: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] 548 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:549: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] 549 | vars = xin->Read_MSB_U32(xin); /* num of variables */ | ^ xa_movi.c:550: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] 550 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:552:53: 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] 552 | { int i; for(i=0;i<16;i++) buf[i] = xin->Read_U8(xin); | ^ xa_movi.c:553: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] 553 | size = xin->Read_MSB_U32(xin); /* size */ | ^ xa_movi.c:565:36: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 565 | if (a_hdr->frames == 0) TheEnd1("MOVI: Audio err"); | ^ xa_movi.c:609:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | if (i_hdr == 0) TheEnd1("MOVI: i_hdr malloc err"); | ^ xa_movi.c:623: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] 623 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:624: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] 624 | vars = xin->Read_MSB_U32(xin); /* num of variables */ | ^ xa_movi.c:625: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] 625 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:627:53: 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] 627 | { int i; for(i=0;i<16;i++) buf[i] = xin->Read_U8(xin); | ^ xa_movi.c:628: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] 628 | size = xin->Read_MSB_U32(xin); /* size */ | ^ xa_movi.c:646:36: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | if (i_hdr->frames == 0) TheEnd1("MOVI: Video err"); | ^ xa_movi.c:650:20: warning: passing arguments to 'UTIL_FPS_2_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 650 | UTIL_FPS_2_Time(movi, ((double)(i_hdr->fps)) ); | ^ xa_movi.c:661:24: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | XA_Gen_YUV_Tabs(anim_hdr); | ^ xa_movi.c:662:27: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | JPG_Alloc_MCU_Bufs(anim_hdr,movi->imagex,0,xaFALSE); | ^ xa_movi.c:663:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | JPG_Setup_Samp_Limit_Table(anim_hdr); | ^ xa_movi.c:673:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | JPG_Setup_Samp_Limit_Table(anim_hdr); | ^ xa_movi.c:691:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | JPG_Setup_Samp_Limit_Table(anim_hdr); | ^ xa_movi.c:709:35: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | movi->chdr = CMAP_Create_332(movi->cmap,&movi->imagec); | ^ xa_movi.c:716:42: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 716 | movi->chdr = CMAP_Create_332(movi->cmap,&movi->imagec); | ^ xa_movi.c:717:45: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | else movi->chdr = CMAP_Create_Gray(movi->cmap,&movi->imagec); | ^ xa_movi.c:726:34: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | if (movi->pic == 0) TheEnd1("MOVI_Buffer_Action: malloc failed"); | ^ xa_movi.c:501:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | xaULONG MOVI_Read_Header3(xin,anim_hdr,movi,movi_hdr) | ^ xa_movi.c:41:9: warning: a function declaration without a prototype is 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 | xaULONG MOVI_Read_Header3(); | ^ xa_movi.c:749: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] 749 | t = xin->Read_MSB_U32(xin); /* unk 0000_0000 */ | ^ xa_movi.c:750: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] 750 | t = xin->Read_MSB_U32(xin); /* unk 402e_0000 */ | ^ xa_movi.c:751: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] 751 | t = xin->Read_MSB_U32(xin); /* unk 0000_0000 */ | ^ xa_movi.c:752: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] 752 | t = xin->Read_MSB_U32(xin); /* unk 0002_0001 */ | ^ xa_movi.c:756:28: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | if (i_hdr == 0) TheEnd1("MOVI: i_hdr malloc err"); | ^ xa_movi.c:771:38: 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] 771 | i_hdr->frames = xin->Read_MSB_U32(xin); | ^ xa_movi.c:772:43: 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] 772 | i_hdr->compression = xin->Read_MSB_U32(xin); /* ??? */ | ^ xa_movi.c:773:37: 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] 773 | i_hdr->width = xin->Read_MSB_U32(xin); | ^ xa_movi.c:774:38: 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] 774 | i_hdr->height = xin->Read_MSB_U32(xin); | ^ xa_movi.c:776: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] 776 | t = xin->Read_MSB_U32(xin); /* unk 0000_0004 */ | ^ xa_movi.c:777: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] 777 | t = xin->Read_MSB_U32(xin); /* unk 0000_0002 */ | ^ xa_movi.c:778: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] 778 | t = xin->Read_MSB_U32(xin); /* unk 0000_0001 */ | ^ xa_movi.c:779: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] 779 | t = xin->Read_MSB_U32(xin); /* unk 0000_0000 */ | ^ xa_movi.c:780: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] 780 | t = xin->Read_MSB_U32(xin); /* unk 0000_0000 */ | ^ xa_movi.c:782: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] 782 | t = xin->Read_MSB_U32(xin); /* unk 0000_0000 */ | ^ xa_movi.c:783: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] 783 | t = xin->Read_MSB_U32(xin); /* unk 0000_0000 */ | ^ xa_movi.c:784: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] 784 | t = xin->Read_MSB_U32(xin); /* unk 0000_0000 */ | ^ xa_movi.c:785: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] 785 | t = xin->Read_MSB_U32(xin); /* unk 0000_0000 */ | ^ xa_movi.c:787:44: 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] 787 | t = 0x80; while(t--) (void)xin->Read_U8(xin); /* video title */ | ^ xa_movi.c:788:44: 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] 788 | t = 0x80; while(t--) (void)xin->Read_U8(xin); /* audio title */ | ^ xa_movi.c:789:44: 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] 789 | t = 0x80; while(t--) (void)xin->Read_U8(xin); /* unknown */ | ^ xa_movi.c:790:44: 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] 790 | t = 0x80; while(t--) (void)xin->Read_U8(xin); /* unknown */ | ^ xa_movi.c:802:36: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | if (i_hdr->frames == 0) TheEnd1("MOVI: Video err"); | ^ xa_movi.c:806:20: warning: passing arguments to 'UTIL_FPS_2_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | UTIL_FPS_2_Time(movi, ((double)(i_hdr->fps)) ); | ^ xa_movi.c:817:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | JPG_Setup_Samp_Limit_Table(anim_hdr); | ^ xa_movi.c:840:35: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | movi->chdr = CMAP_Create_332(movi->cmap,&movi->imagec); | ^ xa_movi.c:846:42: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | movi->chdr = CMAP_Create_332(movi->cmap,&movi->imagec); | ^ xa_movi.c:847:45: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | else movi->chdr = CMAP_Create_Gray(movi->cmap,&movi->imagec); | ^ xa_movi.c:856:34: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | if (movi->pic == 0) TheEnd1("MOVI_Buffer_Action: malloc failed"); | ^ xa_movi.c:733:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 733 | xaULONG MOVI_Read_Header2(xin,anim_hdr,movi,movi_hdr) | ^ xa_movi.c:40:9: warning: a function declaration without a prototype is 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 | xaULONG MOVI_Read_Header2(); | ^ xa_movi.c:875:41: 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] 875 | a_hdr->off[i] = xin->Read_MSB_U32(xin); | ^ xa_movi.c:876:42: 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] 876 | a_hdr->size[i] = xin->Read_MSB_U32(xin); | ^ xa_movi.c:877:30: 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] 877 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:878:30: 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] 878 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:886:41: 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] 886 | i_hdr->off[i] = xin->Read_MSB_U32(xin); | ^ xa_movi.c:887:42: 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] 887 | i_hdr->size[i] = xin->Read_MSB_U32(xin); | ^ xa_movi.c:888:30: 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] 888 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:889:30: 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] 889 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:864:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | xaULONG MOVI_Read_Index3(xin,anim_hdr,movi,movi_hdr) | ^ xa_movi.c:46:9: warning: a function declaration without a prototype is 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 | xaULONG MOVI_Read_Index3(); | ^ xa_movi.c:907:40: 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] 907 | { a_hdr->off[i] = xin->Read_MSB_U32(xin); | ^ xa_movi.c:908: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] 908 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:909:41: 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] 909 | a_hdr->size[i] = xin->Read_MSB_U32(xin); | ^ xa_movi.c:910: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] 910 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:911: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] 911 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:919:41: 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] 919 | { i_hdr->off[i] = xin->Read_MSB_U32(xin); | ^ xa_movi.c:920:30: 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] 920 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:921:42: 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] 921 | i_hdr->size[i] = xin->Read_MSB_U32(xin); | ^ xa_movi.c:922:30: 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] 922 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:923:30: 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] 923 | t = xin->Read_MSB_U32(xin); /* unk */ | ^ xa_movi.c:897:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | xaULONG MOVI_Read_Index2(xin,anim_hdr,movi,movi_hdr) | ^ xa_movi.c:45:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | xaULONG MOVI_Read_Index2(); | ^ xa_movi.c:948:39: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | if (act == 0) act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_movi.c:951:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | if (dlta_hdr == 0) TheEnd1("MOVI: dlta malloc err"); | ^ xa_movi.c:962:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | if (dlta_hdr == 0) TheEnd1("MOVI: malloc failed"); | ^ xa_movi.c:966: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] 966 | ret = xin->Seek_FPos(xin, i_hdr->off[i], 0); | ^ xa_movi.c:967: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] 967 | ret = xin->Read_Block(xin,dlta_hdr->data,dlta_len); | ^ xa_movi.c:1022:20: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1022 | ACT_Setup_Delta(movi,act,dlta_hdr,xin); | ^ xa_movi.c:1025:24: warning: passing arguments to 'ACT_Free_Act' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | if (act) ACT_Free_Act(act); | ^ xa_movi.c:932:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | void MOVI_Add_Video_Frames(xin,anim_hdr,movi,movi_hdr) | ^ xa_movi.c:47: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] 47 | void MOVI_Add_Video_Frames(); | ^ xa_movi.c:1047:21: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | rets = XA_Add_Sound(anim_hdr,0,movi_audio_type, a_hdr->off[i], | ^ xa_movi.c:1056:21: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | if (snd==0) TheEnd1("MOVI: snd malloc err"); | ^ xa_movi.c:1057: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] 1057 | ret = xin->Seek_FPos( xin, a_hdr->off[i], 0); | ^ xa_movi.c:1058: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] 1058 | ret = xin->Read_Block(xin, snd, snd_size); | ^ xa_movi.c:1062:23: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | rets = XA_Add_Sound(anim_hdr,snd,movi_audio_type, -1, | ^ xa_movi.c:1031:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | void MOVI_Add_Audio_Frames(xin,anim_hdr,movi,movi_hdr) | ^ xa_movi.c:48: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] 48 | void MOVI_Add_Audio_Frames(); | ^ xa_movi.c:1230:41: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | { if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_movi.c:1360:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | MVC1_COLOR8(dptr,p0,c0,c1,c2,c3,c4,c5,c6,c7,mflag,map,chdr,xaUBYTE); } | ^ xa_movi.c:1084:28: note: expanded from macro 'MVC1_COLOR8' 1084 | { c0 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1360:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1085:58: note: expanded from macro 'MVC1_COLOR8' 1085 | p0 = *dp++ << 8; p0 |= *dp++; c1 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1360:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1086:58: note: expanded from macro 'MVC1_COLOR8' 1086 | p0 = *dp++ << 8; p0 |= *dp++; c2 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1360:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1087:58: note: expanded from macro 'MVC1_COLOR8' 1087 | p0 = *dp++ << 8; p0 |= *dp++; c3 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1360:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1088:58: note: expanded from macro 'MVC1_COLOR8' 1088 | p0 = *dp++ << 8; p0 |= *dp++; c4 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1360:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1089:58: note: expanded from macro 'MVC1_COLOR8' 1089 | p0 = *dp++ << 8; p0 |= *dp++; c5 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1360:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1090:58: note: expanded from macro 'MVC1_COLOR8' 1090 | p0 = *dp++ << 8; p0 |= *dp++; c6 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1360:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1091:58: note: expanded from macro 'MVC1_COLOR8' 1091 | p0 = *dp++ << 8; p0 |= *dp++; c7 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); } | ^ xa_movi.c:1361:12: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | else MVC1_COLOR2(dptr,p0,c0,c1,c2,c3,c4,c5,c6,c7,mflag,map,chdr,xaUBYTE) | ^ xa_movi.c:1079:43: note: expanded from macro 'MVC1_COLOR2' 1079 | { c0 = c2 = c4 = c6 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1361:12: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1081:43: note: expanded from macro 'MVC1_COLOR2' 1081 | c1 = c3 = c5 = c7 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); } | ^ xa_movi.c:1374:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | MVC1_COLOR8(dptr,p0,c0,c1,c2,c3,c4,c5,c6,c7,mflag,map,chdr,xaULONG); } | ^ xa_movi.c:1084:28: note: expanded from macro 'MVC1_COLOR8' 1084 | { c0 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1374:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1085:58: note: expanded from macro 'MVC1_COLOR8' 1085 | p0 = *dp++ << 8; p0 |= *dp++; c1 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1374:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1086:58: note: expanded from macro 'MVC1_COLOR8' 1086 | p0 = *dp++ << 8; p0 |= *dp++; c2 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1374:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1087:58: note: expanded from macro 'MVC1_COLOR8' 1087 | p0 = *dp++ << 8; p0 |= *dp++; c3 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1374:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1088:58: note: expanded from macro 'MVC1_COLOR8' 1088 | p0 = *dp++ << 8; p0 |= *dp++; c4 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1374:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1089:58: note: expanded from macro 'MVC1_COLOR8' 1089 | p0 = *dp++ << 8; p0 |= *dp++; c5 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1374:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1090:58: note: expanded from macro 'MVC1_COLOR8' 1090 | p0 = *dp++ << 8; p0 |= *dp++; c6 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1374:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1091:58: note: expanded from macro 'MVC1_COLOR8' 1091 | p0 = *dp++ << 8; p0 |= *dp++; c7 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); } | ^ xa_movi.c:1375:12: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | else MVC1_COLOR2(dptr,p0,c0,c1,c2,c3,c4,c5,c6,c7,mflag,map,chdr,xaULONG) | ^ xa_movi.c:1079:43: note: expanded from macro 'MVC1_COLOR2' 1079 | { c0 = c2 = c4 = c6 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1375:12: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1081:43: note: expanded from macro 'MVC1_COLOR2' 1081 | c1 = c3 = c5 = c7 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); } | ^ xa_movi.c:1388:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | MVC1_COLOR8(dptr,p0,c0,c1,c2,c3,c4,c5,c6,c7,mflag,map,chdr,xaUSHORT); } | ^ xa_movi.c:1084:28: note: expanded from macro 'MVC1_COLOR8' 1084 | { c0 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1388:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1085:58: note: expanded from macro 'MVC1_COLOR8' 1085 | p0 = *dp++ << 8; p0 |= *dp++; c1 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1388:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1086:58: note: expanded from macro 'MVC1_COLOR8' 1086 | p0 = *dp++ << 8; p0 |= *dp++; c2 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1388:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1087:58: note: expanded from macro 'MVC1_COLOR8' 1087 | p0 = *dp++ << 8; p0 |= *dp++; c3 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1388:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1088:58: note: expanded from macro 'MVC1_COLOR8' 1088 | p0 = *dp++ << 8; p0 |= *dp++; c4 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1388:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1089:58: note: expanded from macro 'MVC1_COLOR8' 1089 | p0 = *dp++ << 8; p0 |= *dp++; c5 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1388:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1090:58: note: expanded from macro 'MVC1_COLOR8' 1090 | p0 = *dp++ << 8; p0 |= *dp++; c6 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1388:4: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1091:58: note: expanded from macro 'MVC1_COLOR8' 1091 | p0 = *dp++ << 8; p0 |= *dp++; c7 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); } | ^ xa_movi.c:1389:12: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | else MVC1_COLOR2(dptr,p0,c0,c1,c2,c3,c4,c5,c6,c7,mflag,map,chdr,xaUSHORT) | ^ xa_movi.c:1079:43: note: expanded from macro 'MVC1_COLOR2' 1079 | { c0 = c2 = c4 = c6 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); \ | ^ xa_movi.c:1389:12: warning: passing arguments to 'MOVI_Get_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xa_movi.c:1081:43: note: expanded from macro 'MVC1_COLOR2' 1081 | c1 = c3 = c5 = c7 = (CAST)MOVI_Get_Color(p0,mflag,map,chdr); } | ^ xa_movi.c:1210:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | xaULONG MOVI_Decode_MVC1(image,delta,dsize,dec_info) | ^ xa_movi.c:56:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | xaULONG MOVI_Decode_MVC1(); | ^ xa_movi.c:1454:40: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | lmap[i] = (xaULONG)XA_RGB24_To_CLR32(r,g,b,mflag,map,chdr); | ^ xa_movi.c:1462:41: warning: passing arguments to 'CMAP_Cache_Init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1462 | { if (cmap_cache == 0) CMAP_Cache_Init(0); | ^ xa_movi.c:1493:35: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | c0 = (xaUBYTE)XA_RGB24_To_CLR32(r,r,r,mflag,map,chdr); | ^ xa_movi.c:1503:35: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | c0 = (xaUBYTE)XA_RGB24_To_CLR32(r,g,b,mflag,map,chdr); | ^ xa_movi.c:1560:36: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | c0 = (xaUSHORT)XA_RGB24_To_CLR32(r,r,r,mflag,map,chdr); | ^ xa_movi.c:1570:36: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | c0 = (xaUSHORT)XA_RGB24_To_CLR32(r,g,b,mflag,map,chdr); | ^ xa_movi.c:1627:35: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | c0 = (xaULONG)XA_RGB24_To_CLR32(r,r,r,mflag,map,chdr); | ^ xa_movi.c:1637:35: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1637 | c0 = (xaULONG)XA_RGB24_To_CLR32(r,g,b,mflag,map,chdr); | ^ xa_movi.c:1399:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | xaULONG MOVI_Decode_MVC2(image,delta,dsize,dec_info) | ^ xa_movi.c:57:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 57 | xaULONG MOVI_Decode_MVC2(); | ^ xa_movi.c:1708:63: warning: passing arguments to 'X11_Get_True_Color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1708 | if (x11_display_type & XA_X11_TRUE) clr = X11_Get_True_Color(tr,tg,tb,8); | ^ xa_movi.c:1717:22: warning: passing arguments to 'CMAP_Find_Closest' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1717 | CMAP_Find_Closest(chdr->cmap,chdr->csize,ra,ga,ba,5,5,5,xaTRUE); | ^ xa_movi.c:1692:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | xaULONG MOVI_Get_Color(color,map_flag,map,chdr) | ^ xa_movi.c:49:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | xaULONG MOVI_Get_Color(); | ^ xa_movi.c:1773:36: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | *ip++ = (xaUBYTE)XA_RGB24_To_CLR32(r,g,b,mflag,map,chdr); | ^ xa_movi.c:1786:36: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1786 | *ip++ = (xaULONG)XA_RGB24_To_CLR32(r,g,b,mflag,map,chdr); | ^ xa_movi.c:1798:37: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1798 | *ip++ = (xaUSHORT)XA_RGB24_To_CLR32(r,g,b,mflag,map,chdr); | ^ xa_movi.c:1733:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1733 | xaULONG MOVI_Decode_RGB32(image,delta,tdsize,dec_info) | ^ xa_movi.c:58:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 58 | xaULONG MOVI_Decode_RGB32(); | ^ 204 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_raw.c xa_raw.c:87:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | if (fframe == 0) TheEnd1("RAW_Add_Frame: malloc err"); | ^ xa_raw.c:80:19: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | static RAW_FRAME *RAW_Add_Frame(time,timelo,act) | ^ xa_raw.c:36: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] 36 | static RAW_FRAME *RAW_Add_Frame(); | ^ xa_raw.c:105:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | static void RAW_Free_Frame_List(fframes) | ^ xa_raw.c:37: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] 37 | static void RAW_Free_Frame_List(); | ^ xa_raw.c:132:18: warning: passing arguments to 'RAW_Setup_Codec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | RAW_Setup_Codec(&codec); | ^ xa_raw.c:139:22: warning: passing arguments to 'RAW_Read_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | ret = RAW_Read_File(fname,anim_hdr,&codec,delta_size); | ^ xa_raw.c:120:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | xaULONG QCIF_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_raw.c:31:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | xaULONG QCIF_Read_File(); | ^ xa_raw.c:158:18: warning: passing arguments to 'RAW_Setup_Codec' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | RAW_Setup_Codec(&codec); | ^ xa_raw.c:165:22: warning: passing arguments to 'RAW_Read_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | ret = RAW_Read_File(fname,anim_hdr,&codec,delta_size); | ^ xa_raw.c:146:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | xaULONG CIF_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_raw.c:32:9: warning: a function declaration without a prototype is 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 | xaULONG CIF_Read_File(); | ^ xa_raw.c:205:29: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | raw->chdr = CMAP_Create_332(raw->cmap,&raw->imagec); | ^ xa_raw.c:206:36: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | else raw->chdr = CMAP_Create_Gray(raw->cmap,&raw->imagec); | ^ xa_raw.c:215:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | if (raw->pic == 0) TheEnd1("RAW_Buffer_Action: malloc failed"); | ^ xa_raw.c:221: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] 221 | while( !xin->At_EOF(xin,-1) ) | ^ xa_raw.c:224:25: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_raw.c:229:30: warning: passing arguments to 'RAW_Read_Frame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | dlta_hdr = RAW_Read_Frame(xin, raw, delta_size, act, -1, codec); | ^ xa_raw.c:231:34: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | if (dlta_hdr) ACT_Setup_Delta(raw,act,dlta_hdr,xin); | ^ xa_raw.c:235:18: 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] 235 | xin->Close_File(xin); | ^ xa_raw.c:250:23: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | XA_Free_Anim_Setup(raw); | ^ xa_raw.c:257:45: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | if (anim_hdr->frame_lst == NULL) TheEnd1("RAW_Read_File: frame malloc err"); | ^ xa_raw.c:302:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | XA_Free_Anim_Setup(raw); | ^ xa_raw.c:173:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | static xaULONG RAW_Read_File(fname,anim_hdr,codec,delta_size) | ^ xa_raw.c:35:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | static xaULONG RAW_Read_File(); | ^ xa_raw.c:324:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | if (dlta_hdr == 0) TheEnd1("RAW vid dlta0: malloc failed"); | ^ xa_raw.c:330: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] 330 | xin->Seek_FPos(xin,(ck_offset + ck_size - 1),0); | ^ xa_raw.c:331: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] 331 | (void)xin->Read_U8(xin); /* do this to trigger EOF */ | ^ xa_raw.c:334:38: 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] 334 | { dlta_hdr->fpos = xin->Get_FPos(xin); | ^ xa_raw.c:335: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] 335 | xin->Seek_FPos(xin,(ck_size-1),1); /* move past this chunk */ | ^ xa_raw.c:336: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] 336 | (void)xin->Read_U8(xin); /* do this to trigger EOF */ | ^ xa_raw.c:344:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | if (dlta_hdr == 0) TheEnd1("RAW vid dlta1: malloc failed"); | ^ xa_raw.c:348:47: 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] 348 | if (ck_offset >= 0) xin->Seek_FPos( xin, ck_offset, 0); | ^ xa_raw.c:349: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] 349 | ret = xin->Read_Block(xin,dlta_hdr->data,ck_size); | ^ xa_raw.c:310:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | static ACT_DLTA_HDR *RAW_Read_Frame(xin,raw,ck_size,act,ck_offset,codec) | ^ xa_raw.c:38: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] 38 | static ACT_DLTA_HDR *RAW_Read_Frame(); | ^ xa_raw.c:391:20: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa_raw.c:392:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_raw.c:393:17: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_raw.c:404:20: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa_raw.c:405:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa_raw.c:406:17: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa_raw.c:372:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | static xaULONG RAW_Setup_Codec(codec) | ^ xa_raw.c:39:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | static xaULONG RAW_Setup_Codec(); | ^ xa_raw.c:427:55: warning: passing arguments to 'XA_YUV221111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | void (*color_func)() = (void (*)())XA_YUV221111_Func(dec_info->image_type); | ^ xa_raw.c:451:13: 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] 451 | color_func(image,imagex,imagey,imagex,imagey, | ^ xa_raw.c:417:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | xaULONG RAW_Decode_YUV411(image,delta,dsize,dec_info) | ^ xa_raw.c:42: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] 42 | extern xaULONG RAW_Decode_YUV411(); /* QCIF, CIF */ | ^ 49 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_replay.c xa_replay.c:94:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | if (fframe == 0) TheEnd1("ARM_Add_Frame: malloc err"); | ^ xa_replay.c:87:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | ARM_FRAME *ARM_Add_Frame(time,timelo,act) | ^ xa_replay.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 | ARM_FRAME *ARM_Add_Frame(); | ^ xa_replay.c:109:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | void ARM_Free_Frame_List(fframes) | ^ xa_replay.c:30: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] 30 | void ARM_Free_Frame_List(); | ^ xa_replay.c:142:22: warning: passing arguments to 'ARM_Read_Header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | if (ARM_Read_Header(anim_hdr,xin,arm,&arm_hdr) == xaFALSE) | ^ xa_replay.c:145: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] 145 | xin->Close_File(xin); | ^ xa_replay.c:149:21: warning: passing arguments to 'ARM_Read_Index' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | if (ARM_Read_Index(xin,anim_hdr,arm,&arm_hdr)==xaFALSE) return(xaFALSE); | ^ xa_replay.c:164:43: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | if (anim_hdr->frame_lst == NULL) TheEnd1("ARM_Read_File: frame malloc err"); | ^ xa_replay.c:213:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | XA_Free_Anim_Setup(arm); | ^ xa_replay.c:122:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | xaULONG ARM_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_replay.c:28:9: warning: a function declaration without a prototype is 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 | xaULONG ARM_Read_File(); | ^ xa_replay.c:225: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] 225 | while( !xin->At_EOF(xin,-1) ) | ^ xa_replay.c:226: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] 226 | { int d = xin->Read_U8(xin); | ^ xa_replay.c:221:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | xaULONG ARM_Read_Line(xin,ptr) | ^ xa_replay.c:269:27: warning: passing arguments to 'XA_find_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | if ( (XA_find_str(arm_line,"yuv") == xaTRUE) | ^ xa_replay.c:270:27: warning: passing arguments to 'XA_find_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | || (XA_find_str(arm_line,"YUV") == xaTRUE) ) | ^ xa_replay.c:299:22: warning: passing arguments to 'XA_find_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | if (XA_find_str(arm_line,us)==xaTRUE) | ^ xa_replay.c:319:23: warning: passing arguments to 'XA_find_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | if ( XA_find_str(arm_line,"linear") == xaTRUE) | ^ xa_replay.c:326:28: warning: passing arguments to 'XA_find_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | else if ( XA_find_str(arm_line,"logarithmic") == xaTRUE) | ^ xa_replay.c:378:18: warning: passing arguments to 'UTIL_FPS_2_Time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | UTIL_FPS_2_Time(arm, arm_hdr->fps ); | ^ xa_replay.c:389:18: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | XA_Gen_YUV_Tabs(anim_hdr); | ^ xa_replay.c:390:18: warning: passing arguments to 'ARM_Init_Tables' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | ARM_Init_Tables(anim_hdr,arm->imagex,arm->imagey); | ^ xa_replay.c:401:41: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | arm->chdr = CMAP_Create_332(arm->cmap,&arm->imagec); | ^ xa_replay.c:402:42: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | else arm->chdr = CMAP_Create_Gray(arm->cmap,&arm->imagec); | ^ xa_replay.c:410:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | if (arm->pic == 0) TheEnd1("ARM_Buffer_Action: malloc failed"); | ^ xa_replay.c:241:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | xaULONG ARM_Read_Header(anim_hdr,xin,arm,arm_hdr) | ^ xa_replay.c:32:9: warning: a function declaration without a prototype is 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 | xaULONG ARM_Read_Header(); | ^ xa_replay.c:429: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] 429 | xin->Seek_FPos(xin,arm_hdr->idx_offset,0); | ^ xa_replay.c:452:19: 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] 452 | xin->Seek_FPos(xin,idx_off[i],0); | ^ xa_replay.c:455: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] 455 | fpos = xin->Get_FPos(xin); /* save xin position */ | ^ xa_replay.c:456:29: warning: passing arguments to 'ARM_Get_Length' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | dsize = ARM_Get_Length(xin,arm); /* find length of delta */ | ^ xa_replay.c:457: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] 457 | xin->Seek_FPos(xin,fpos,0); /* return to xin position */ | ^ xa_replay.c:458:21: warning: passing arguments to 'ARM_Read_Frame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | ARM_Read_Frame(xin,anim_hdr,arm,arm_hdr,dsize); | ^ xa_replay.c:468:21: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | rets = XA_Add_Sound(anim_hdr,0,arm_audio_type, snd_off, | ^ xa_replay.c:476:21: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | if (snd==0) TheEnd1("ARM: snd malloc err"); | ^ xa_replay.c:477: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] 477 | xin->Seek_FPos(xin,snd_off,0); /* seek to audio info */ | ^ xa_replay.c:478: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] 478 | ret = xin->Read_Block(xin, snd, snd_size); | ^ xa_replay.c:483:23: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | rets = XA_Add_Sound(anim_hdr,snd,arm_audio_type, -1, | ^ xa_replay.c:416:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | xaULONG ARM_Read_Index(xin,anim_hdr,arm,arm_hdr) | ^ xa_replay.c:33:9: warning: a function declaration without a prototype is 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 | xaULONG ARM_Read_Index(); | ^ xa_replay.c:510:23: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_replay.c:514:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | if (dlta_hdr == 0) TheEnd1("ARM: dlta malloc err"); | ^ xa_replay.c:518:36: 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] 518 | dlta_hdr->fpos = xin->Get_FPos(xin); | ^ xa_replay.c:520:19: 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] 520 | xin->Seek_FPos(xin,dlta_len,1); | ^ xa_replay.c:526:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | if (dlta_hdr == 0) TheEnd1("QT rle: malloc failed"); | ^ xa_replay.c:530: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] 530 | ret = xin->Read_Block(xin, dlta_hdr->data, dlta_len); | ^ xa_replay.c:543:18: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | ACT_Setup_Delta(arm,act,dlta_hdr,xin); | ^ xa_replay.c:500:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | void ARM_Read_Frame(xin,anim_hdr,arm,arm_hdr,vsize) | ^ xa_replay.c:34: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] 34 | void ARM_Read_Frame(); | ^ xa_replay.c:568:28: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | return( XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr) ); | ^ xa_replay.c:562:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | xaULONG ARM_Get_RGB_Pixel(pix,map_flag,map,chdr) | ^ xa_replay.c:578:13: warning: passing arguments to 'yuv_to_rgb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | yuv_to_rgb(y,u,v,&r,&g,&b); | ^ xa_replay.c:579:28: warning: passing arguments to 'XA_RGB24_To_CLR32' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | return( XA_RGB24_To_CLR32(r,g,b,map_flag,map,chdr) ); | ^ xa_replay.c:571:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | xaULONG ARM_Get_YUV_Pixel(pix,map_flag,map,chdr) | ^ xa_replay.c:582:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | xaULONG ARM_Get_RGB_RGB(pix,ir,ig,ib) | ^ xa_replay.c:599:13: warning: passing arguments to 'yuv_to_rgb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | yuv_to_rgb(y,u,v,ir,ig,ib); | ^ xa_replay.c:592:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | xaULONG ARM_Get_YUV_RGB(pix,ir,ig,ib) | ^ xa_replay.c:619:22: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'void *' [-Wvoid-pointer-to-int-cast] 619 | xaULONG vid_type = (xaULONG)(extra); | ^~~~~~~~~~~~~~~~ xa_replay.c:670:19: 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] 670 | arm_get_pixel(arm_b_bbuf,&r,&g,&b); | ^ xa_replay.c:680:15: 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] 680 | arm_get_pixel(pixel,&r,&g,&b); | ^ xa_replay.c:687:35: 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] 687 | { xaULONG r,g,b; arm_get_pixel((code>>1),&r,&g,&b); i_cnt++; | ^ xa_replay.c:719:38: 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] 719 | *iptr++ = (xaUBYTE)arm_get_pixel(arm_b_bbuf,map_flag,map,chdr); | ^ xa_replay.c:728: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] 728 | d = (xaUBYTE)arm_get_pixel(pixel,map_flag,map,chdr); | ^ xa_replay.c:734:39: 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] 734 | { *iptr++ = (xaUBYTE)arm_get_pixel((code>>1),map_flag,map,chdr); i_cnt++; } | ^ xa_replay.c:764:38: 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] 764 | *iptr++ = (xaULONG)arm_get_pixel(arm_b_bbuf,map_flag,map,chdr); | ^ xa_replay.c:773: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] 773 | d = (xaULONG)arm_get_pixel(pixel,map_flag,map,chdr); | ^ xa_replay.c:779:39: 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] 779 | { *iptr++ = (xaULONG)arm_get_pixel((code>>1),map_flag,map,chdr); i_cnt++; } | ^ xa_replay.c:809:39: 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] 809 | *iptr++ = (xaUSHORT)arm_get_pixel(arm_b_bbuf,map_flag,map,chdr); | ^ xa_replay.c:818: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] 818 | d = (xaUSHORT)arm_get_pixel(pixel,map_flag,map,chdr); | ^ xa_replay.c:824:40: 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] 824 | { *iptr++ = (xaUSHORT)arm_get_pixel((code>>1),map_flag,map,chdr); i_cnt++; } | ^ xa_replay.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | ARM_Decode_MLINES(image,delta,dsize,dec_info) | ^ xa_replay.c:41:9: warning: a function declaration without a prototype is 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 | xaULONG ARM_Decode_MLINES(); | ^ xa_replay.c:843: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] 843 | if ( xin->At_EOF(xin,-1) ) return(0); | ^ xa_replay.c:844: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] 844 | code = xin->Read_LSB_U16(xin); d_cnt += 2; | ^ xa_replay.c:859:35: 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] 859 | while(bs--) { xin->Read_LSB_U16(xin); d_cnt += 2; } | ^ xa_replay.c:866: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] 866 | xin->Read_LSB_U16(xin); d_cnt += 2; | ^ xa_replay.c:876: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] 876 | code = xin->Read_LSB_U16(xin); | ^ xa_replay.c:834:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | xaULONG ARM_Get_Length(xin,arm) | ^ xa_replay.c:35:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | xaULONG ARM_Get_Length(); | ^ xa_replay.c:881:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | void arm_yuv_to_rgb(iy,iu,iv,ir,ig,ib) | ^ xa_replay.c:931:27: warning: passing arguments to 'XA_Add_Func_To_Free_Chain' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | XA_Add_Func_To_Free_Chain(anim_hdr,ARM_Free_Stuff); | ^ xa_replay.c:945:33: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | if (ARM_prev_buff == 0) TheEnd1("ARM: prev_buff malloc err"); | ^ xa_replay.c:950:30: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | if (ARM_MOVL_X==0) TheEnd1("ARM: MOVL_X malloc err"); | ^ xa_replay.c:954:30: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | if (ARM_MOVL_Y==0) TheEnd1("ARM: MOVL_Y malloc err"); | ^ xa_replay.c:926:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | void ARM_Init_Tables(anim_hdr,imagex,imagey) | ^ xa_replay.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 ARM_Init_Tables(); | ^ 87 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_j6i.c xa_j6i.c:86:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | if (fframe == 0) TheEnd1("J6I_Add_Frame: malloc err"); | ^ xa_j6i.c:79:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | J6I_FRAME *J6I_Add_Frame(time,timelo,act) | ^ xa_j6i.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 | J6I_FRAME *J6I_Add_Frame(); | ^ xa_j6i.c:101:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | void J6I_Free_Frame_List(fframes) | ^ xa_j6i.c:30: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] 30 | void J6I_Free_Frame_List(); | ^ xa_j6i.c:132:22: warning: passing arguments to 'J6I_Read_Header' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if (J6I_Read_Header(xin,anim_hdr,j6i,&j6i_hdr) == xaFALSE) | ^ xa_j6i.c:135: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] 135 | xin->Close_File(xin); | ^ xa_j6i.c:139:17: warning: passing arguments to 'J6I_Read_Image' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | J6I_Read_Image(xin,anim_hdr,j6i,&j6i_hdr); | ^ xa_j6i.c:159:43: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | if (anim_hdr->frame_lst == NULL) TheEnd1("J6I_Read_File: frame malloc err"); | ^ xa_j6i.c:208:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | XA_Free_Anim_Setup(j6i); | ^ xa_j6i.c:114:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | xaULONG J6I_Read_File(fname,anim_hdr,audio_attempt) | ^ xa_j6i.c:28:9: warning: a function declaration without a prototype is 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 | xaULONG J6I_Read_File(); | ^ xa_j6i.c:226: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] 226 | while( !xin->At_EOF(xin,-1) && (hdr_done == xaFALSE)) | ^ xa_j6i.c:228: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] 228 | code = xin->Read_U8(xin); | ^ xa_j6i.c:229: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] 229 | len = xin->Read_U8(xin); | ^ xa_j6i.c:239: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] 239 | xin->Seek_FPos(xin,0x36,1); | ^ xa_j6i.c:240:38: 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] 240 | j6i_hdr->jpg_beg = xin->Read_MSB_U32(xin); /* len of video */ | ^ xa_j6i.c:241:38: 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] 241 | j6i_hdr->jpg_end = xin->Read_MSB_U32(xin); /* len of video */ | ^ xa_j6i.c:245: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] 245 | t = xin->Read_MSB_U16(xin); /* 0x0900 ?? */ | ^ xa_j6i.c:246:30: 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 | j6i_hdr->year = xin->Read_U8(xin); | ^ xa_j6i.c:247: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] 247 | j6i_hdr->month = xin->Read_U8(xin); | ^ xa_j6i.c:248: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] 248 | j6i_hdr->day = xin->Read_U8(xin); | ^ xa_j6i.c:249:30: 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] 249 | j6i_hdr->hour = xin->Read_U8(xin); | ^ xa_j6i.c:250: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] 250 | j6i_hdr->min = xin->Read_U8(xin); | ^ xa_j6i.c:251: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] 251 | j6i_hdr->sec = xin->Read_U8(xin); | ^ xa_j6i.c:259: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] 259 | xin->Seek_FPos(xin,len,1); | ^ xa_j6i.c:277:19: 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] 277 | xin->Seek_FPos(xin,diff,1); | ^ xa_j6i.c:284:18: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | XA_Gen_YUV_Tabs(anim_hdr); | ^ xa_j6i.c:285:21: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | JPG_Alloc_MCU_Bufs(anim_hdr,j6i->imagex,0,xaFALSE); | ^ xa_j6i.c:291:41: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | j6i->chdr = CMAP_Create_332(j6i->cmap,&j6i->imagec); | ^ xa_j6i.c:292:42: warning: passing arguments to 'CMAP_Create_Gray' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | else j6i->chdr = CMAP_Create_Gray(j6i->cmap,&j6i->imagec); | ^ xa_j6i.c:300:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | if (j6i->pic == 0) TheEnd1("J6I_Buffer_Action: malloc failed"); | ^ xa_j6i.c:213:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | xaULONG J6I_Read_Header(xin,anim_hdr,j6i,j6i_hdr) | ^ xa_j6i.c:32:9: warning: a function declaration without a prototype is 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 | xaULONG J6I_Read_Header(); | ^ xa_j6i.c:321:23: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_j6i.c:325:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | if (dlta_hdr == 0) TheEnd1("J6I: dlta malloc err"); | ^ xa_j6i.c:329:36: 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] 329 | dlta_hdr->fpos = xin->Get_FPos(xin); | ^ xa_j6i.c:331:19: 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] 331 | xin->Seek_FPos(xin,dlta_len,1); | ^ xa_j6i.c:337:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | if (dlta_hdr == 0) TheEnd1("J6I: malloc failed"); | ^ xa_j6i.c:341: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] 341 | ret = xin->Read_Block(xin, dlta_hdr->data, dlta_len); | ^ xa_j6i.c:352:18: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | ACT_Setup_Delta(j6i,act,dlta_hdr,xin); | ^ xa_j6i.c:306:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | void J6I_Read_Image(xin,anim_hdr,j6i,j6i_hdr) | ^ xa_j6i.c:33: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] 33 | void J6I_Read_Image(); | ^ xa_j6i.c:385: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] 385 | xin->Seek_FPos(xin,skip,1); | ^ xa_j6i.c:406:24: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | if (snd==0) TheEnd1("J6I: snd malloc err"); | ^ xa_j6i.c:407: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] 407 | ret = xin->Read_Block(xin, snd, snd_size); | ^ xa_j6i.c:435:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | if (dsnd==0) TheEnd1("J6I: dsnd malloc err"); | ^ xa_j6i.c:438:22: warning: passing arguments to 'g72x_init_state' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | g72x_init_state(&state); | ^ xa_j6i.c:446:28: warning: passing arguments to 'g721_decoder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | samp = g721_decoder( (d>>4), AUDIO_ENCODING_LINEAR, &state); | ^ xa_j6i.c:454:28: warning: passing arguments to 'g721_decoder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | samp = g721_decoder( d , AUDIO_ENCODING_LINEAR, &state); | ^ xa_j6i.c:489:26: warning: passing arguments to 'XA_Add_Sound' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | rets = XA_Add_Sound(anim_hdr, dsnd, j6i_audio_type, -1, | ^ xa_j6i.c:361:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | void J6I_Read_Audio(xin,anim_hdr,j6i,j6i_hdr) | ^ xa_j6i.c:34: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] 34 | void J6I_Read_Audio(); | ^ 53 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_g72x.c xa_g72x.c:47:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | static int quan(val,table,size) | ^ xa_g72x.c:66:12: 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 int fmult( an, srn) | ^ xa_g72x.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | g72x_init_state(state_ptr) | ^ xa_g72x.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | g72x_predictor_zero( state_ptr) | ^ xa_g72x.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | g72x_predictor_pole( state_ptr) | ^ xa_g72x.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | g72x_step_size(state_ptr) | ^ xa_g72x.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | g72x_quantize(d, y, table, size) | ^ xa_g72x.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | g72x_reconstruct( sign, dqln, y) | ^ xa_g72x.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | g72x_update(code_size, y, wi, fi, dq, sr, dqsez, state_ptr) | ^ 9 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_g721.c xa_g721.c:103:28: warning: passing arguments to 'g72x_predictor_zero' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | sezi = g72x_predictor_zero(state_ptr); | ^ xa_g721.c:105:34: warning: passing arguments to 'g72x_predictor_pole' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | sei = sezi + g72x_predictor_pole(state_ptr); | ^ xa_g721.c:108:20: warning: passing arguments to 'g72x_step_size' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | y = g72x_step_size(state_ptr); /* dynamic quantizer step size */ | ^ xa_g721.c:110:23: warning: passing arguments to 'g72x_reconstruct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | dq = g72x_reconstruct(i & 0x08, _dqlntab[i], y); /* quantized diff. */ | ^ xa_g721.c:116:13: warning: passing arguments to 'g72x_update' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | g72x_update(4, y, _witab[i] << 5, _fitab[i], dq, sr, dqsez, state_ptr); | ^ xa_g721.c:91:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | int g721_decoder(i,out_coding,state_ptr) | ^ In file included from xa_g721.c:51: ./xa_g72x.h:79: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] 79 | extern int g721_decoder(); | ^ 7 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_dumfx.c xa_dumfx.c:52:30: warning: passing arguments to 'CMAP_Create_332' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | dum->chdr = CMAP_Create_332(dum->cmap,&dum->imagec); | ^ xa_dumfx.c:54:23: warning: passing arguments to 'ACT_Get_Action' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | act = ACT_Get_Action(anim_hdr,ACT_DELTA); | ^ xa_dumfx.c:56:29: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | if (dlta_hdr == 0) TheEnd1("DUM delta: malloc failed"); | ^ xa_dumfx.c:67:18: warning: passing arguments to 'ACT_Setup_Delta' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | ACT_Setup_Delta(dum,act,dlta_hdr,0); | ^ xa_dumfx.c:74:43: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | if (anim_hdr->frame_lst == NULL) TheEnd1("DUM_Read_Anim: malloc err"); | ^ xa_dumfx.c:96:21: warning: passing arguments to 'XA_Free_Anim_Setup' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | XA_Free_Anim_Setup(dum); | ^ xa_dumfx.c:32:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | xaULONG DUM_Read_File(fname,anim_hdr) | ^ xa_dumfx.c:21:9: warning: a function declaration without a prototype is 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 | xaULONG DUM_Read_File(); | ^ 8 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_acodec.c xa_acodec.c:164:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:164: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:144:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | xaULONG XA_ADecode_1M_1M(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:42:9: warning: a function declaration without a prototype is 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 | xaULONG XA_ADecode_1M_1M(); | ^ xa_acodec.c:230:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:230: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:188:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | xaULONG XA_ADecode_PCMXM_PCM1M(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:43:9: warning: a function declaration without a prototype is 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 | xaULONG XA_ADecode_PCMXM_PCM1M(); | ^ xa_acodec.c:280:26: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:280: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:255:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | xaULONG XA_ADecode_PCM1M_PCM2M(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:44:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | xaULONG XA_ADecode_PCM1M_PCM2M(); | ^ xa_acodec.c:349:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:349: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:309:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | xaULONG XA_ADecode_PCM1S_PCMxM(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:45:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | xaULONG XA_ADecode_PCM1S_PCMxM(); | ^ xa_acodec.c:415:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:415: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:373:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | xaULONG XA_ADecode_ULAWx_PCMxM(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:48:9: warning: a function declaration without a prototype is 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 | xaULONG XA_ADecode_ULAWx_PCMxM(); | ^ xa_acodec.c:481:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 481 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:481: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:439:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | xaULONG XA_ADecode_ALAWx_PCMxM(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:49:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | xaULONG XA_ADecode_ALAWx_PCMxM(); | ^ xa_acodec.c:547:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:547: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:505:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | xaULONG XA_ADecode_ARMLAWx_PCMxM(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:50:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 50 | xaULONG XA_ADecode_ARMLAWx_PCMxM(); | ^ xa_acodec.c:620:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:620: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:570:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | xaULONG XA_ADecode_PCM2X_PCM2M(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:46:9: warning: a function declaration without a prototype is 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 | xaULONG XA_ADecode_PCM2X_PCM2M(); | ^ xa_acodec.c:680:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:680: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:644:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | xaULONG XA_ADecode_PCMXS_PCM1M(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:742:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:742: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:708:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | xaULONG XA_ADecode_NOP_PCMXM(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:47:9: warning: a function declaration without a prototype is 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 | xaULONG XA_ADecode_NOP_PCMXM(); | ^ xa_acodec.c:914:35: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:914:35: 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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:836:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | xaULONG XA_ADecode_ADPCMM_PCM2M(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:52:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 52 | xaULONG XA_ADecode_ADPCMM_PCM2M(); | ^ xa_acodec.c:1026:35: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:1026:35: 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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:947:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 947 | xaULONG XA_ADecode_ADPCMS_PCM2M(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:51:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 51 | xaULONG XA_ADecode_ADPCMS_PCM2M(); | ^ xa_acodec.c:1190:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:1190: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:1108:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | xaULONG XA_ADecode_DVIM_PCMxM(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:53:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 53 | xaULONG XA_ADecode_DVIM_PCMxM(); | ^ xa_acodec.c:1316:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:1316: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:1220:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1220 | xaULONG XA_ADecode_DVIS_PCMxM(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:54:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 54 | xaULONG XA_ADecode_DVIS_PCMxM(); | ^ xa_acodec.c:1421:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:1421: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:1348:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | xaULONG XA_ADecode_IMA4M_PCMxM(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:55:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | xaULONG XA_ADecode_IMA4M_PCMxM(); | ^ xa_acodec.c:1560:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:1560: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:1450:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | xaULONG XA_ADecode_IMA4S_PCMxM(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:56:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 56 | xaULONG XA_ADecode_IMA4S_PCMxM(); | ^ xa_acodec.c:1607:28: warning: passing arguments to 'XA_MSGSM_Decoder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | XA_MSGSM_Decoder(&gsm_state, ibuf, gsm_buf, &icnt, &out_cnt); | ^ xa_acodec.c:1609:26: warning: passing arguments to 'XA_GSM_Decoder' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | XA_GSM_Decoder(&gsm_state, ibuf, gsm_buf, &icnt, &out_cnt); | ^ xa_acodec.c:1641:27: warning: passing arguments to 'XA_Audio_Next_Snd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } | ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 126 | if ( (snd_hdr = XA_Audio_Next_Snd(snd_hdr)) != 0) \ | ^ xa_acodec.c:1641: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] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 130 | ocnt = snd_hdr->delta(snd_hdr,obuf,ocnt,buff_size); \ | ^ xa_acodec.c:1589:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | xaULONG XA_ADecode_GSMM_PCMxM(snd_hdr,obuf,ocnt,buff_size) | ^ xa_acodec.c:58: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] 58 | extern xaULONG XA_ADecode_GSMM_PCMxM(); | ^ xa_acodec.c:1655:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1655 | void XA_Audio_Init_Snd(snd_hdr) | ^ xa_acodec.c:1707:4: warning: cast to smaller integer type 'xaULONG' (aka 'unsigned int') from 'xaUBYTE *' (aka 'unsigned char *') [-Wpointer-to-int-cast] 1707 | (xaULONG)isnd,itype,fpos,ifreq,ilen); | ^~~~~~~~~~~~~ xa_acodec.c:1725:5: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1725 | { XA_AUDIO_INIT(xa_vaudio_present); /* note: also sets xa_forkit */ | ^ ./xa_ipc_cmds.h:45:23: note: expanded from macro 'XA_AUDIO_INIT' 45 | XA_Video_Send2_Audio(XA_IPC_AUD_INIT,NULL,0,0,2000,&x); } | ^ xa_acodec.c:1732:7: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | { XA_AUDIO_EXIT(); | ^ ./xa_ipc_cmds.h:82:23: note: expanded from macro 'XA_AUDIO_EXIT' 82 | XA_Video_Send2_Audio(XA_IPC_EXIT,NULL,0,0,1000,0); \ | ^ xa_acodec.c:1739:26: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | if (new_snd==0) TheEnd1("snd malloc err"); | ^ xa_acodec.c:1868:60: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | if (xa_forkit == xaTRUE) xa_forkit = XA_Video_Send2_Audio(XA_IPC_GET_CFREQ, | ^ xa_acodec.c:1871:60: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1871 | if (xa_forkit == xaTRUE) xa_forkit = XA_Video_Send2_Audio(XA_IPC_GET_BSIZE, | ^ xa_acodec.c:1924:60: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1924 | if (xa_forkit == xaTRUE) xa_forkit = XA_Video_Send2_Audio(XA_IPC_SND_ADD, | ^ xa_acodec.c:1934:37: warning: passing arguments to 'XA_Video_Send2_Audio' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | xa_forkit = XA_Video_Send2_Audio(XA_IPC_SND_BUF, isnd, | ^ xa_acodec.c:1688:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1688 | xaULONG XA_Add_Sound(anim_hdr,isnd,itype,fpos,ifreq,ilen,stime,stimelo, | ^ xa_acodec.c:64:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | xaULONG XA_Add_Sound(); | ^ xa_acodec.c:1958:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | xaULONG XA_IPC_Sound(aud_hdr,new_snd) | ^ xa_acodec.c:63:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | xaULONG XA_IPC_Sound(); | ^ 82 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_input.c xa_input.c:123:27: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | if (xin == 0) TheEnd1("XA_INPUT: malloc err\n"); | ^ xa_input.c:115:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | xaULONG XA_Alloc_Input_Methods(anim_hdr) | ^ xa_input.c:140:31: warning: passing arguments to 'TheEnd1' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | if (xin->buf == 0) TheEnd1("stdin buf malloc err"); | ^ xa_input.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 | xaULONG XA_Setup_Input_Methods(xin,file) | ^ xa_input.c:198:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | xaULONG XA_Mem_Open_Init(xin,buf,buf_sz) | ^ xa_input.c:83:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 83 | xaULONG XA_Mem_Open_Init(); | ^ xa_input.c:242: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] 242 | ret = xin->Read_Block(xin,xin->buf,len); | ^ xa_input.c:235:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | xaLONG XA_BUF_Init_Fill(xin,len) | ^ xa_input.c:267:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | xaULONG XA_BUF_Read_U8(xin) | ^ xa_input.c:276: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] 276 | else { ret |= xin->Read_U8(xin) << 8; xin->fpos--; } | ^ xa_input.c:272:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | xaULONG XA_BUF_Read_LSB_U16(xin) | ^ xa_input.c:284: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] 284 | else { ret |= xin->Read_U8(xin); xin->fpos--; } | ^ xa_input.c:280:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | xaULONG XA_BUF_Read_MSB_U16(xin) | ^ xa_input.c:292: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] 292 | else { ret |= xin->Read_U8(xin) << 8; xin->fpos--; } | ^ xa_input.c:294: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] 294 | else { ret |= xin->Read_U8(xin) << 16; xin->fpos--; } | ^ xa_input.c:296: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] 296 | else { ret |= xin->Read_U8(xin) << 24; xin->fpos--; } | ^ xa_input.c:288:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | xaULONG XA_BUF_Read_LSB_U32(xin) | ^ xa_input.c:304: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] 304 | else { ret |= xin->Read_U8(xin) << 16; xin->fpos--; } | ^ xa_input.c:306: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] 306 | else { ret |= xin->Read_U8(xin) << 8; xin->fpos--; } | ^ xa_input.c:308: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] 308 | else { ret |= xin->Read_U8(xin); xin->fpos--; } | ^ xa_input.c:300:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | xaULONG XA_BUF_Read_MSB_U32(xin) | ^ xa_input.c:319:54: 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] 319 | if (len) { xin->fpos -= len; return(xin->Read_Block(xin,ptr,len)); } | ^ xa_input.c:312:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | xaLONG XA_BUF_Read_Block(xin,ptr,len) | ^ xa_input.c:326:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | void XA_Set_EOF(xin,len) | ^ xa_input.c:57: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] 57 | void XA_Set_EOF(); | ^ xa_input.c:336:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | xaULONG XA_STDIN_Open_File(xin) | ^ xa_input.c:59:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 59 | xaULONG XA_STDIN_Open_File(); | ^ xa_input.c:345:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | xaULONG XA_STDIN_Close_File(xin) | ^ xa_input.c:60:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 60 | xaULONG XA_STDIN_Close_File(); | ^ xa_input.c:351:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | xaULONG XA_STDIN_Read_U8(xin) | ^ xa_input.c:61:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 61 | xaULONG XA_STDIN_Read_U8(); | ^ xa_input.c:359:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | xaULONG XA_STDIN_Read_LSB_U16(xin) | ^ xa_input.c:62:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 62 | xaULONG XA_STDIN_Read_LSB_U16(); | ^ xa_input.c:368:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | xaULONG XA_STDIN_Read_MSB_U16(xin) | ^ xa_input.c:63:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 63 | xaULONG XA_STDIN_Read_MSB_U16(); | ^ xa_input.c:377:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | xaULONG XA_STDIN_Read_LSB_U32(xin) | ^ xa_input.c:64:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 64 | xaULONG XA_STDIN_Read_LSB_U32(); | ^ xa_input.c:387:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | xaULONG XA_STDIN_Read_MSB_U32(xin) | ^ xa_input.c:65:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 65 | xaULONG XA_STDIN_Read_MSB_U32(); | ^ xa_input.c:397:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | xaLONG XA_STDIN_Read_Block(xin,ptr,len) | ^ xa_input.c:66:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 66 | xaLONG XA_STDIN_Read_Block(); | ^ xa_input.c:410:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | xaLONG XA_STDIN_EOF(xin,off) | ^ xa_input.c:67:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 67 | xaLONG XA_STDIN_EOF(); | ^ xa_input.c:418:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | xaLONG XA_STDIN_ftell(xin) | ^ xa_input.c:69:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 69 | xaLONG XA_STDIN_ftell(); | ^ xa_input.c:424:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | xaLONG XA_STDIN_seek(xin,fpos,flag) | ^ xa_input.c:68:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 68 | xaLONG XA_STDIN_seek(); | ^ xa_input.c:455:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | xaULONG XA_FILE_Open_File(xin) | ^ xa_input.c:71:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 71 | xaULONG XA_FILE_Open_File(); | ^ xa_input.c:465:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | xaULONG XA_FILE_Close_File(xin) | ^ xa_input.c:72:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 72 | xaULONG XA_FILE_Close_File(); | ^ xa_input.c:473:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | xaULONG XA_FILE_Read_U8(xin) | ^ xa_input.c:73:9: warning: a function declaration without a prototype is 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 | xaULONG XA_FILE_Read_U8(); | ^ xa_input.c:480:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | xaULONG XA_FILE_Read_LSB_U16(xin) | ^ xa_input.c:74:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 74 | xaULONG XA_FILE_Read_LSB_U16(); | ^ xa_input.c:489:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | xaULONG XA_FILE_Read_MSB_U16(xin) | ^ xa_input.c:75:9: warning: a function declaration without a prototype is 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 | xaULONG XA_FILE_Read_MSB_U16(); | ^ xa_input.c:498:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | xaULONG XA_FILE_Read_LSB_U32(xin) | ^ xa_input.c:76:9: warning: a function declaration without a prototype is 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 | xaULONG XA_FILE_Read_LSB_U32(); | ^ xa_input.c:509:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | xaULONG XA_FILE_Read_MSB_U32(xin) | ^ xa_input.c:77:9: warning: a function declaration without a prototype is 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 | xaULONG XA_FILE_Read_MSB_U32(); | ^ xa_input.c:520:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | xaLONG XA_FILE_Read_Block(xin,ptr,len) | ^ xa_input.c:78:9: warning: a function declaration without a prototype is 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 | xaLONG XA_FILE_Read_Block(); | ^ xa_input.c:531:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | xaLONG XA_FILE_EOF(xin,off) | ^ xa_input.c:79:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | xaLONG XA_FILE_EOF(); | ^ xa_input.c:538:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | xaLONG XA_FILE_ftell(xin) | ^ xa_input.c:81:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 81 | xaLONG XA_FILE_ftell(); | ^ xa_input.c:546:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | xaLONG XA_FILE_seek(xin,off,flag) | ^ xa_input.c:80:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | xaLONG XA_FILE_seek(); | ^ xa_input.c:559:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | xaULONG XA_MEM_Open_File(xin) | ^ xa_input.c:84:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 84 | xaULONG XA_MEM_Open_File(); | ^ xa_input.c:569:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | xaULONG XA_MEM_Close_File(xin) | ^ xa_input.c:85:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | xaULONG XA_MEM_Close_File(); | ^ xa_input.c:576:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | xaULONG XA_MEM_Read_U8(xin) | ^ xa_input.c:86:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 86 | xaULONG XA_MEM_Read_U8(); | ^ xa_input.c:585:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | xaULONG XA_MEM_Read_LSB_U16(xin) | ^ xa_input.c:87:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 87 | xaULONG XA_MEM_Read_LSB_U16(); | ^ xa_input.c:597:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | xaULONG XA_MEM_Read_MSB_U16(xin) | ^ xa_input.c:88:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 88 | xaULONG XA_MEM_Read_MSB_U16(); | ^ xa_input.c:609:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | xaULONG XA_MEM_Read_LSB_U32(xin) | ^ xa_input.c:89:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 89 | xaULONG XA_MEM_Read_LSB_U32(); | ^ xa_input.c:624:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | xaULONG XA_MEM_Read_MSB_U32(xin) | ^ xa_input.c:90:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 90 | xaULONG XA_MEM_Read_MSB_U32(); | ^ xa_input.c:639:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | xaLONG XA_MEM_Read_Block(xin,ptr,len) | ^ xa_input.c:91:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 91 | xaLONG XA_MEM_Read_Block(); | ^ xa_input.c:654:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | xaLONG XA_MEM_EOF(xin,off) | ^ xa_input.c:92:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 92 | xaLONG XA_MEM_EOF(); | ^ xa_input.c:664:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | xaLONG XA_MEM_ftell(xin) | ^ xa_input.c:94:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 94 | xaLONG XA_MEM_ftell(); | ^ xa_input.c:672:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | xaLONG XA_MEM_seek(xin,off,flag) | ^ xa_input.c:93:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 93 | xaLONG XA_MEM_seek(); | ^ xa_input.c:722:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | xaULONG XA_FTP_Read_U8(xin) | ^ xa_input.c:98:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 98 | xaULONG XA_FTP_Read_U8(); | ^ xa_input.c:734:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | xaULONG XA_FTP_Read_LSB_U16(xin) | ^ xa_input.c:99:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 99 | xaULONG XA_FTP_Read_LSB_U16(); | ^ xa_input.c:745:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | xaULONG XA_FTP_Read_MSB_U16(xin) | ^ xa_input.c:100:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 100 | xaULONG XA_FTP_Read_MSB_U16(); | ^ xa_input.c:756:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | xaULONG XA_FTP_Read_LSB_U32(xin) | ^ xa_input.c:101:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 101 | xaULONG XA_FTP_Read_LSB_U32(); | ^ xa_input.c:768:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | xaULONG XA_FTP_Read_MSB_U32(xin) | ^ xa_input.c:102:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 102 | xaULONG XA_FTP_Read_MSB_U32(); | ^ xa_input.c:783:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | xaLONG XA_FTP_Read_Block(xin,ptr,len) | ^ xa_input.c:103:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 103 | xaLONG XA_FTP_Read_Block(); | ^ xa_input.c:800:16: warning: passing arguments to 'XA_File_Split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | XA_File_Split(xin->file, machine, file_cmd); | ^ xa_input.c:810:24: warning: passing arguments to 'xaftp_open_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | ret = xaftp_open_file(xin, machine, user_cmd, pass_cmd, file_cmd); | ^ xa_input.c:792:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | xaULONG XA_FTP_Open_File(xin) | ^ xa_input.c:96:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 96 | xaULONG XA_FTP_Open_File(); | ^ xa_input.c:821:21: warning: passing arguments to 'xa_ftp_get_msg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | if (xa_ftp_get_msg(xin, &retcode) == xaFALSE) return(xaFALSE); | ^ xa_input.c:822:22: warning: passing arguments to 'xa_ftp_send_cmd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | if (xa_ftp_send_cmd(xin, "QUIT", &retcode) == xaFALSE) return(xaFALSE); | ^ xa_input.c:815:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | xaULONG XA_FTP_Close_File(xin) | ^ xa_input.c:97:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 97 | xaULONG XA_FTP_Close_File(); | ^ xa_input.c:828:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | xaLONG XA_FTP_EOF(xin, off) | ^ xa_input.c:104:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 104 | xaLONG XA_FTP_EOF(); | ^ xa_input.c:836:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | xaLONG XA_FTP_ftell(xin) | ^ xa_input.c:106:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 106 | xaLONG XA_FTP_ftell(); | ^ xa_input.c:843:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | xaLONG XA_FTP_seek(xin,fpos,flag) | ^ xa_input.c:105:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 105 | xaLONG XA_FTP_seek(); | ^ xa_input.c:869:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | xaULONG XA_File_Split(file,machine,file_name) | ^ xa_input.c:111:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 111 | xaULONG XA_File_Split(); | ^ xa_input.c:889:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | xaLONG xa_ftp_get_msg(xin, ret_code) | ^ xa_input.c:107:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 107 | xaLONG xa_ftp_get_msg(); | ^ xa_input.c:933:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | xaLONG xa_ftp_send_cmd(xin,cmd,retcode) | ^ xa_input.c:108:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | xaLONG xa_ftp_send_cmd(); | ^ xa_input.c:955:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | xaULONG xa_ftp_abort(xin) | ^ xa_input.c:965:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | xaLONG xaftp_open_file(xin, machine, user_cmd, passwd_cmd, file_cmd) | ^ xa_input.c:109:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 109 | xaLONG xaftp_open_file(); | ^ 126 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_formats.c xa_formats.c:87: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] 87 | if (xin->Open_File(xin) == xaFALSE) return(NOFILE_ANIM); | ^ xa_formats.c:111:25: warning: passing arguments to 'XA_BUF_Init_Fill' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | ret = XA_BUF_Init_Fill(xin, BUFF_FILL_SIZE); | ^ xa_formats.c:113: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] 113 | { xin->Close_File(xin); | ^ xa_formats.c:265:22: warning: passing arguments to 'Is_DL_File' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | if ( Is_DL_File(xin) == xaTRUE) | ^ xa_formats.c:79:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | xaULONG XA_Open_And_ID_File(anim) | ^ xa_formats.c:275:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | xaULONG Is_DL_File(xin) | ^ xa_formats.c:22:9: warning: a function declaration without a prototype is 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 | xaULONG Is_DL_File(); | ^ 7 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_vid_codec.c xa_vid_codec.c:119:10: warning: a function 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] 119 | { double sqrt(); | ^ xa_vid_codec.c:124:26: warning: passing arguments to 'Video_Add_Query_To_List' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | Video_Add_Query_To_List( &avi_query_list, AVI_UNK_Codec_Query ); | ^ xa_vid_codec.c:125:26: warning: passing arguments to 'Video_Add_Query_To_List' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | Video_Add_Query_To_List( &avi_query_list, AVI_Codec_Query ); | ^ xa_vid_codec.c:128:26: warning: passing arguments to 'Video_Add_Query_To_List' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | Video_Add_Query_To_List( &qt_query_list, QT_UNK_Codec_Query ); | ^ xa_vid_codec.c:129:26: warning: passing arguments to 'Video_Add_Query_To_List' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | Video_Add_Query_To_List( &qt_query_list, QT_Codec_Query ); | ^ xa_vid_codec.c:363:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | static void Video_Add_Query_To_List( list, query_func ) | ^ xa_vid_codec.c:45: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] 45 | static void Video_Add_Query_To_List(); | ^ xa_vid_codec.c:382:65: 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] 382 | { if (query_lst->query_func) codec_ret = query_lst->query_func( codec_hdr ); | ^ xa_vid_codec.c:377:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | xaLONG AVI_Video_Codec_Query(codec_hdr) | ^ xa_vid_codec.c:43:8: warning: a function declaration without a prototype is 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 | xaLONG AVI_Video_Codec_Query(); | ^ xa_vid_codec.c:399:65: 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] 399 | if (query_lst->query_func) codec_ret = query_lst->query_func( codec_hdr ); | ^ xa_vid_codec.c:393:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | xaLONG QT_Video_Codec_Query(codec_hdr) | ^ xa_vid_codec.c:44:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 44 | xaLONG QT_Video_Codec_Query(); | ^ xa_vid_codec.c:419:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | void XA_Print(fmt) | ^ 14 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa1.0_kpcd.c xa1.0_kpcd.c:91:20: warning: passing arguments to 'JPG_Alloc_MCU_Bufs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | JPG_Alloc_MCU_Bufs(codec->anim_hdr,codec->x,codec->y,xaTRUE); | ^ xa1.0_kpcd.c:92:17: warning: passing arguments to 'XA_Gen_YUV_Tabs' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | XA_Gen_YUV_Tabs(codec->anim_hdr); | ^ xa1.0_kpcd.c:93:28: warning: passing arguments to 'JPG_Setup_Samp_Limit_Table' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | JPG_Setup_Samp_Limit_Table(codec->anim_hdr); | ^ xa1.0_kpcd.c:71:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | xaLONG KPCD_Codec_Query(codec) | ^ xa1.0_kpcd.c:32:8: warning: a function declaration without a prototype is 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 | xaLONG KPCD_Codec_Query(); | ^ xa1.0_kpcd.c:120:55: warning: passing arguments to 'XA_YUV221111_Func' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | void (*color_func)() = (void (*)())XA_YUV221111_Func(dec_info->image_type); | ^ xa1.0_kpcd.c:154: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] 154 | color_func(image,imagex,ycnt,imagex,ycnt, | ^ xa1.0_kpcd.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | KPCD_Decode_KPCD(image,delta,dsize,dec_info) | ^ xa1.0_kpcd.c:35:9: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | xaULONG KPCD_Decode_KPCD(); | ^ 9 warnings generated. cc -O2 -I/usr/X11R6/include/X11 -I. -I/usr/local/include -I/usr/X11R6/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DXSHM -DXMBUF -DXA_DLL_PATH=\"\" -DXA_ZLIB -DXA_GSM -DXA_OpenBSD_AUDIO -DXA_PETUNIA -DXA_KPCD -c xa_gsm.c xa_gsm.c:36:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | static word gsm_sub (a,b) | ^ xa_gsm.c:45:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | static word gsm_asr (a,n) | ^ xa_gsm.c:62:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | static word gsm_asl (a,n) | ^ xa_gsm.c:80:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | static void RPE_grid_positioning(Mc,xMp,ep) | ^ xa_gsm.c:118:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | static void APCM_inverse_quantization (xMc,mant,exp,xMp) | ^ xa_gsm.c:156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | static void APCM_quantization_xmaxc_to_exp_mant (xmaxc,exp_out,mant_out) | ^ xa_gsm.c:189:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | static void Gsm_RPE_Decoding (S, xmaxcr, Mcr, xMcr, erp) | ^ xa_gsm.c:17: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] 17 | static void Gsm_RPE_Decoding(); | ^ xa_gsm.c:211:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | static void Postprocessing(S,s) | ^ xa_gsm.c:230:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | void Gsm_Long_Term_Synthesis_Filtering (S,Ncr,bcr,erp,drp) | ^ xa_gsm.c:275:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | static void Short_term_synthesis_filtering (S,rrp,k,wt,sr) | ^ xa_gsm.c:317:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | static void Decoding_of_the_coded_Log_Area_Ratios (LARc,LARpp) | ^ xa_gsm.c:385:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | static void Coefficients_0_12 (LARpp_j_1, LARpp_j, LARp) | ^ xa_gsm.c:399:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | static void Coefficients_13_26 (LARpp_j_1, LARpp_j, LARp) | ^ xa_gsm.c:411:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | static void Coefficients_27_39 (LARpp_j_1, LARpp_j, LARp) | ^ xa_gsm.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 Coefficients_40_159 (LARpp_j, LARp) | ^ xa_gsm.c:437:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | static void LARp_to_rp (LARp) | ^ xa_gsm.c:479:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | static void Gsm_Short_Term_Synthesis_Filter (S, LARcr, wt, s) | ^ xa_gsm.c:522:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | static void GSM_Decode(S,LARcr, Ncr,bcr,Mcr,xmaxcr,xMcr,s) | ^ xa_gsm.c:16: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] 16 | static void GSM_Decode(); | ^ xa_gsm.c:553:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | void XA_MSGSM_Decoder(gsm_state,ibuf,obuf,icnt,ocnt) | ^ xa_gsm.c:15: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] 15 | void XA_MSGSM_Decoder(); | ^ xa_gsm.c:799:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | void XA_GSM_Decoder(gsm_state,ibuf,obuf,icnt,ocnt) | ^ 23 warnings generated. rm -f xanim cc -o xanim -O2 -L/usr/X11R6/lib -L/usr/local/lib xanim.o xa_show.o xa_x11.o xa_fli.o xa_iff.o xa_gif.o xa_txt.o unpacker.o xa_utils.o xa_act.o xa_set.o xa_cmap.o xa_rle.o xa_wav.o xa_au.o xa_8svx.o xa_avi.o xa_qt.o xa_qt_decs.o xa_audio.o xa_ipc.o xa_color.o xa_jpg.o xa_mpg.o xa_dl.o xa_jmov.o xa_movi.o xa_raw.o xa_replay.o xa_j6i.o xa_g72x.o xa_g721.o xa_dumfx.o xa_acodec.o xa_input.o xa_formats.o xa_vid_codec.o xa1.0_kpcd.o xa_gsm.o -lz -lsndio -lXext -lXt -lSM -lICE -lXext -lX11 -lXdmcp -lXau -lm -Wl,-rpath,/usr/local/lib ld: warning: xa_input.c(xa_input.o:(XA_FTP_Open_File)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: xa_input.c(xa_input.o:(XA_FTP_Open_File)): warning: strcat() is almost always misused, please use strlcat() ld: warning: xa_input.c(xa_input.o:(xaftp_open_file)): warning: sprintf() is often misused, please use snprintf() rm -f xanim._man if test -z "" ; then cd `dirname xanim` && ln -s `basename xanim.man` `basename xanim._man`; else /usr/libexec/cpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/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" < xanim.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/\@\@$/\\/' >xanim._man; fi >>> Running package in graphics/xanim at 1764759719.44 ===> graphics/xanim ===> Faking installation for xanim-2.80.1p9 install -c xanim /exopi-obj/pobj/xanim-2.80.1/fake-amd64/usr/local/bin/xanim install in . done install -c -m 0444 xanim._man /exopi-obj/pobj/xanim-2.80.1/fake-amd64/usr/local/man/man1/xanim.1 install.man in . done /exopi-obj/pobj/xanim-2.80.1/bin/install -d -m 755 /exopi-obj/pobj/xanim-2.80.1/fake-amd64/usr/local/share/doc/xanim for file in /exopi-obj/pobj/xanim-2.80.1/xanim2801/docs/*; do [ $file == /exopi-obj/pobj/xanim-2.80.1/xanim2801/docs/xanim.man ] || /exopi-obj/pobj/xanim-2.80.1/bin/install -c -m 644 $file /exopi-obj/pobj/xanim-2.80.1/fake-amd64/usr/local/share/doc/xanim; done ===> Building package for xanim-2.80.1p9 Create /exopi-cvs/ports/packages/amd64/all/xanim-2.80.1p9.tgz Creating package xanim-2.80.1p9 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|* | 2% checksumming|*** | 5% checksumming|**** | 7% checksumming|****** | 10% checksumming|******* | 12% checksumming|********* | 14% checksumming|********** | 17% checksumming|************ | 19% checksumming|************* | 21% checksumming|*************** | 24% checksumming|**************** | 26% checksumming|***************** | 29% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************** | 36% checksumming|*********************** | 38% checksumming|************************* | 40% checksumming|************************** | 43% checksumming|**************************** | 45% checksumming|***************************** | 48% checksumming|******************************* | 50% checksumming|******************************** | 52% checksumming|********************************* | 55% checksumming|*********************************** | 57% checksumming|************************************ | 60% checksumming|************************************** | 62% checksumming|*************************************** | 64% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************** | 71% checksumming|********************************************* | 74% checksumming|********************************************** | 76% checksumming|************************************************ | 79% checksumming|************************************************* | 81% checksumming|*************************************************** | 83% checksumming|**************************************************** | 86% checksumming|****************************************************** | 88% checksumming|******************************************************* | 90% checksumming|********************************************************* | 93% checksumming|********************************************************** | 95% checksumming|************************************************************ | 98% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|**************************************************** | 82% archiving|****************************************************** | 84% archiving|****************************************************** | 85% archiving|******************************************************* | 85% archiving|******************************************************* | 86% archiving|******************************************************** | 87% archiving|******************************************************** | 88% archiving|********************************************************* | 89% archiving|********************************************************** | 90% archiving|********************************************************** | 91% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 94% archiving|************************************************************* | 95% archiving|************************************************************** | 97% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/xanim-2.80.1p9.tgz >>> Running clean in graphics/xanim at 1764759721.38 ===> graphics/xanim ===> Cleaning for xanim-2.80.1p9 >>> Ended at 1764759721.57 max_stuck=2.40/depends=3.28/show-prepare-results=0.62/build=26.84/package=1.93/clean=0.23