=>> Building games/blues build started at Tue May 6 18:44:18 BST 2025 port directory: /usr/ports/games/blues package name: blues-g20220312 building for: FreeBSD pkg-builder.dan.net.uk 14.2-RELEASE FreeBSD 14.2-RELEASE amd64 maintained by: danfe@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 644 Dec 29 14:16 /usr/ports/games/blues/Makefile Ports top last git commit: 5529c5919b Ports top unclean checkout: yes Port dir last git commit: 1a35b19e6d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1402000 Job Id: 02 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE UNAME_r=14.2-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/02/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for blues-g20220312: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- danfe@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/blues/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/blues/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/blues/work/.cache HOME=/wrkdirs/usr/ports/games/blues/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/blues/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/blues/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/blues/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/blues/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/blues/work/.cache HOME=/wrkdirs/usr/ports/games/blues/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/blues/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/blues/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=14.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/blues" EXAMPLESDIR="share/examples/blues" DATADIR="share/blues" WWWDIR="www/blues" ETCDIR="etc/blues" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/blues DOCSDIR=/usr/local/share/doc/blues EXAMPLESDIR=/usr/local/share/examples/blues WWWDIR=/usr/local/www/blues ETCDIR=/usr/local/etc/blues --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl apache=2.4 imagemagick=7 java=21 linux=c7 mysql=8.0 php=8.3 samba=4.19 varnish=7 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE ALLOW_UNSUPPORTED_SYSTEM=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> blues-g20220312 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.1.2.pkg [pkg-builder.dan.net.uk] Installing pkg-2.1.2... [pkg-builder.dan.net.uk] Extracting pkg-2.1.2: .......... done ===> blues-g20220312 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of blues-g20220312 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by blues-g20220312 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by blues-g20220312 for building => SHA256 Checksum OK for cyxx-blues-g20220312-d4b94bb_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by blues-g20220312 for building ===> Extracting for blues-g20220312 => SHA256 Checksum OK for cyxx-blues-g20220312-d4b94bb_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for blues-g20220312 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> blues-g20220312 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.23.1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1_1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1_1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> blues-g20220312 depends on package: gmake>=4.4.1 - found ===> Returning to build of blues-g20220312 ===> blues-g20220312 depends on file: /usr/local/bin/sdl2-config - not found ===> Installing existing package /packages/All/sdl2-2.32.4.pkg [pkg-builder.dan.net.uk] Installing sdl2-2.32.4... [pkg-builder.dan.net.uk] `-- Installing libX11-1.8.12,1... [pkg-builder.dan.net.uk] | `-- Installing libxcb-1.17.0... [pkg-builder.dan.net.uk] | | `-- Installing libXau-1.0.11... [pkg-builder.dan.net.uk] | | `-- Extracting libXau-1.0.11: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | `-- Installing xorgproto-2024.1... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2024.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | `-- Extracting libxcb-1.17.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libX11-1.8.12,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXScrnSaver-1.2.4_1... [pkg-builder.dan.net.uk] | `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] | `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting libXScrnSaver-1.2.4_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXcursor-1.2.2... [pkg-builder.dan.net.uk] | `-- Installing libXfixes-6.0.1... [pkg-builder.dan.net.uk] | `-- Extracting libXfixes-6.0.1: ....... done [pkg-builder.dan.net.uk] | `-- Installing libXrender-0.9.12... [pkg-builder.dan.net.uk] | `-- Extracting libXrender-0.9.12: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXcursor-1.2.2: .......... done [pkg-builder.dan.net.uk] `-- Installing libXi-1.8.1,1... [pkg-builder.dan.net.uk] `-- Extracting libXi-1.8.1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXrandr-1.5.4... [pkg-builder.dan.net.uk] `-- Extracting libXrandr-1.5.4: .......... done [pkg-builder.dan.net.uk] `-- Installing libglvnd-1.7.0... [pkg-builder.dan.net.uk] `-- Extracting libglvnd-1.7.0: .......... done [pkg-builder.dan.net.uk] `-- Installing libinotify-20240724_1... [pkg-builder.dan.net.uk] `-- Extracting libinotify-20240724_1: .......... done [pkg-builder.dan.net.uk] `-- Installing libxkbcommon-1.8.1_2... [pkg-builder.dan.net.uk] | `-- Installing libxml2-2.11.9... [pkg-builder.dan.net.uk] | | `-- Installing readline-8.2.13_2... [pkg-builder.dan.net.uk] | | `-- Extracting readline-8.2.13_2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libxml2-2.11.9: .......... done [pkg-builder.dan.net.uk] | `-- Installing wayland-1.23.1... [pkg-builder.dan.net.uk] | | `-- Installing expat-2.7.1... [pkg-builder.dan.net.uk] | | `-- Extracting expat-2.7.1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libepoll-shim-0.0.20240608... [pkg-builder.dan.net.uk] | | `-- Extracting libepoll-shim-0.0.20240608: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libffi-3.4.8... [pkg-builder.dan.net.uk] | | `-- Extracting libffi-3.4.8: .......... done [pkg-builder.dan.net.uk] | `-- Extracting wayland-1.23.1: .......... done [pkg-builder.dan.net.uk] | `-- Installing xkeyboard-config-2.41_4... [pkg-builder.dan.net.uk] | `-- Extracting xkeyboard-config-2.41_4: .......... done [pkg-builder.dan.net.uk] `-- Extracting libxkbcommon-1.8.1_2: .......... done [pkg-builder.dan.net.uk] `-- Installing mesa-libs-24.1.7_1... [pkg-builder.dan.net.uk] | `-- Installing libXdamage-1.1.6... [pkg-builder.dan.net.uk] | `-- Extracting libXdamage-1.1.6: ...... done [pkg-builder.dan.net.uk] | `-- Installing libXxf86vm-1.1.5... [pkg-builder.dan.net.uk] | `-- Extracting libXxf86vm-1.1.5: .......... done [pkg-builder.dan.net.uk] | `-- Installing libdrm-2.4.123,1... [pkg-builder.dan.net.uk] | | `-- Installing libpciaccess-0.18.1_1... [pkg-builder.dan.net.uk] | | `-- Installing hwdata-0.394,1... [pkg-builder.dan.net.uk] | | `-- Extracting hwdata-0.394,1: ...... done [pkg-builder.dan.net.uk] | | `-- Extracting libpciaccess-0.18.1_1: ..... done [pkg-builder.dan.net.uk] | `-- Extracting libdrm-2.4.123,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libxshmfence-1.3.2... [pkg-builder.dan.net.uk] | `-- Extracting libxshmfence-1.3.2: ...... done [pkg-builder.dan.net.uk] | `-- Installing zstd-1.5.7... [pkg-builder.dan.net.uk] | | `-- Installing liblz4-1.10.0,1... [pkg-builder.dan.net.uk] | | `-- Extracting liblz4-1.10.0,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting zstd-1.5.7: .......... done [pkg-builder.dan.net.uk] `-- Extracting mesa-libs-24.1.7_1: .......... done [pkg-builder.dan.net.uk] `-- Installing vulkan-loader-1.4.313... [pkg-builder.dan.net.uk] `-- Extracting vulkan-loader-1.4.313: ....... done [pkg-builder.dan.net.uk] Extracting sdl2-2.32.4: .......... done ===== Message from libinotify-20240724_1: -- You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from wayland-1.23.1: -- Wayland requires XDG_RUNTIME_DIR to be defined to a path that will contain "wayland-%d" unix(4) sockets. This is usually handled by consolekit2 (via ck-launch-session) or pam_xdg (via login). ===== Message from libxkbcommon-1.8.1_2: -- If arrow keys don't work under X11 switch to legacy rules e.g., For sh/bash/ksh/zsh run and (optionally) add into ~/.profile: export XKB_DEFAULT_RULES=xorg For csh/tcsh run and (optionally) add into ~/.login: setenv XKB_DEFAULT_RULES xorg ===> blues-g20220312 depends on file: /usr/local/bin/sdl2-config - found ===> Returning to build of blues-g20220312 ===> blues-g20220312 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg-builder.dan.net.uk] Installing ccache-3.7.12_8... [pkg-builder.dan.net.uk] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> blues-g20220312 depends on file: /usr/local/bin/ccache - found ===> Returning to build of blues-g20220312 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> blues-g20220312 depends on shared library: libmodplug.so - not found ===> Installing existing package /packages/All/libmodplug-0.8.9.1.r461.pkg [pkg-builder.dan.net.uk] Installing libmodplug-0.8.9.1.r461... [pkg-builder.dan.net.uk] Extracting libmodplug-0.8.9.1.r461: ........ done ===> blues-g20220312 depends on shared library: libmodplug.so - found (/usr/local/lib/libmodplug.so) ===> Returning to build of blues-g20220312 ===> blues-g20220312 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for blues-g20220312 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for blues-g20220312 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -c -o main.o main.c In file included from main.c:4: In file included from ./sys.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from main.c:4: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void In file included from main.c:5: ./mixer.h:10:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 10 | void (*init)(); | ^ | void ./mixer.h:11:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 11 | void (*fini)(); | ^ | void 17 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -c -o mixer.o mixer.c In file included from mixer.c:2: In file included from ./mixer.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from mixer.c:2: ./mixer.h:10:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 10 | void (*init)(); | ^ | void ./mixer.h:11:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 11 | void (*fini)(); | ^ | void In file included from mixer.c:3: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void mixer.c:48:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | static void mixer_init() { | ^ | void mixer.c:62:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 62 | static void mixer_fini() { | ^ | void 19 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -c -o sys_sdl2.o sys_sdl2.c In file included from sys_sdl2.c:3: In file included from ./sys.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from sys_sdl2.c:3: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void sys_sdl2.c:46:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 46 | static void sdl2_init() { | ^ | void sys_sdl2.c:76:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | static void sdl2_fini() { | ^ | void sys_sdl2.c:240:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 240 | static void sdl2_fade_in_palette() { | ^ | void sys_sdl2.c:246:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 246 | static void sdl2_fade_out_palette() { | ^ | void sys_sdl2.c:319:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 319 | static void sdl2_update_screen() { | ^ | void sys_sdl2.c:617:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 617 | static void sdl2_process_events() { | ^ | void sys_sdl2.c:642:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 642 | static uint32_t sdl2_get_timestamp() { | ^ | void sys_sdl2.c:660:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 660 | static void sdl2_stop_audio() { | ^ | void sys_sdl2.c:664:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 664 | static void sdl2_lock_audio() { | ^ | void sys_sdl2.c:668:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 668 | static void sdl2_unlock_audio() { | ^ | void sys_sdl2.c:723:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 723 | static void render_clear_sprites() { | ^ | void 26 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -c -o util.o util.c In file included from util.c:5: In file included from ./sys.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from util.c:5: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void 15 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o bb/decode.o bb/decode.c In file included from bb/decode.c:2: In file included from bb/decode.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o bb/game.o bb/game.c In file included from bb/game.c:2: In file included from bb/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from bb/game.c:2: bb/game.h:205:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | extern void update_input(); | ^ | void bb/game.h:215:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 215 | extern void do_level(); | ^ | void bb/game.h:221:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | extern void screen_init(); | ^ | void bb/game.h:224:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void fade_out_palette(); | ^ | void bb/game.h:226:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 226 | extern void screen_vsync(); | ^ | void bb/game.h:228:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 228 | extern void screen_unk5(); | ^ | void bb/game.h:230:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 230 | extern void screen_do_transition2(); | ^ | void bb/game.h:241:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 241 | extern void sound_init(); | ^ | void bb/game.h:242:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 242 | extern void sound_fini(); | ^ | void In file included from bb/game.c:3: bb/resource.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void res_fini(); | ^ | void In file included from bb/game.c:4: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void bb/game.c:24:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 24 | void update_input() { | ^ | void bb/game.c:34:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 34 | static void do_title_screen() { | ^ | void bb/game.c:50:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 50 | static void do_demo_screens() { | ^ | void bb/game.c:69:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | static void do_select_player() { | ^ | void bb/game.c:235:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 235 | static void do_inter_screen() { | ^ | void bb/game.c:269:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 269 | static void game_run() { | ^ | void 31 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o bb/level.o bb/level.c In file included from bb/level.c:4: In file included from bb/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from bb/level.c:4: bb/game.h:205:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | extern void update_input(); | ^ | void bb/game.h:215:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 215 | extern void do_level(); | ^ | void bb/game.h:221:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | extern void screen_init(); | ^ | void bb/game.h:224:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void fade_out_palette(); | ^ | void bb/game.h:226:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 226 | extern void screen_vsync(); | ^ | void bb/game.h:228:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 228 | extern void screen_unk5(); | ^ | void bb/game.h:230:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 230 | extern void screen_do_transition2(); | ^ | void bb/game.h:241:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 241 | extern void sound_init(); | ^ | void bb/game.h:242:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 242 | extern void sound_fini(); | ^ | void In file included from bb/level.c:5: bb/resource.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void res_fini(); | ^ | void In file included from bb/level.c:6: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void bb/level.c:103:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 103 | static void init_level() { | ^ | void bb/level.c:291:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 291 | static void do_level_update_tiles_anim() { | ^ | void bb/level.c:328:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 328 | static void do_level_update_scrolling2() { | ^ | void bb/level.c:1061:45: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1061 | static void do_level_update_panel_2nd_player() { | ^ | void bb/level.c:1079:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1079 | static void draw_level_panel() { | ^ | void bb/level.c:1860:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1860 | static void do_level_update_objects() { | ^ | void bb/level.c:2050:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2050 | static void draw_foreground_tiles() { | ^ | void bb/level.c:2073:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2073 | void do_level() { | ^ | void 33 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o bb/objects.o bb/objects.c In file included from bb/objects.c:4: In file included from bb/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from bb/objects.c:4: bb/game.h:205:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | extern void update_input(); | ^ | void bb/game.h:215:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 215 | extern void do_level(); | ^ | void bb/game.h:221:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | extern void screen_init(); | ^ | void bb/game.h:224:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void fade_out_palette(); | ^ | void bb/game.h:226:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 226 | extern void screen_vsync(); | ^ | void bb/game.h:228:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 228 | extern void screen_unk5(); | ^ | void bb/game.h:230:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 230 | extern void screen_do_transition2(); | ^ | void bb/game.h:241:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 241 | extern void sound_init(); | ^ | void bb/game.h:242:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 242 | extern void sound_fini(); | ^ | void 13 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o bb/resource.o bb/resource.c In file included from bb/resource.c:2: In file included from bb/resource.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from bb/resource.c:2: bb/resource.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void res_fini(); | ^ | void In file included from bb/resource.c:3: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void bb/resource.c:68:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void res_fini() { | ^ | void 17 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o bb/screen.o bb/screen.c In file included from bb/screen.c:2: In file included from bb/decode.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from bb/screen.c:3: bb/game.h:205:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | extern void update_input(); | ^ | void bb/game.h:215:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 215 | extern void do_level(); | ^ | void bb/game.h:221:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | extern void screen_init(); | ^ | void bb/game.h:224:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void fade_out_palette(); | ^ | void bb/game.h:226:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 226 | extern void screen_vsync(); | ^ | void bb/game.h:228:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 228 | extern void screen_unk5(); | ^ | void bb/game.h:230:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 230 | extern void screen_do_transition2(); | ^ | void bb/game.h:241:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 241 | extern void sound_init(); | ^ | void bb/game.h:242:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 242 | extern void sound_fini(); | ^ | void In file included from bb/screen.c:4: bb/resource.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void res_fini(); | ^ | void In file included from bb/screen.c:5: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void bb/screen.c:15:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 15 | void screen_init() { | ^ | void bb/screen.c:72:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 72 | void screen_redraw_sprites() { | ^ | void bb/screen.c:75:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 75 | void fade_out_palette() { | ^ | void bb/screen.c:87:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 87 | void screen_vsync() { | ^ | void bb/screen.c:113:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 113 | void screen_unk5() { | ^ | void bb/screen.c:125:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 125 | void screen_do_transition2() { | ^ | void 31 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o bb/sound.o bb/sound.c In file included from bb/sound.c:2: In file included from bb/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from bb/sound.c:2: bb/game.h:205:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | extern void update_input(); | ^ | void bb/game.h:215:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 215 | extern void do_level(); | ^ | void bb/game.h:221:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | extern void screen_init(); | ^ | void bb/game.h:224:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void fade_out_palette(); | ^ | void bb/game.h:226:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 226 | extern void screen_vsync(); | ^ | void bb/game.h:228:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 228 | extern void screen_unk5(); | ^ | void bb/game.h:230:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 230 | extern void screen_do_transition2(); | ^ | void bb/game.h:241:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 241 | extern void sound_init(); | ^ | void bb/game.h:242:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 242 | extern void sound_fini(); | ^ | void In file included from bb/sound.c:3: bb/resource.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void res_fini(); | ^ | void In file included from bb/sound.c:4: ./mixer.h:10:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 10 | void (*init)(); | ^ | void ./mixer.h:11:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 11 | void (*fini)(); | ^ | void bb/sound.c:66:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 66 | void sound_init() { | ^ | void bb/sound.c:69:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void sound_fini() { | ^ | void 18 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o bb/staticres.o bb/staticres.c In file included from bb/staticres.c:1: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o bb/tiles.o bb/tiles.c In file included from bb/tiles.c:4: In file included from bb/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from bb/tiles.c:4: bb/game.h:205:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | extern void update_input(); | ^ | void bb/game.h:215:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 215 | extern void do_level(); | ^ | void bb/game.h:221:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | extern void screen_init(); | ^ | void bb/game.h:224:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void fade_out_palette(); | ^ | void bb/game.h:226:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 226 | extern void screen_vsync(); | ^ | void bb/game.h:228:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 228 | extern void screen_unk5(); | ^ | void bb/game.h:230:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 230 | extern void screen_do_transition2(); | ^ | void bb/game.h:241:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 241 | extern void sound_init(); | ^ | void bb/game.h:242:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 242 | extern void sound_fini(); | ^ | void In file included from bb/tiles.c:5: bb/resource.h:56:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | extern void res_fini(); | ^ | void 14 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o bb/unpack.o bb/unpack.c In file included from bb/unpack.c:2: In file included from bb/unpack.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void 4 warnings generated. ld -r -o game_bb.o bb/decode.o bb/game.o bb/level.o bb/objects.o bb/resource.o bb/screen.o bb/sound.o bb/staticres.o bb/tiles.o bb/unpack.o objcopy --localize-hidden game_bb.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o ja/game.o ja/game.c In file included from ja/game.c:4: In file included from ja/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from ja/game.c:4: ja/game.h:201:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 201 | extern void update_input(); | ^ | void ja/game.h:202:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 202 | extern void do_game_over_screen(); | ^ | void ja/game.h:203:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 203 | extern void do_game_win_screen(); | ^ | void ja/game.h:204:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 204 | extern void do_difficulty_screen(); | ^ | void ja/game.h:205:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | extern void do_level_password_screen(); | ^ | void ja/game.h:206:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 206 | extern void do_level_number_screen(); | ^ | void ja/game.h:209:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 209 | extern void do_level(); | ^ | void ja/game.h:221:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | extern void video_load_sprites(); | ^ | void ja/game.h:224:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void sound_init(); | ^ | void ja/game.h:225:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 225 | extern void sound_fini(); | ^ | void In file included from ja/game.c:5: ja/resource.h:21:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | extern void res_fini(); | ^ | void In file included from ja/game.c:6: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void ja/game.c:10:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 10 | void update_input() { | ^ | void ja/game.c:36:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 36 | static void do_splash_screen() { | ^ | void ja/game.c:47:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | static void scroll_screen_palette() { | ^ | void ja/game.c:77:53: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 77 | static void do_select_screen_scroll_palette_pattern1() { | ^ | void ja/game.c:81:53: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 81 | static void do_select_screen_scroll_palette_pattern2() { | ^ | void ja/game.c:85:53: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 85 | static void do_select_screen_scroll_palette_pattern3() { | ^ | void ja/game.c:89:53: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 89 | static void do_select_screen_scroll_palette_pattern4() { | ^ | void ja/game.c:93:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 93 | static void do_select_screen() { | ^ | void ja/game.c:143:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 143 | void do_difficulty_screen() { | ^ | void ja/game.c:153:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 153 | void do_level_number_screen() { | ^ | void ja/game.c:174:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 174 | void do_level_password_screen() { | ^ | void ja/game.c:192:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 192 | static void do_password_screen() { | ^ | void ja/game.c:200:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 200 | static int do_menu_screen() { | ^ | void ja/game.c:226:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 226 | static int do_options_screen() { | ^ | void ja/game.c:251:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 251 | void do_game_over_screen() { | ^ | void ja/game.c:260:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 260 | void do_game_win_screen() { | ^ | void ja/game.c:312:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 312 | static void game_run() { | ^ | void 43 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o ja/level.o ja/level.c In file included from ja/level.c:4: In file included from ja/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from ja/level.c:4: ja/game.h:201:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 201 | extern void update_input(); | ^ | void ja/game.h:202:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 202 | extern void do_game_over_screen(); | ^ | void ja/game.h:203:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 203 | extern void do_game_win_screen(); | ^ | void ja/game.h:204:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 204 | extern void do_difficulty_screen(); | ^ | void ja/game.h:205:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | extern void do_level_password_screen(); | ^ | void ja/game.h:206:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 206 | extern void do_level_number_screen(); | ^ | void ja/game.h:209:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 209 | extern void do_level(); | ^ | void ja/game.h:221:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | extern void video_load_sprites(); | ^ | void ja/game.h:224:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void sound_init(); | ^ | void ja/game.h:225:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 225 | extern void sound_fini(); | ^ | void In file included from ja/level.c:5: ja/resource.h:21:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | extern void res_fini(); | ^ | void In file included from ja/level.c:6: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void ja/level.c:25:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 25 | static void do_end_of_level() { | ^ | void ja/level.c:47:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 47 | static void level_reset_palette() { | ^ | void ja/level.c:67:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | static void level_update_palette() { | ^ | void ja/level.c:130:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 130 | static void level_draw_tilemap() { | ^ | void ja/level.c:910:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 910 | static void level_update_player_position() { | ^ | void ja/level.c:960:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 960 | static void level_update_input() { | ^ | void ja/level.c:1044:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1044 | static uint8_t get_random_number() { | ^ | void ja/level.c:1426:7: warning: variable 'spr_num' set but not used [-Wunused-but-set-variable] 1426 | int spr_num = 6; | ^ ja/level.c:1472:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1472 | static void level_update_triggers() { | ^ | void ja/level.c:2123:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2123 | static void level_update_players() { | ^ | void ja/level.c:2185:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2185 | static void draw_panel() { | ^ | void ja/level.c:2228:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2228 | static void level_draw_objects() { | ^ | void ja/level.c:2686:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2686 | static void level_adjust_player_position() { | ^ | void ja/level.c:2691:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2691 | static void level_sync() { | ^ | void ja/level.c:2850:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2850 | static void reset_level_data() { | ^ | void ja/level.c:2865:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2865 | static void level_init_players() { | ^ | void ja/level.c:2893:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2893 | static void level_init_tilemap() { | ^ | void ja/level.c:2986:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2986 | static uint16_t get_level() { | ^ | void ja/level.c:3012:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3012 | void do_level() { | ^ | void 45 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o ja/resource.o ja/resource.c In file included from ja/resource.c:3: In file included from ja/resource.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from ja/resource.c:3: ja/resource.h:21:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | extern void res_fini(); | ^ | void ja/resource.c:76:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 76 | void res_fini() { | ^ | void 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o ja/screen.o ja/screen.c In file included from ja/screen.c:4: In file included from ja/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from ja/screen.c:4: ja/game.h:201:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 201 | extern void update_input(); | ^ | void ja/game.h:202:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 202 | extern void do_game_over_screen(); | ^ | void ja/game.h:203:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 203 | extern void do_game_win_screen(); | ^ | void ja/game.h:204:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 204 | extern void do_difficulty_screen(); | ^ | void ja/game.h:205:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | extern void do_level_password_screen(); | ^ | void ja/game.h:206:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 206 | extern void do_level_number_screen(); | ^ | void ja/game.h:209:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 209 | extern void do_level(); | ^ | void ja/game.h:221:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | extern void video_load_sprites(); | ^ | void ja/game.h:224:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void sound_init(); | ^ | void ja/game.h:225:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 225 | extern void sound_fini(); | ^ | void In file included from ja/screen.c:5: ja/resource.h:21:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | extern void res_fini(); | ^ | void In file included from ja/screen.c:6: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void ja/screen.c:181:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 181 | void video_load_sprites() { | ^ | void 27 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o ja/sound.o ja/sound.c In file included from ja/sound.c:2: In file included from ja/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from ja/sound.c:2: ja/game.h:201:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 201 | extern void update_input(); | ^ | void ja/game.h:202:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 202 | extern void do_game_over_screen(); | ^ | void ja/game.h:203:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 203 | extern void do_game_win_screen(); | ^ | void ja/game.h:204:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 204 | extern void do_difficulty_screen(); | ^ | void ja/game.h:205:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | extern void do_level_password_screen(); | ^ | void ja/game.h:206:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 206 | extern void do_level_number_screen(); | ^ | void ja/game.h:209:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 209 | extern void do_level(); | ^ | void ja/game.h:221:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | extern void video_load_sprites(); | ^ | void ja/game.h:224:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | extern void sound_init(); | ^ | void ja/game.h:225:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 225 | extern void sound_fini(); | ^ | void In file included from ja/sound.c:3: ja/resource.h:21:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 21 | extern void res_fini(); | ^ | void In file included from ja/sound.c:4: ./mixer.h:10:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 10 | void (*init)(); | ^ | void ./mixer.h:11:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 11 | void (*fini)(); | ^ | void ja/sound.c:35:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 35 | void sound_init() { | ^ | void ja/sound.c:45:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 45 | void sound_fini() { | ^ | void 19 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o ja/staticres.o ja/staticres.c In file included from ja/staticres.c:1: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o ja/unpack.o ja/unpack.c In file included from ja/unpack.c:4: In file included from ja/unpack.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void 4 warnings generated. ld -r -o game_ja.o ja/game.o ja/level.o ja/resource.o ja/screen.o ja/sound.o ja/staticres.o ja/unpack.o objcopy --localize-hidden game_ja.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o p2/bosses.o p2/bosses.c In file included from p2/bosses.c:4: In file included from p2/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from p2/bosses.c:4: p2/game.h:314:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 314 | extern void update_input(); | ^ | void p2/game.h:315:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 315 | extern void input_check_ctrl_alt_e(); | ^ | void p2/game.h:316:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 316 | extern void input_check_ctrl_alt_w(); | ^ | void p2/game.h:317:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 317 | extern void do_theend_screen(); | ^ | void p2/game.h:318:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 318 | extern void do_gameover_screen(); | ^ | void p2/game.h:319:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 319 | extern uint32_t timer_get_counter(); | ^ | void p2/game.h:320:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 320 | extern void random_reset(); | ^ | void p2/game.h:321:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 321 | extern uint8_t random_get_number(); | ^ | void p2/game.h:322:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 322 | extern uint16_t random_get_number2(); | ^ | void p2/game.h:326:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 326 | extern void do_level(); | ^ | void p2/game.h:328:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 328 | extern void level_player_die(); | ^ | void p2/game.h:331:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 331 | extern void level_add_bonuses_4x(); | ^ | void p2/game.h:338:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 338 | extern void video_init(); | ^ | void p2/game.h:340:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 340 | extern void video_clear(); | ^ | void p2/game.h:342:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 342 | extern void video_copy_background(); | ^ | void p2/game.h:350:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 350 | extern void video_load_front_tiles(); | ^ | void p2/game.h:351:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 351 | extern void video_transition_close(); | ^ | void p2/game.h:352:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 352 | extern void video_transition_open(); | ^ | void p2/game.h:353:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 353 | extern void video_load_sprites(); | ^ | void p2/game.h:359:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 359 | extern void sound_init(); | ^ | void p2/game.h:360:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 360 | extern void sound_fini(); | ^ | void In file included from p2/bosses.c:5: p2/resource.h:187:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 187 | extern void res_fini(); | ^ | void p2/bosses.c:26:49: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 26 | static void level_update_objects_boss_hit_player() { | ^ | void p2/bosses.c:71:49: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 71 | static void level_update_boss_gorilla_hit_player() { | ^ | void p2/bosses.c:89:43: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 89 | static void level_update_boss_gorilla_tick() { | ^ | void p2/bosses.c:179:46: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 179 | static void level_update_boss_gorilla_helper2() { | ^ | void p2/bosses.c:215:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 215 | static void level_update_boss_gorilla() { | ^ | void p2/bosses.c:501:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 501 | static void level_update_boss_tree() { | ^ | void p2/bosses.c:719:53: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 719 | static void level_update_boss_minotaur_add_spr_0x137() { /* boss defeated, bonus */ | ^ | void p2/bosses.c:735:53: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 735 | static void level_update_boss_minotaur_add_spr_0x1CA() { /* rock */ | ^ | void p2/bosses.c:753:53: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 753 | static void level_update_boss_minotaur_add_spr_0x1CB() { /* ceiling chandelier */ | ^ | void p2/bosses.c:771:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 771 | static void level_update_boss_minotaur() { | ^ | void p2/bosses.c:843:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 843 | void boss_update() { | ^ | void 37 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o p2/game.o p2/game.c In file included from p2/game.c:3: In file included from p2/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from p2/game.c:3: p2/game.h:314:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 314 | extern void update_input(); | ^ | void p2/game.h:315:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 315 | extern void input_check_ctrl_alt_e(); | ^ | void p2/game.h:316:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 316 | extern void input_check_ctrl_alt_w(); | ^ | void p2/game.h:317:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 317 | extern void do_theend_screen(); | ^ | void p2/game.h:318:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 318 | extern void do_gameover_screen(); | ^ | void p2/game.h:319:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 319 | extern uint32_t timer_get_counter(); | ^ | void p2/game.h:320:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 320 | extern void random_reset(); | ^ | void p2/game.h:321:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 321 | extern uint8_t random_get_number(); | ^ | void p2/game.h:322:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 322 | extern uint16_t random_get_number2(); | ^ | void p2/game.h:326:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 326 | extern void do_level(); | ^ | void p2/game.h:328:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 328 | extern void level_player_die(); | ^ | void p2/game.h:331:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 331 | extern void level_add_bonuses_4x(); | ^ | void p2/game.h:338:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 338 | extern void video_init(); | ^ | void p2/game.h:340:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 340 | extern void video_clear(); | ^ | void p2/game.h:342:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 342 | extern void video_copy_background(); | ^ | void p2/game.h:350:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 350 | extern void video_load_front_tiles(); | ^ | void p2/game.h:351:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 351 | extern void video_transition_close(); | ^ | void p2/game.h:352:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 352 | extern void video_transition_open(); | ^ | void p2/game.h:353:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 353 | extern void video_load_sprites(); | ^ | void p2/game.h:359:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 359 | extern void sound_init(); | ^ | void p2/game.h:360:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 360 | extern void sound_fini(); | ^ | void In file included from p2/game.c:4: p2/resource.h:187:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 187 | extern void res_fini(); | ^ | void In file included from p2/game.c:5: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void p2/game.c:10:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 10 | void update_input() { | ^ | void p2/game.c:32:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 32 | static void do_programmed_in_1992_screen() { | ^ | void p2/game.c:57:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 57 | static void do_credits() { | ^ | void p2/game.c:88:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 88 | static void do_titus_screen() { | ^ | void p2/game.c:121:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 121 | static void do_present_screen() { | ^ | void p2/game.c:152:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 152 | static void do_demo_screen() { | ^ | void p2/game.c:164:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 164 | static void do_castle_screen() { | ^ | void p2/game.c:175:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 175 | void do_gameover_animation(); | ^ | void p2/game.c:177:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 177 | void do_gameover_screen() { | ^ | void p2/game.c:189:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 189 | void do_demo_animation(); | ^ | void p2/game.c:191:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 191 | static void do_menu2() { | ^ | void p2/game.c:205:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 205 | static bool do_menu() { | ^ | void p2/game.c:234:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 234 | static void do_photos_screen() { | ^ | void p2/game.c:237:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 237 | void input_check_ctrl_alt_e() { | ^ | void p2/game.c:243:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 243 | void input_check_ctrl_alt_w() { | ^ | void p2/game.c:250:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 250 | void do_theend_screen() { | ^ | void p2/game.c:268:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 268 | uint32_t timer_get_counter() { | ^ | void p2/game.c:273:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 273 | void random_reset() { | ^ | void p2/game.c:280:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 280 | uint8_t random_get_number() { | ^ | void p2/game.c:298:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 298 | uint16_t random_get_number2() { | ^ | void p2/game.c:315:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 315 | static void game_run() { | ^ | void 58 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o p2/level.o p2/level.c In file included from p2/level.c:4: In file included from p2/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from p2/level.c:4: p2/game.h:314:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 314 | extern void update_input(); | ^ | void p2/game.h:315:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 315 | extern void input_check_ctrl_alt_e(); | ^ | void p2/game.h:316:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 316 | extern void input_check_ctrl_alt_w(); | ^ | void p2/game.h:317:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 317 | extern void do_theend_screen(); | ^ | void p2/game.h:318:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 318 | extern void do_gameover_screen(); | ^ | void p2/game.h:319:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 319 | extern uint32_t timer_get_counter(); | ^ | void p2/game.h:320:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 320 | extern void random_reset(); | ^ | void p2/game.h:321:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 321 | extern uint8_t random_get_number(); | ^ | void p2/game.h:322:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 322 | extern uint16_t random_get_number2(); | ^ | void p2/game.h:326:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 326 | extern void do_level(); | ^ | void p2/game.h:328:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 328 | extern void level_player_die(); | ^ | void p2/game.h:331:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 331 | extern void level_add_bonuses_4x(); | ^ | void p2/game.h:338:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 338 | extern void video_init(); | ^ | void p2/game.h:340:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 340 | extern void video_clear(); | ^ | void p2/game.h:342:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 342 | extern void video_copy_background(); | ^ | void p2/game.h:350:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 350 | extern void video_load_front_tiles(); | ^ | void p2/game.h:351:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 351 | extern void video_transition_close(); | ^ | void p2/game.h:352:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 352 | extern void video_transition_open(); | ^ | void p2/game.h:353:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 353 | extern void video_load_sprites(); | ^ | void p2/game.h:359:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 359 | extern void sound_init(); | ^ | void p2/game.h:360:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 360 | extern void sound_fini(); | ^ | void In file included from p2/level.c:5: p2/resource.h:187:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 187 | extern void res_fini(); | ^ | void In file included from p2/level.c:6: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void p2/level.c:19:46: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 19 | static void level_completed_bonuses_animation(); | ^ | void p2/level.c:20:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 20 | static void level_player_death_animation(); | ^ | void p2/level.c:24:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 24 | static void set_level_palette() { | ^ | void p2/level.c:79:48: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 79 | static void load_level_data_init_animated_tiles() { | ^ | void p2/level.c:110:51: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 110 | static void load_level_data_init_transparent_tiles() { | ^ | void p2/level.c:113:6: warning: variable 'count' set but not used [-Wunused-but-set-variable] 113 | int count = 1; | ^ p2/level.c:133:46: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 133 | static void load_level_data_fix_items_spr_num() { | ^ | void p2/level.c:149:49: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 149 | static void load_level_data_fix_monsters_spr_num() { | ^ | void p2/level.c:170:52: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 170 | static void load_level_data_init_secret_bonus_tiles() { | ^ | void p2/level.c:189:48: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 189 | static void load_level_data_init_password_items() { | ^ | void p2/level.c:215:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 215 | static void load_level_data_init_columns() { | ^ | void p2/level.c:238:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 238 | static void level_reset_columns_tiles() { | ^ | void p2/level.c:314:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 314 | static void level_update_tilemap() { | ^ | void p2/level.c:347:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 347 | static bool level_adjust_hscroll_left() { | ^ | void p2/level.c:355:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 355 | static uint16_t tilemap_end_xpos() { | ^ | void p2/level.c:365:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 365 | static bool level_adjust_hscroll_right() { | ^ | void p2/level.c:373:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 373 | static void level_adjust_x_scroll() { | ^ | void p2/level.c:475:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 475 | static void level_adjust_y_scroll() { | ^ | void p2/level.c:561:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 561 | static void level_update_scrolling() { | ^ | void p2/level.c:571:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 571 | static void level_init_tilemap() { | ^ | void p2/level.c:598:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 598 | void level_player_die() { | ^ | void p2/level.c:610:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 610 | static void level_player_reset() { | ^ | void p2/level.c:619:50: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 619 | static void level_init_object_hit_from_player_pos() { | ^ | void p2/level.c:760:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 760 | static void level_update_tile_attr2_type1() { | ^ | void p2/level.c:786:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 786 | static void level_update_player_jump(); | ^ | void p2/level.c:943:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 943 | static void level_reset_objects() { | ^ | void p2/level.c:954:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 954 | static void level_reset() { | ^ | void p2/level.c:992:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 992 | static uint16_t level_get_player_tile_pos() { | ^ | void p2/level.c:1034:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1034 | static void level_update_objects_hit_animation() { | ^ | void p2/level.c:1200:47: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1200 | static uint16_t level_get_random_bonus_spr_num() { | ^ | void p2/level.c:1211:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1211 | void level_add_bonuses_4x() { | ^ | void p2/level.c:1370:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1370 | static void level_update_objects_axe() { | ^ | void p2/level.c:1469:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1469 | extern void boss_update(); | ^ | void p2/level.c:1474:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1474 | static void level_update_objects_monsters() { | ^ | void p2/level.c:1563:50: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1563 | static void level_update_objects_club_projectiles() { | ^ | void p2/level.c:1597:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1597 | static void level_update_objects_bonuses() { | ^ | void p2/level.c:1671:46: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1671 | static void level_update_objects_bonus_scores() { | ^ | void p2/level.c:1717:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1717 | static void level_update_objects_decors() { | ^ | void p2/level.c:1854:43: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1854 | static void level_update_player_x_velocity() { | ^ | void p2/level.c:1887:43: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1887 | static void level_update_screen_x_velocity() { | ^ | void p2/level.c:1909:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1909 | static void level_update_player_jump() { | ^ | void p2/level.c:1954:58: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 1954 | static struct object_t *level_find_object_club_projectile() { | ^ | void p2/level.c:2194:43: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2194 | static void level_update_player_club_power() { | ^ | void p2/level.c:2252:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2252 | static void level_update_player_decor() { | ^ | void p2/level.c:2309:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2309 | static void level_update_player_flying() { | ^ | void p2/level.c:2359:32: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2359 | static void level_update_player() { | ^ | void p2/level.c:2548:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2548 | static void level_add_object23_bones() { | ^ | void p2/level.c:2568:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2568 | static void level_update_player_collision() { | ^ | void p2/level.c:2883:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2883 | static void level_update_objects_items() { | ^ | void p2/level.c:2924:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2924 | static void level_update_gates() { | ^ | void p2/level.c:2985:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 2985 | static void level_update_columns() { | ^ | void p2/level.c:3032:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3032 | static void level_draw_front_tiles() { | ^ | void p2/level.c:3048:42: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3048 | static void level_clear_items_spr_num_tbl() { | ^ | void p2/level.c:3053:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3053 | static bool level_update_objects_anim() { | ^ | void p2/level.c:3129:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3129 | static void level_clear_panel() { | ^ | void p2/level.c:3138:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3138 | static void level_draw_panel() { | ^ | void p2/level.c:3186:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3186 | static void level_update_panel() { | ^ | void p2/level.c:3196:39: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3196 | static void level_update_light_palette() { | ^ | void p2/level.c:3228:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3228 | static void level_wait() { | ^ | void p2/level.c:3235:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3235 | static void level_sync() { | ^ | void p2/level.c:3242:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3242 | static void level_draw_objects() { | ^ | void p2/level.c:3281:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3281 | static void level_draw_orbs() { | ^ | void p2/level.c:3305:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3305 | static void level_draw_flies() { | ^ | void p2/level.c:3361:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3361 | static void level_draw_snow() { | ^ | void p2/level.c:3402:40: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3402 | static void level_update_player_bonuses() { | ^ | void p2/level.c:3416:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3416 | static void level_shake_screen() { | ^ | void p2/level.c:3433:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3433 | static void level_player_death_animation() { | ^ | void p2/level.c:3462:57: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3462 | static void level_completed_bonuses_animation_draw_score() { | ^ | void p2/level.c:3492:68: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3492 | static void level_completed_bonuses_animation_fixup_object4_spr_num() { | ^ | void p2/level.c:3503:52: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3503 | static int level_completed_bonuses_animation_helper() { | ^ | void p2/level.c:3535:46: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3535 | static void level_completed_bonuses_animation() { | ^ | void p2/level.c:3711:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3711 | void do_demo_animation() { | ^ | void p2/level.c:3783:41: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3783 | static void do_gameover_animation_helper() { | ^ | void p2/level.c:3828:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3828 | void do_gameover_animation() { | ^ | void p2/level.c:3886:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 3886 | void do_level() { | ^ | void 112 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o p2/monsters.o p2/monsters.c In file included from p2/monsters.c:4: In file included from p2/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from p2/monsters.c:4: p2/game.h:314:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 314 | extern void update_input(); | ^ | void p2/game.h:315:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 315 | extern void input_check_ctrl_alt_e(); | ^ | void p2/game.h:316:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 316 | extern void input_check_ctrl_alt_w(); | ^ | void p2/game.h:317:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 317 | extern void do_theend_screen(); | ^ | void p2/game.h:318:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 318 | extern void do_gameover_screen(); | ^ | void p2/game.h:319:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 319 | extern uint32_t timer_get_counter(); | ^ | void p2/game.h:320:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 320 | extern void random_reset(); | ^ | void p2/game.h:321:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 321 | extern uint8_t random_get_number(); | ^ | void p2/game.h:322:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 322 | extern uint16_t random_get_number2(); | ^ | void p2/game.h:326:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 326 | extern void do_level(); | ^ | void p2/game.h:328:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 328 | extern void level_player_die(); | ^ | void p2/game.h:331:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 331 | extern void level_add_bonuses_4x(); | ^ | void p2/game.h:338:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 338 | extern void video_init(); | ^ | void p2/game.h:340:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 340 | extern void video_clear(); | ^ | void p2/game.h:342:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 342 | extern void video_copy_background(); | ^ | void p2/game.h:350:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 350 | extern void video_load_front_tiles(); | ^ | void p2/game.h:351:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 351 | extern void video_transition_close(); | ^ | void p2/game.h:352:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 352 | extern void video_transition_open(); | ^ | void p2/game.h:353:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 353 | extern void video_load_sprites(); | ^ | void p2/game.h:359:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 359 | extern void sound_init(); | ^ | void p2/game.h:360:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 360 | extern void sound_fini(); | ^ | void In file included from p2/monsters.c:5: p2/resource.h:187:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 187 | extern void res_fini(); | ^ | void p2/monsters.c:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | static struct orb_t *find_orb() { | ^ | void p2/monsters.c:592:44: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 592 | static struct object_t *find_object_monster() { | ^ | void 28 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o p2/resource.o p2/resource.c In file included from p2/resource.c:2: In file included from p2/resource.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from p2/resource.c:2: p2/resource.h:187:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 187 | extern void res_fini(); | ^ | void p2/resource.c:27:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 27 | static void detect_dos_demo() { | ^ | void p2/resource.c:69:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void res_fini() { | ^ | void 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o p2/screen.o p2/screen.c In file included from p2/screen.c:4: In file included from p2/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from p2/screen.c:4: p2/game.h:314:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 314 | extern void update_input(); | ^ | void p2/game.h:315:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 315 | extern void input_check_ctrl_alt_e(); | ^ | void p2/game.h:316:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 316 | extern void input_check_ctrl_alt_w(); | ^ | void p2/game.h:317:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 317 | extern void do_theend_screen(); | ^ | void p2/game.h:318:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 318 | extern void do_gameover_screen(); | ^ | void p2/game.h:319:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 319 | extern uint32_t timer_get_counter(); | ^ | void p2/game.h:320:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 320 | extern void random_reset(); | ^ | void p2/game.h:321:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 321 | extern uint8_t random_get_number(); | ^ | void p2/game.h:322:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 322 | extern uint16_t random_get_number2(); | ^ | void p2/game.h:326:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 326 | extern void do_level(); | ^ | void p2/game.h:328:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 328 | extern void level_player_die(); | ^ | void p2/game.h:331:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 331 | extern void level_add_bonuses_4x(); | ^ | void p2/game.h:338:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 338 | extern void video_init(); | ^ | void p2/game.h:340:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 340 | extern void video_clear(); | ^ | void p2/game.h:342:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 342 | extern void video_copy_background(); | ^ | void p2/game.h:350:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 350 | extern void video_load_front_tiles(); | ^ | void p2/game.h:351:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 351 | extern void video_transition_close(); | ^ | void p2/game.h:352:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 352 | extern void video_transition_open(); | ^ | void p2/game.h:353:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 353 | extern void video_load_sprites(); | ^ | void p2/game.h:359:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 359 | extern void sound_init(); | ^ | void p2/game.h:360:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 360 | extern void sound_fini(); | ^ | void In file included from p2/screen.c:5: p2/resource.h:187:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 187 | extern void res_fini(); | ^ | void In file included from p2/screen.c:6: ./sys.h:41:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | void (*init)(); | ^ | void ./sys.h:42:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 42 | void (*fini)(); | ^ | void ./sys.h:48:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void (*fade_in_palette)(); | ^ | void ./sys.h:49:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 49 | void (*fade_out_palette)(); | ^ | void ./sys.h:51:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | void (*update_screen)(); | ^ | void ./sys.h:54:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 54 | void (*process_events)(); | ^ | void ./sys.h:56:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 56 | uint32_t (*get_timestamp)(); | ^ | void ./sys.h:58:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 58 | void (*stop_audio)(); | ^ | void ./sys.h:59:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 59 | void (*lock_audio)(); | ^ | void ./sys.h:60:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 60 | void (*unlock_audio)(); | ^ | void ./sys.h:64:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 64 | void (*render_clear_sprites)(); | ^ | void p2/screen.c:18:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 18 | void video_init() { | ^ | void p2/screen.c:117:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 117 | void video_clear() { | ^ | void p2/screen.c:125:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 125 | void video_copy_background() { | ^ | void p2/screen.c:195:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 195 | void video_load_front_tiles() { | ^ | void p2/screen.c:221:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 221 | void video_transition_close() { | ^ | void p2/screen.c:224:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 224 | void video_transition_open() { | ^ | void p2/screen.c:227:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 227 | void video_load_sprites() { | ^ | void 44 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o p2/sound.o p2/sound.c In file included from p2/sound.c:2: In file included from p2/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from p2/sound.c:2: p2/game.h:314:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 314 | extern void update_input(); | ^ | void p2/game.h:315:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 315 | extern void input_check_ctrl_alt_e(); | ^ | void p2/game.h:316:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 316 | extern void input_check_ctrl_alt_w(); | ^ | void p2/game.h:317:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 317 | extern void do_theend_screen(); | ^ | void p2/game.h:318:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 318 | extern void do_gameover_screen(); | ^ | void p2/game.h:319:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 319 | extern uint32_t timer_get_counter(); | ^ | void p2/game.h:320:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 320 | extern void random_reset(); | ^ | void p2/game.h:321:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 321 | extern uint8_t random_get_number(); | ^ | void p2/game.h:322:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 322 | extern uint16_t random_get_number2(); | ^ | void p2/game.h:326:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 326 | extern void do_level(); | ^ | void p2/game.h:328:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 328 | extern void level_player_die(); | ^ | void p2/game.h:331:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 331 | extern void level_add_bonuses_4x(); | ^ | void p2/game.h:338:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 338 | extern void video_init(); | ^ | void p2/game.h:340:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 340 | extern void video_clear(); | ^ | void p2/game.h:342:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 342 | extern void video_copy_background(); | ^ | void p2/game.h:350:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 350 | extern void video_load_front_tiles(); | ^ | void p2/game.h:351:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 351 | extern void video_transition_close(); | ^ | void p2/game.h:352:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 352 | extern void video_transition_open(); | ^ | void p2/game.h:353:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 353 | extern void video_load_sprites(); | ^ | void p2/game.h:359:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 359 | extern void sound_init(); | ^ | void p2/game.h:360:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 360 | extern void sound_fini(); | ^ | void In file included from p2/sound.c:3: p2/resource.h:187:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 187 | extern void res_fini(); | ^ | void In file included from p2/sound.c:4: ./mixer.h:10:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 10 | void (*init)(); | ^ | void ./mixer.h:11:14: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 11 | void (*fini)(); | ^ | void p2/sound.c:39:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 39 | void sound_init() { | ^ | void p2/sound.c:48:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 48 | void sound_fini() { | ^ | void 30 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o p2/staticres.o p2/staticres.c In file included from p2/staticres.c:1: In file included from p2/game.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void In file included from p2/staticres.c:1: p2/game.h:314:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 314 | extern void update_input(); | ^ | void p2/game.h:315:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 315 | extern void input_check_ctrl_alt_e(); | ^ | void p2/game.h:316:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 316 | extern void input_check_ctrl_alt_w(); | ^ | void p2/game.h:317:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 317 | extern void do_theend_screen(); | ^ | void p2/game.h:318:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 318 | extern void do_gameover_screen(); | ^ | void p2/game.h:319:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 319 | extern uint32_t timer_get_counter(); | ^ | void p2/game.h:320:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 320 | extern void random_reset(); | ^ | void p2/game.h:321:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 321 | extern uint8_t random_get_number(); | ^ | void p2/game.h:322:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 322 | extern uint16_t random_get_number2(); | ^ | void p2/game.h:326:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 326 | extern void do_level(); | ^ | void p2/game.h:328:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 328 | extern void level_player_die(); | ^ | void p2/game.h:331:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 331 | extern void level_add_bonuses_4x(); | ^ | void p2/game.h:338:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 338 | extern void video_init(); | ^ | void p2/game.h:340:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 340 | extern void video_clear(); | ^ | void p2/game.h:342:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 342 | extern void video_copy_background(); | ^ | void p2/game.h:350:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 350 | extern void video_load_front_tiles(); | ^ | void p2/game.h:351:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 351 | extern void video_transition_close(); | ^ | void p2/game.h:352:34: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 352 | extern void video_transition_open(); | ^ | void p2/game.h:353:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 353 | extern void video_load_sprites(); | ^ | void p2/game.h:359:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 359 | extern void sound_init(); | ^ | void p2/game.h:360:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 360 | extern void sound_fini(); | ^ | void 25 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wpedantic -MMD `sdl2-config --cflags` -I. -g -fvisibility=hidden -c -o p2/unpack.o p2/unpack.c In file included from p2/unpack.c:2: In file included from ./util.h:5: ./intern.h:67:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 67 | void (*res_fini)(); | ^ | void ./intern.h:68:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 68 | void (*snd_init)(); | ^ | void ./intern.h:69:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 69 | void (*snd_fini)(); | ^ | void ./intern.h:70:13: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 70 | void (*run)(); | ^ | void 4 warnings generated. ld -r -o game_p2.o p2/bosses.o p2/game.o p2/level.o p2/monsters.o p2/resource.o p2/screen.o p2/sound.o p2/staticres.o p2/unpack.o objcopy --localize-hidden game_p2.o cc -fstack-protector-strong -o blues main.o mixer.o sys_sdl2.o util.o game_bb.o game_ja.o game_p2.o `sdl2-config --libs` -lmodplug =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for blues-g20220312 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/blues/work/blues-d4b94bb/blues /wrkdirs/usr/ports/games/blues/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/games/blues/work/blues-d4b94bb/*.md /wrkdirs/usr/ports/games/blues/work/stage/usr/local/share/doc/blues ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2025-05-06T17:44:18+0000' 'PKG_NOTE_ports_top_git_hash=5529c5919b' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=1a35b19e6d' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for blues-g20220312 ===> Building blues-g20220312 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for blues-g20220312 build of games/blues | blues-g20220312 ended at Tue May 6 18:45:35 BST 2025 build time: 00:01:17