>>> Building on exopi-2 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-2 at 1735132817.54) >>> Running depends in graphics/xanim at 1735132817.59 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 was: /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 /usr/sbin/pkg_add -aI -Drepair imake-1.0.9 imake-cf-1.0.7p0 >>> Running show-prepare-results in graphics/xanim at 1735132819.88 ===> graphics/xanim ===> Building from scratch xanim-2.80.1p9 ===> xanim-2.80.1p9 depends on: imake-* -> imake-1.0.9 ===> xanim-2.80.1p9 depends on: imake-cf-* -> imake-cf-1.0.7p0 ===> Verifying specs: ICE SM X11 Xau Xdmcp Xext Xt c m sndio z ===> found ICE.11.0 SM.9.0 X11.18.2 Xau.10.0 Xdmcp.11.0 Xext.13.0 Xt.11.1 c.100.3 m.10.1 sndio.7.3 z.7.1 imake-1.0.9 imake-cf-1.0.7p0 (Junk lock released for exopi-2 at 1735132821.30) distfiles size=441250 >>> Running build in graphics/xanim at 1735132821.35 ===> 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_VOLUME(vaudiof->volume); ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_MUTE(vaudiof->mute); ^ ./xa_ipc_cmds.h:59:23: note: expanded from macro 'XA_AUDIO_SET_MUTE' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_RATE(vaudiof->playrate); ^ ./xa_ipc_cmds.h:61:23: note: expanded from macro 'XA_AUDIO_SET_RATE' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SETUP; ^ ./xa_ipc_cmds.h:35:23: note: expanded from macro 'XA_AUDIO_SETUP' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_RATE(vaudiof->playrate); ^ ./xa_ipc_cmds.h:61:23: note: expanded from macro 'XA_AUDIO_SET_RATE' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_VOLUME(vaudiof->volume); ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_KLUDGE2(xa_kludge2_dvi); ^ ./xa_ipc_cmds.h:76:23: note: expanded from macro 'XA_AUDIO_SET_KLUDGE2' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_KLUDGE900(xa_kludge900_aud); ^ ./xa_ipc_cmds.h:78:23: note: expanded from macro 'XA_AUDIO_SET_KLUDGE900' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_ENABLE(audio_attempt); ^ ./xa_ipc_cmds.h:63:23: note: expanded from macro 'XA_AUDIO_SET_ENABLE' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_FFLAG(xa_file_flag); ^ ./xa_ipc_cmds.h:65:23: note: expanded from macro 'XA_AUDIO_SET_FFLAG' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_BFLAG(vaudiof->bufferit); ^ ./xa_ipc_cmds.h:67:23: note: expanded from macro 'XA_AUDIO_SET_BFLAG' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_UNFILE(cur_file->file_num); ^ ./xa_ipc_cmds.h:93:23: note: expanded from macro 'XA_AUDIO_UNFILE' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_FNAME(cur_file->fname, length, ^ ./xa_ipc_cmds.h:89:23: note: expanded from macro 'XA_AUDIO_FNAME' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_MERGEFILE(cur_file->file_num); ^ ./xa_ipc_cmds.h:95:23: note: expanded from macro 'XA_AUDIO_MERGEFILE' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_FNAME( (cur_file->fname), length, (cur_file->file_num) ); ^ ./xa_ipc_cmds.h:89:23: note: expanded from macro 'XA_AUDIO_FNAME' 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] || (xa_vaudio_present==XA_AUDIO_ERR) ) XA_AUDIO_EXIT(); ^ ./xa_ipc_cmds.h:82:23: note: expanded from macro 'XA_AUDIO_EXIT' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (vaudiof->port & XA_AUDIO_PORT_INT) XA_SPEAKER_TOG(1) ^ ./xa_ipc_cmds.h:49:23: note: expanded from macro 'XA_SPEAKER_TOG' 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 C2x [-Wdeprecated-non-prototype] else XA_SPEAKER_TOG(0) ^ ./xa_ipc_cmds.h:49:23: note: expanded from macro 'XA_SPEAKER_TOG' 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 C2x [-Wdeprecated-non-prototype] if (vaudiof->port & XA_AUDIO_PORT_HEAD) XA_HEADPHONE_TOG(1) ^ ./xa_ipc_cmds.h:51:23: note: expanded from macro 'XA_HEADPHONE_TOG' 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 C2x [-Wdeprecated-non-prototype] else XA_HEADPHONE_TOG(0) ^ ./xa_ipc_cmds.h:51:23: note: expanded from macro 'XA_HEADPHONE_TOG' 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 C2x [-Wdeprecated-non-prototype] if (vaudiof->port & XA_AUDIO_PORT_EXT) XA_LINEOUT_TOG(1) ^ ./xa_ipc_cmds.h:53:23: note: expanded from macro 'XA_LINEOUT_TOG' 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 C2x [-Wdeprecated-non-prototype] else XA_LINEOUT_TOG(0) ^ ./xa_ipc_cmds.h:53:23: note: expanded from macro 'XA_LINEOUT_TOG' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] { 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_OFF(0); xa_audio_start = 0; ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_OFF(0); xa_audio_start = 0; ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_OFF(0); xa_audio_start = 0; ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_OFF(0); xa_audio_start = 0; ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_OFF(0); xa_audio_start = 0; ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_OFF(0); xa_audio_start = 0; ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_OFF(0); xa_audio_start = 0; ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_GET_STATUS( xa_vaudio_status ); ^ ./xa_ipc_cmds.h:69:23: note: expanded from macro 'XA_AUDIO_GET_STATUS' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_PLAY_FILE(cur_file->file_num,f_ret); ^ ./xa_ipc_cmds.h:72:23: note: expanded from macro 'XA_AUDIO_PLAY_FILE' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_INIT_SND; ^ ./xa_ipc_cmds.h:55:23: note: expanded from macro 'XA_AUDIO_INIT_SND' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { XA_AUDIO_OFF(1); xa_audio_start = 0; } ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] { XA_AUDIO_OFF(0); xa_audio_start = 0; } ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_N_FILE(cur_file->file_num,f_ret); ^ ./xa_ipc_cmds.h:80:23: note: expanded from macro 'XA_AUDIO_N_FILE' 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 C2x [-Wdeprecated-non-prototype] { XA_AUDIO_RST_TIME(xa_time_video); ^ ./xa_ipc_cmds.h:91:23: note: expanded from macro 'XA_AUDIO_RST_TIME' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_PREP(); ^ ./xa_ipc_cmds.h:39:23: note: expanded from macro 'XA_AUDIO_PREP' 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_ON(); ^ ./xa_ipc_cmds.h:41:23: note: expanded from macro 'XA_AUDIO_ON' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_OFF(0); xa_audio_start = 0; ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_GET_STATUS( xa_vaudio_status ); ^ ./xa_ipc_cmds.h:69:23: note: expanded from macro 'XA_AUDIO_GET_STATUS' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_OFF(0); xa_audio_start = 0; ^ ./xa_ipc_cmds.h:43:23: note: expanded from macro 'XA_AUDIO_OFF' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_FILE(xa_file_num); ^ ./xa_ipc_cmds.h:87:23: note: expanded from macro 'XA_AUDIO_FILE' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_VID_TIME(xa_av_time_off); ^ ./xa_ipc_cmds.h:85:23: note: expanded from macro 'XA_AUDIO_VID_TIME' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (xa_vaudio_present==XA_AUDIO_OK) XA_AUDIO_KILL(); ^ ./xa_ipc_cmds.h:37:23: note: expanded from macro 'XA_AUDIO_KILL' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_EXIT(); ^ ./xa_ipc_cmds.h:82:23: note: expanded from macro 'XA_AUDIO_EXIT' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (xa_vaudio_present==XA_AUDIO_OK) XA_AUDIO_KILL(); ^ ./xa_ipc_cmds.h:37:23: note: expanded from macro 'XA_AUDIO_KILL' 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_EXIT(); ^ ./xa_ipc_cmds.h:82:23: note: expanded from macro 'XA_AUDIO_EXIT' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_REALLOC(xa_disp_buff,xa_disp_buff_size,tsize); ^ ./xanim.h:917:25: note: expanded from macro 'XA_REALLOC' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_REALLOC(xa_disp_buff,xa_disp_buff_size,tsize); ^ ./xanim.h:917:25: note: expanded from macro 'XA_REALLOC' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_VOLUME(vaudiof->volume); ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_VOLUME(vaudiof->volume); ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_VOLUME(vaudiof->volume); ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_VOLUME(vaudiof->volume); ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_MUTE(vaudiof->mute); ^ ./xa_ipc_cmds.h:59:23: note: expanded from macro 'XA_AUDIO_SET_MUTE' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_SPEAKER_TOG(2); ^ ./xa_ipc_cmds.h:49:23: note: expanded from macro 'XA_SPEAKER_TOG' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_HEADPHONE_TOG(2); ^ ./xa_ipc_cmds.h:51:23: note: expanded from macro 'XA_HEADPHONE_TOG' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_VOLUME(vaudiof->volume); ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_AUDIO_SET_VOLUME(vaudiof->volume); ^ ./xa_ipc_cmds.h:57:23: note: expanded from macro 'XA_AUDIO_SET_VOLUME' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] (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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] = 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_REALLOC(xa_scale_buff,xa_scale_buff_size,tsize); ^ ./xanim.h:917:25: note: expanded from macro 'XA_REALLOC' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_REALLOC(xa_scale_buff,xa_scale_buff_size,tsize); ^ ./xanim.h:917:25: note: expanded from macro 'XA_REALLOC' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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] (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 C2x [-Wdeprecated-non-prototype] 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] (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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] ) 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] XA_CHDR *CMAP_Create_422(cmap,csize) ^ 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 94 warnings generated. 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ) 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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] 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] 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] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] YUV_TO_CF4(YTab[ yp[8] ],cr,cg,cb,chdr,ip1); ^ xa_color.c:372:38: note: expanded from macro 'YUV_TO_CF4' { 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 C2x [-Wdeprecated-non-prototype] YUV_TO_CF4(YTab[ *yp++ ],cr,cg,cb,chdr,ip0); ^ xa_color.c:372:38: note: expanded from macro 'YUV_TO_CF4' { 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 C2x [-Wdeprecated-non-prototype] YUV_TO_CF4(YTab[ yp[8] ],cr,cg,cb,chdr,ip1); ^ xa_color.c:372:38: note: expanded from macro 'YUV_TO_CF4' { 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 C2x [-Wdeprecated-non-prototype] YUV_TO_CF4(YTab[ *yp++ ],cr,cg,cb,chdr,ip0); ^ xa_color.c:372:38: note: expanded from macro 'YUV_TO_CF4' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:339:63: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:362:3: note: expanded from macro 'YUV_TO_COLOR' RGB888_TO_COLOR(r,g,b,map_flag,map,chdr,ip,CAST); \ ^ xa_color.c:345:43: note: expanded from macro 'RGB888_TO_COLOR' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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' 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 C2x [-Wdeprecated-non-prototype] xa_color.c:1195:43: note: expanded from macro 'DEC_YUV_Def' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp ,V2R,U2B,UV2G,chdr,*ip ,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp ,V2R,U2B,UV2G,chdr,*ip ,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp ,V2R,U2B,UV2G,chdr,*ip ,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp++,V2R,U2B,UV2G,chdr,*ip++,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_CF4(*yp ,V2R,U2B,UV2G,chdr,*ip ,xaUBYTE); ^ xa_color.c:1220:42: note: expanded from macro 'DEC_YUV_CF4' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp0++,V2R,U2B,UV2G,chdr,r00,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp1++,V2R,U2B,UV2G,chdr,r10,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp2++,V2R,U2B,UV2G,chdr,r20,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp3++,V2R,U2B,UV2G,chdr,r30,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp3++,V2R,U2B,UV2G,chdr,r31,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp2++,V2R,U2B,UV2G,chdr,r21,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp1++,V2R,U2B,UV2G,chdr,r11,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp0++,V2R,U2B,UV2G,chdr,r01,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp0++,V2R,U2B,UV2G,chdr,r02,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp1++,V2R,U2B,UV2G,chdr,r12,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp2++,V2R,U2B,UV2G,chdr,r22,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp3++,V2R,U2B,UV2G,chdr,r32,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp3++,V2R,U2B,UV2G,chdr,r33,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp2++,V2R,U2B,UV2G,chdr,r23,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp1++,V2R,U2B,UV2G,chdr,r13,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] DEC_YUV_DITH_CF4(*yp0++,V2R,U2B,UV2G,chdr,r03,xaUBYTE); ^ xa_color.c:1274:42: note: expanded from macro 'DEC_YUV_DITH_CF4' { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] void *YUV2x2_Blk_Func(image_type,blks,dith_flag) ^ xa_color.c:2607:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(12,shdr->width); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(12,shdr->height); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(4,shdr->aspect); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(4,shdr->pic_rate); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(18,shdr->bit_rate); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(1,marker); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(10,shdr->vbv_buff_size); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(1,shdr->constrained); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(1,shdr->intra_flag); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { MPG_GET_FBITS(8,d); shdr->intra_qtab[i] = d; /* ZIG */ ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(1,shdr->non_intra_flag); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] { MPG_GET_FBITS(8,d); shdr->non_intra_qtab[i] = d; ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(1,drop_flag); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(5,hours); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(6,minutes); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(1,marker); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(6,seconds); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(6,mpg_num_pics); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(1,closed_gop); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(1,broken_link); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(10,phdr->time); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(3,phdr->type); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(16,phdr->vbv_delay); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(1,phdr->full_forw_flag); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(3,d); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(1,phdr->full_back_flag); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] MPG_GET_FBITS(3,d); ^ xa_mpg.c:251:35: note: expanded from macro 'MPG_GET_FBITS' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (cmap_color_func == 4) { MPG_CMAP_CACHE_CHECK(chdr); } ^ xa_mpg.c:1542:75: note: expanded from macro 'MPG_CMAP_CACHE_CHECK' #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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] if (cmap_color_func == 4) { MPG_CMAP_CACHE_CHECK(chdr); } ^ xa_mpg.c:1542:75: note: expanded from macro 'MPG_CMAP_CACHE_CHECK' #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] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] xaULONG DL_Decode_Image(); ^ 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 74 warnings generated. 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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' { 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1085:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1086:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1087:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1088:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1089:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1090:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1091:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] 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' { 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1081:43: note: expanded from macro 'MVC1_COLOR2' 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 C2x [-Wdeprecated-non-prototype] 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' { 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1085:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1086:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1087:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1088:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1089:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1090:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1091:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] 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' { 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1081:43: note: expanded from macro 'MVC1_COLOR2' 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 C2x [-Wdeprecated-non-prototype] 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' { 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1085:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1086:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1087:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1088:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1089:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1090:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1091:58: note: expanded from macro 'MVC1_COLOR8' 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 C2x [-Wdeprecated-non-prototype] 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' { 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 C2x [-Wdeprecated-non-prototype] xa_movi.c:1081:43: note: expanded from macro 'MVC1_COLOR2' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] || (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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { *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 C2x [-Wdeprecated-non-prototype] *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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { *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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] if (samp_cnt <= 0) { XA_ADECODE_MOVE_ON; } ^ xa_acodec.c:126:34: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] xa_acodec.c:130:24: note: expanded from macro 'XA_ADECODE_MOVE_ON' 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (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 C2x [-Wdeprecated-non-prototype] { XA_AUDIO_INIT(xa_vaudio_present); /* note: also sets xa_forkit */ ^ ./xa_ipc_cmds.h:45:23: note: expanded from macro 'XA_AUDIO_INIT' 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 C2x [-Wdeprecated-non-prototype] { XA_AUDIO_EXIT(); ^ ./xa_ipc_cmds.h:82:23: note: expanded from macro 'XA_AUDIO_EXIT' 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] xaULONG KPCD_Decode_KPCD(); ^ 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 9 warnings generated. xa_gsm.c:36:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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: xanim.c(xanim.o:(XAnim_Looped)): warning: sprintf() is often misused, please use snprintf() ld: warning: xanim.c(xanim.o:(Get_Anim_Hdr)): 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() 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 1735132856.99 ===> 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 1735132860.49 ===> graphics/xanim ===> Cleaning for xanim-2.80.1p9 >>> Ended at 1735132860.93 max_stuck=2.14/depends=2.29/show-prepare-results=1.47/build=35.56/package=3.54/clean=0.53