=>> Building sysutils/clockspeed build started at Tue Sep 30 07:45:00 EDT 2025 port directory: /usr/ports/sysutils/clockspeed package name: clockspeed-0.62_7 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2179 Oct 16 2024 /usr/ports/sysutils/clockspeed/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: b559c289f7e9 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 09 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 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/freebsd_15_c_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/09/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_x64-HEAD-ALL/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 clockspeed-0.62_7: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/clockspeed/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/clockspeed/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/clockspeed/work/.cache HOME=/wrkdirs/usr/ports/sysutils/clockspeed/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/clockspeed/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/clockspeed/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-- XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/clockspeed/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/clockspeed/work XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/clockspeed/work/.cache HOME=/wrkdirs/usr/ports/sysutils/clockspeed/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/clockspeed/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/clockspeed/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=" " 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=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/clockspeed" EXAMPLESDIR="share/examples/clockspeed" DATADIR="share/clockspeed" WWWDIR="www/clockspeed" ETCDIR="etc/clockspeed" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/clockspeed DOCSDIR=/usr/local/share/doc/clockspeed EXAMPLESDIR=/usr/local/share/examples/clockspeed WWWDIR=/usr/local/www/clockspeed ETCDIR=/usr/local/etc/clockspeed --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 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 #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---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 ===> NOTICE: The clockspeed port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> clockspeed-0.62_7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> clockspeed-0.62_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of clockspeed-0.62_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The clockspeed port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by clockspeed-0.62_7 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The clockspeed port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by clockspeed-0.62_7 for building => SHA256 Checksum OK for clockspeed-0.62.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The clockspeed port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by clockspeed-0.62_7 for building ===> Extracting for clockspeed-0.62_7 => SHA256 Checksum OK for clockspeed-0.62.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 clockspeed-0.62_7 ===> Applying FreeBSD patches for clockspeed-0.62_7 from /usr/ports/sysutils/clockspeed/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> clockspeed-0.62_7 depends on executable: groff - not found ===> Installing existing package /packages/All/groff-1.23.0_5.pkg [pkg.DaveG.ca] Installing groff-1.23.0_5... [pkg.DaveG.ca] `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Installing libiconv-1.17_1... [pkg.DaveG.ca] `-- Extracting libiconv-1.17_1: .......... done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing psutils-1.17_6... [pkg.DaveG.ca] | `-- Installing libpaper-1.1.28_1... [pkg.DaveG.ca] | `-- Extracting libpaper-1.1.28_1: .......... done [pkg.DaveG.ca] `-- Extracting psutils-1.17_6: .......... done [pkg.DaveG.ca] `-- Installing uchardet-0.0.8_1... [pkg.DaveG.ca] `-- Extracting uchardet-0.0.8_1: .......... done [pkg.DaveG.ca] Extracting groff-1.23.0_5: .......... done ===== Message from groff-1.23.0_5: -- In order to be able to use the html driver, you need to install the following packages: - ghostscript - netpbm -- ===> NOTICE: The groff port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> clockspeed-0.62_7 depends on executable: groff - found ===> Returning to build of clockspeed-0.62_7 ===> clockspeed-0.62_7 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] 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. ===> clockspeed-0.62_7 depends on file: /usr/local/bin/ccache - found ===> Returning to build of clockspeed-0.62_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> clockspeed-0.62_7 depends on shared library: libtai.so - not found ===> Installing existing package /packages/All/libtai-0.60_7.pkg [pkg.DaveG.ca] Installing libtai-0.60_7... [pkg.DaveG.ca] Extracting libtai-0.60_7: .......... done ===> clockspeed-0.62_7 depends on shared library: libtai.so - found (/usr/local/lib/libtai.so) ===> Returning to build of clockspeed-0.62_7 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for clockspeed-0.62_7 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for clockspeed-0.62_7 --- sntpclock.0 --- --- taiclock.0 --- --- taiclockd.0 --- --- clockspeed.0 --- --- clockadd.0 --- --- clockview.0 --- --- auto-ccld.sh --- --- sntpclock.0 --- nroff -man sntpclock.1 > sntpclock.0 --- taiclock.0 --- nroff -man taiclock.1 > taiclock.0 --- taiclockd.0 --- nroff -man taiclockd.1 > taiclockd.0 --- clockspeed.0 --- nroff -man clockspeed.1 > clockspeed.0 --- clockadd.0 --- nroff -man clockadd.1 > clockadd.0 --- clockview.0 --- nroff -man clockview.1 > clockview.0 --- auto-ccld.sh --- ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\' ) > auto-ccld.sh --- find-systype --- --- make-compile --- --- make-load --- --- make-makelib --- --- find-systype --- cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype --- make-compile --- cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile --- make-load --- cat auto-ccld.sh make-load.sh > make-load --- make-makelib --- cat auto-ccld.sh make-makelib.sh > make-makelib --- make-load --- chmod 755 make-load --- systype --- --- make-makelib --- chmod 755 make-makelib --- systype --- ./find-systype > systype --- compile --- --- load --- --- makelib --- --- compile --- ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile --- load --- ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load --- makelib --- ( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > makelib --- compile --- chmod 755 compile --- load --- chmod 755 load --- auto-str.o --- --- byte_chr.o --- --- byte_copy.o --- --- byte_cr.o --- --- byte_diff.o --- --- byte_zero.o --- --- clockview.o --- --- error.o --- --- error_str.o --- --- fmt_str.o --- --- fmt_uint.o --- --- fmt_uint0.o --- --- fmt_ulong.o --- --- hier.o --- --- fmt_str.o --- ./compile fmt_str.c fmt_str.c:9:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 9 | if (s) { while (ch = t[len]) s[len++] = ch; } | ~~~^~~~~~~~ fmt_str.c:9:22: note: place parentheses around the assignment to silence this warning 9 | if (s) { while (ch = t[len]) s[len++] = ch; } | ^ | ( ) fmt_str.c:9:22: note: use '==' to turn this assignment into an equality comparison 9 | if (s) { while (ch = t[len]) s[len++] = ch; } | ^ | == fmt_str.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int fmt_str(s,t) | ^ In file included from fmt_str.c:1: ./fmt.h:22:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern unsigned int fmt_str(); | ^ 3 warnings generated. --- error_str.o --- ./compile error_str.c error_str.c:6:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | char *error_str(i) | ^ In file included from error_str.c:2: ./error.h:20:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern char *error_str(); | ^ 2 warnings generated. --- error.o --- ./compile error.c --- byte_zero.o --- ./compile byte_zero.c byte_zero.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void byte_zero(s,n) | ^ In file included from byte_zero.c:1: ./byte.h:9:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern void byte_zero(); | ^ 2 warnings generated. --- byte_diff.o --- ./compile byte_diff.c byte_diff.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int byte_diff(s,n,t) | ^ In file included from byte_diff.c:1: ./byte.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int byte_diff(); | ^ 2 warnings generated. --- byte_cr.o --- ./compile byte_cr.c byte_cr.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void byte_copyr(to,n,from) | ^ In file included from byte_cr.c:1: ./byte.h:7:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern void byte_copyr(); | ^ 2 warnings generated. --- byte_copy.o --- ./compile byte_copy.c byte_copy.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void byte_copy(to,n,from) | ^ In file included from byte_copy.c:1: ./byte.h:6:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern void byte_copy(); | ^ 2 warnings generated. --- byte_chr.o --- ./compile byte_chr.c byte_chr.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int byte_chr(s,n,c) | ^ In file included from byte_chr.c:1: ./byte.h:4:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern unsigned int byte_chr(); | ^ 2 warnings generated. --- auto-str.o --- ./compile auto-str.c auto-str.c:11:20: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | if (substdio_puts(&ss1,s) == -1) _exit(111); | ^ auto-str.c:8:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | void puts(s) | ^ auto-str.c:14:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 14 | void main(argc,argv) | ^ auto-str.c:14:1: note: change return type to 'int' 14 | void main(argc,argv) | ^~~~ | int auto-str.c:32:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 32 | while (ch = *value++) { | ~~~^~~~~~~~~~ auto-str.c:32:13: note: place parentheses around the assignment to silence this warning 32 | while (ch = *value++) { | ^ | ( ) auto-str.c:32:13: note: use '==' to turn this assignment into an equality comparison 32 | while (ch = *value++) { | ^ | == auto-str.c:42:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | if (substdio_flush(&ss1) == -1) _exit(111); | ^ auto-str.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | void main(argc,argv) | ^ 6 warnings generated. --- makelib --- chmod 755 makelib --- fmt_ulong.o --- ./compile fmt_ulong.c --- fmt_uint.o --- ./compile fmt_uint.c --- clockview.o --- ./compile clockview.c --- fmt_uint0.o --- ./compile fmt_uint0.c --- install.o --- --- instcheck.o --- --- ip.o --- --- open_read.o --- --- open_trunc.o --- --- open_write.o --- --- scan_ulong.o --- --- select.h --- --- str_diff.o --- --- str_len.o --- --- strerr_die.o --- --- scan_ulong.o --- ./compile scan_ulong.c scan_ulong.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int scan_ulong(s,u) register char *s; register unsigned long *u; | ^ In file included from scan_ulong.c:1: ./scan.h:10:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern unsigned int scan_ulong(); | ^ 2 warnings generated. --- open_write.o --- ./compile open_write.c open_write.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int open_write(fn) char *fn; | ^ In file included from open_write.c:3: ./open.h:8:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern int open_write(); | ^ 2 warnings generated. --- open_trunc.o --- ./compile open_trunc.c open_trunc.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int open_trunc(fn) char *fn; | ^ In file included from open_trunc.c:3: ./open.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern int open_trunc(); | ^ 2 warnings generated. --- open_read.o --- ./compile open_read.c open_read.c:5:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | int open_read(fn) char *fn; | ^ In file included from open_read.c:3: ./open.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int open_read(); | ^ 2 warnings generated. --- instcheck.o --- ./compile instcheck.c instcheck.c:27:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," does not exist",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:29:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | strerr_warn4(WARNING,"unable to stat .../",file,": ",&strerr_sys); | ^ ./strerr.h:33:12: note: expanded from macro 'strerr_warn4' 33 | strerr_warn((x1),(x2),(x3),(x4),(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ instcheck.c:34:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong owner",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:36:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong group",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:38:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong permissions",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:40:5: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | strerr_warn6(WARNING,prefix1,prefix2,prefix3,file," has wrong type",0); | ^ ./strerr.h:29:12: note: expanded from macro 'strerr_warn6' 29 | strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(struct strerr *) (se)) | ^ instcheck.c:13:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | void perm(prefix1,prefix2,prefix3,file,type,uid,gid,mode) | ^ instcheck.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void h(home,uid,gid,mode) | ^ instcheck.c:59:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | if (chdir(home) == -1) | ^ instcheck.c:60:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | void d(home,subdir,uid,gid,mode) | ^ instcheck.c:71:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if (chdir(home) == -1) | ^ instcheck.c:72:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:64:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | void p(home,fifo,uid,gid,mode) | ^ instcheck.c:84:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | if (chdir(home) == -1) | ^ instcheck.c:85:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:87:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | strerr_die6sys(111,FATAL,"unable to switch to ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ instcheck.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void c(home,subdir,file,uid,gid,mode) | ^ instcheck.c:99:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | if (chdir(home) == -1) | ^ instcheck.c:100:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ instcheck.c:91:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | void z(home,file,len,uid,gid,mode) | ^ instcheck.c:104:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 104 | void main() | ^ instcheck.c:104:1: note: change return type to 'int' 104 | void main() | ^~~~ | int 22 warnings generated. --- hier.o --- ./compile hier.c hier.c:5:3: warning: call to undeclared function 'c'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 5 | c(auto_home,"bin","clockspeed",-1,-1,0755); | ^ 1 warning generated. --- fmt_ulong.o --- fmt_ulong.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int fmt_ulong(s,u) register char *s; register unsigned long u; | ^ In file included from fmt_ulong.c:1: ./fmt.h:14:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | extern unsigned int fmt_ulong(); | ^ 2 warnings generated. --- fmt_uint0.o --- fmt_uint0.c:6:17: warning: passing arguments to 'fmt_uint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | len = fmt_uint(FMT_LEN,u); | ^ fmt_uint0.c:8:18: warning: passing arguments to 'fmt_uint' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | if (s) fmt_uint(s,u); | ^ fmt_uint0.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int fmt_uint0(s,u,n) char *s; unsigned int u; unsigned int n; | ^ In file included from fmt_uint0.c:1: ./fmt.h:8:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern unsigned int fmt_uint0(); | ^ 4 warnings generated. --- fmt_uint.o --- fmt_uint.c:5:52: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | register unsigned long l; l = u; return fmt_ulong(s,l); | ^ fmt_uint.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int fmt_uint(s,u) register char *s; register unsigned int u; | ^ In file included from fmt_uint.c:1: ./fmt.h:7:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern unsigned int fmt_uint(); | ^ 3 warnings generated. --- clockview.o --- clockview.c:24:39: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | substdio_put(&ssout,strnum,fmt_uint0(strnum,1900 + tm->tm_year,4)); | ^ clockview.c:24:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | substdio_put(&ssout,strnum,fmt_uint0(strnum,1900 + tm->tm_year,4)); | ^ clockview.c:25:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | substdio_puts(&ssout,"-"); | ^ clockview.c:26:39: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | substdio_put(&ssout,strnum,fmt_uint0(strnum,1 + tm->tm_mon,2)); | ^ clockview.c:26:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | substdio_put(&ssout,strnum,fmt_uint0(strnum,1 + tm->tm_mon,2)); | ^ clockview.c:27:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | substdio_puts(&ssout,"-"); | ^ clockview.c:28:39: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | substdio_put(&ssout,strnum,fmt_uint0(strnum,tm->tm_mday,2)); | ^ clockview.c:28:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | substdio_put(&ssout,strnum,fmt_uint0(strnum,tm->tm_mday,2)); | ^ clockview.c:29:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | substdio_puts(&ssout," "); | ^ clockview.c:30:39: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | substdio_put(&ssout,strnum,fmt_uint0(strnum,tm->tm_hour,2)); | ^ clockview.c:30:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | substdio_put(&ssout,strnum,fmt_uint0(strnum,tm->tm_hour,2)); | ^ clockview.c:31:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | substdio_puts(&ssout,":"); | ^ clockview.c:32:39: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | substdio_put(&ssout,strnum,fmt_uint0(strnum,tm->tm_min,2)); | ^ clockview.c:32:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | substdio_put(&ssout,strnum,fmt_uint0(strnum,tm->tm_min,2)); | ^ clockview.c:33:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | substdio_puts(&ssout,":"); | ^ clockview.c:34:39: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | substdio_put(&ssout,strnum,fmt_uint0(strnum,tm->tm_sec,2)); | ^ clockview.c:34:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | substdio_put(&ssout,strnum,fmt_uint0(strnum,tm->tm_sec,2)); | ^ clockview.c:35:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | substdio_puts(&ssout,"."); | ^ clockview.c:36:39: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | substdio_put(&ssout,strnum,fmt_uint0(strnum,nano,9)); | ^ clockview.c:36:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | substdio_put(&ssout,strnum,fmt_uint0(strnum,nano,9)); | ^ clockview.c:37:39: warning: passing arguments to 'fmt_uint0' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | substdio_put(&ssout,strnum,fmt_uint0(strnum,atto,9)); | ^ clockview.c:37:15: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | substdio_put(&ssout,strnum,fmt_uint0(strnum,atto,9)); | ^ clockview.c:38:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | substdio_puts(&ssout,"\n"); | ^ clockview.c:39:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | substdio_flush(&ssout); | ^ clockview.c:45:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 45 | void main() | ^ clockview.c:45:1: note: change return type to 'int' 45 | void main() | ^~~~ | int clockview.c:49:11: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (read(0,buf,sizeof buf) != sizeof buf) | ^ clockview.c:50:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | strerr_die2x(111,FATAL,"data split across packets"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ clockview.c:56:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | substdio_puts(&ssout,"before: "); | ^ clockview.c:91:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | substdio_puts(&ssout,"after: "); | ^ 29 warnings generated. --- str_len.o --- ./compile str_len.c --- str_diff.o --- ./compile str_diff.c --- ip.o --- ./compile ip.c --- select.h --- ( ./compile trysysel.c >/dev/null 2>&1 && cat select.h2 || cat select.h1 ) > select.h --- install.o --- ./compile install.c --- strerr_sys.o --- --- subfderr.o --- --- substdi.o --- --- substdio.o --- --- substdio_copy.o --- --- substdo.o --- --- error.a --- --- hasclock_gettime.h --- --- hasgethr.h --- --- hasmkffo.h --- --- substdo.o --- ./compile substdo.c substdo.c:15:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | w = op(fd,buf,len); | ^ substdo.c:20:17: warning: if statement has empty body [-Wempty-body] 20 | if (w == 0) ; /* luser's fault */ | ^ substdo.c:20:17: note: put the semicolon on a separate line to silence this warning substdo.c:6:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | static int allwrite(op,fd,buf,len) | ^ substdo.c:27:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | int substdio_flush(s) | ^ In file included from substdo.c:1: ./substdio.h:16:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 16 | extern int substdio_flush(); | ^ substdo.c:46:14: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | byte_copy(s->x + s->p,n,buf); s->p += n; buf += n; len -= n; | ^ substdo.c:50:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | byte_copy(s->x + s->p,len,buf); | ^ substdo.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int substdio_bput(s,buf,len) | ^ In file included from substdo.c:1: ./substdio.h:18:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern int substdio_bput(); | ^ substdo.c:75:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | byte_copy(s->x + s->p,len,buf); | ^ substdo.c:55:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | int substdio_put(s,buf,len) | ^ In file included from substdo.c:1: ./substdio.h:17:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern int substdio_put(); | ^ substdo.c:80:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | int substdio_putflush(s,buf,len) | ^ In file included from substdo.c:1: ./substdio.h:19:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 19 | extern int substdio_putflush(); | ^ substdo.c:93:37: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | return substdio_bput(s,buf,str_len(buf)); | ^ substdo.c:89:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | int substdio_bputs(s,buf) | ^ In file included from substdo.c:1: ./substdio.h:21:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | extern int substdio_bputs(); | ^ substdo.c:100:36: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | return substdio_put(s,buf,str_len(buf)); | ^ substdo.c:96:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | int substdio_puts(s,buf) | ^ In file included from substdo.c:1: ./substdio.h:20:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | extern int substdio_puts(); | ^ substdo.c:107:41: warning: passing arguments to 'str_len' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | return substdio_putflush(s,buf,str_len(buf)); | ^ substdo.c:103:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | int substdio_putsflush(s,buf) | ^ In file included from substdo.c:1: ./substdio.h:22:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | extern int substdio_putsflush(); | ^ 23 warnings generated. --- substdio_copy.o --- ./compile substdio_copy.c substdio_copy.c:11:22: warning: passing arguments to 'substdio_feed' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | n = substdio_feed(ssin); | ^ substdio_copy.c:15:21: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (substdio_put(ssout,x,n) == -1) return -3; | ^ substdio_copy.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int substdio_copy(ssout,ssin) | ^ In file included from substdio_copy.c:1: ./substdio.h:45:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | extern int substdio_copy(); | ^ 4 warnings generated. --- substdio.o --- ./compile substdio.c substdio.c:3:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | void substdio_fdbuf(s,op,fd,buf,len) | ^ In file included from substdio.c:1: ./substdio.h:14:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | extern void substdio_fdbuf(); | ^ 2 warnings generated. --- substdi.o --- ./compile substdi.c substdi.c:14:11: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | r = op(fd,buf,len); | ^ substdi.c:5:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | static int oneread(op,fd,buf,len) | ^ substdi.c:31:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | byte_copy(buf,r,s->x + s->n); | ^ substdi.c:20:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | static int getthis(s,buf,len) | ^ substdi.c:49:48: warning: passing arguments to 'byte_copyr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | if (q > 0) /* damn, gotta shift */ byte_copyr(s->x + q,r,s->x); | ^ substdi.c:36:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | int substdio_feed(s) | ^ In file included from substdi.c:1: ./substdio.h:26:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 26 | extern int substdio_feed(); | ^ substdi.c:53:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | int substdio_bget(s,buf,len) | ^ In file included from substdi.c:1: ./substdio.h:25:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 25 | extern int substdio_bget(); | ^ substdi.c:66:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | int substdio_get(s,buf,len) | ^ In file included from substdi.c:1: ./substdio.h:24:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 24 | extern int substdio_get(); | ^ substdi.c:79:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | char *substdio_peek(s) | ^ In file included from substdi.c:1: ./substdio.h:28:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | extern char *substdio_peek(); | ^ substdi.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | void substdio_seek(s,len) | ^ In file included from substdi.c:1: ./substdio.h:29:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | extern void substdio_seek(); | ^ 15 warnings generated. --- subfderr.o --- ./compile subfderr.c --- strerr_sys.o --- ./compile strerr_sys.c strerr_sys.c:9:27: warning: passing arguments to 'error_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | strerr_sys.x = error_str(errno); | ^ 1 warning generated. --- strerr_die.o --- ./compile strerr_die.c strerr_die.c:12:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | if (x1) substdio_puts(subfderr,x1); | ^ strerr_die.c:13:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | if (x2) substdio_puts(subfderr,x2); | ^ strerr_die.c:14:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | if (x3) substdio_puts(subfderr,x3); | ^ strerr_die.c:15:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (x4) substdio_puts(subfderr,x4); | ^ strerr_die.c:16:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | if (x5) substdio_puts(subfderr,x5); | ^ strerr_die.c:17:24: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (x6) substdio_puts(subfderr,x6); | ^ strerr_die.c:20:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | if (se->x) substdio_puts(subfderr,se->x); | ^ strerr_die.c:21:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | if (se->y) substdio_puts(subfderr,se->y); | ^ strerr_die.c:22:29: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | if (se->z) substdio_puts(subfderr,se->z); | ^ strerr_die.c:26:16: warning: passing arguments to 'substdio_puts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | substdio_puts(subfderr,"\n"); | ^ strerr_die.c:27:17: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | substdio_flush(subfderr); | ^ strerr_die.c:6:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | void strerr_warn(x1,x2,x3,x4,x5,x6,se) | ^ In file included from strerr_die.c:4: ./strerr.h:17:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 17 | extern void strerr_warn(); | ^ strerr_die.c:30:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | void strerr_die(e,x1,x2,x3,x4,x5,x6,se) | ^ In file included from strerr_die.c:4: ./strerr.h:18:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 18 | extern void strerr_die(); | ^ 15 warnings generated. --- str_len.o --- str_len.c:3:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | unsigned int str_len(s) | ^ In file included from str_len.c:1: ./str.h:7:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 7 | extern unsigned int str_len(); | ^ 2 warnings generated. --- str_diff.o --- str_diff.c:3:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3 | int str_diff(s,t) | ^ In file included from str_diff.c:1: ./str.h:5:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 5 | extern int str_diff(); | ^ 2 warnings generated. --- select.h --- rm -f trysysel.o trysysel --- ip.o --- ip.c:13:16: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | i = fmt_ulong(s,(unsigned long) ip->d[0]); len += i; if (s) s += i; | ^ ip.c:14:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | i = fmt_str(s,"."); len += i; if (s) s += i; | ^ ip.c:15:16: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | i = fmt_ulong(s,(unsigned long) ip->d[1]); len += i; if (s) s += i; | ^ ip.c:16:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | i = fmt_str(s,"."); len += i; if (s) s += i; | ^ ip.c:17:16: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | i = fmt_ulong(s,(unsigned long) ip->d[2]); len += i; if (s) s += i; | ^ ip.c:18:14: warning: passing arguments to 'fmt_str' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | i = fmt_str(s,"."); len += i; if (s) s += i; | ^ ip.c:19:16: warning: passing arguments to 'fmt_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | i = fmt_ulong(s,(unsigned long) ip->d[3]); len += i; if (s) s += i; | ^ ip.c:5:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | unsigned int ip_fmt(s,ip) | ^ In file included from ip.c:3: ./ip.h:6:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 6 | extern unsigned int ip_fmt(); | ^ ip.c:32:17: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | i = scan_ulong(s,&u); if (!i) return 0; ip->d[0] = u; s += i; len += i; | ^ ip.c:34:17: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | i = scan_ulong(s,&u); if (!i) return 0; ip->d[1] = u; s += i; len += i; | ^ ip.c:36:17: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | i = scan_ulong(s,&u); if (!i) return 0; ip->d[2] = u; s += i; len += i; | ^ ip.c:38:17: warning: passing arguments to 'scan_ulong' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | i = scan_ulong(s,&u); if (!i) return 0; ip->d[3] = u; s += i; len += i; | ^ ip.c:23:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | unsigned int ip_scan(s,ip) | ^ In file included from ip.c:3: ./ip.h:8:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 8 | extern unsigned int ip_scan(); | ^ ip.c:42:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | unsigned int ip_scanbracket(s,ip) | ^ In file included from ip.c:3: ./ip.h:9:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 9 | extern unsigned int ip_scanbracket(); | ^ 17 warnings generated. --- error.a --- ./makelib error.a error.o error_str.o --- hasclock_gettime.h --- ( ( ./compile tryclock_gettime.c && ./load tryclock_gettime ) >/dev/null 2>&1 && echo \#define HASCLOCK_GETTIME 1 || exit 0 ) > hasclock_gettime.h --- hasrdtsc.h --- --- socket.lib --- --- uint64.h --- --- open.a --- --- fs.a --- --- substdio.a --- --- strerr.a --- --- str.a --- --- clockadd.o --- --- hasmkffo.h --- ( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null 2>&1 && echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h --- install.o --- install.c:20:7: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | if (mkdir(home,0700) == -1) | ^ install.c:22:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | strerr_die4sys(111,FATAL,"unable to mkdir ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:23:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | if (chown(home,uid,gid) == -1) | ^ install.c:24:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- hasgethr.h --- ( ( ./compile trygethr.c && ./load trygethr ) >/dev/null 2>&1 && echo \#define HASGETHRTIME 1 || exit 0 ) > hasgethr.h --- hasrdtsc.h --- ( ( ./compile tryrdtsc.c && ./load tryrdtsc && ./tryrdtsc ) >/dev/null 2>&1 && echo \#define HASRDTSC 1 || exit 0 ) > hasrdtsc.h --- socket.lib --- ( ( ./compile trylsock.c && ./load trylsock -lsocket -lnsl ) >/dev/null 2>&1 && echo -lsocket -lnsl || exit 0 ) > socket.lib --- uint64.h --- ( ( ./compile tryulong64.c && ./load tryulong64 && ./tryulong64 ) >/dev/null 2>&1 && cat uint64.h1 || cat uint64.h2 ) > uint64.h --- open.a --- ./makelib open.a open_read.o open_trunc.o open_write.o --- fs.a --- ./makelib fs.a fmt_str.o fmt_uint.o fmt_uint0.o fmt_ulong.o scan_ulong.o --- substdio.a --- ./makelib substdio.a substdio.o substdi.o substdo.o subfderr.o substdio_copy.o --- strerr.a --- ./makelib strerr.a strerr_sys.o strerr_die.o --- str.a --- ./makelib str.a str_len.o str_diff.o byte_diff.o byte_chr.o byte_copy.o byte_cr.o byte_zero.o --- install.o --- 24 | strerr_die4sys(111,FATAL,"unable to chown ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:25:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | if (chmod(home,mode) == -1) | ^ install.c:26:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | strerr_die4sys(111,FATAL,"unable to chmod ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | void h(home,uid,gid,mode) | ^ install.c:36:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | if (chdir(home) == -1) | ^ install.c:37:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:38:7: warning: call to undeclared function 'mkdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | if (mkdir(subdir,0700) == -1) | ^ install.c:40:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | strerr_die6sys(111,FATAL,"unable to mkdir ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:41:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 41 | if (chown(subdir,uid,gid) == -1) | ^ install.c:42:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | strerr_die6sys(111,FATAL,"unable to chown ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:43:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | if (chmod(subdir,mode) == -1) | ^ install.c:44:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | strerr_die6sys(111,FATAL,"unable to chmod ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:29:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | void d(home,subdir,uid,gid,mode) | ^ install.c:63:7: warning: call to undeclared function 'fchdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | if (fchdir(fdsourcedir) == -1) | ^ install.c:64:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | strerr_die2sys(111,FATAL,"unable to switch back to source directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:66:19: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | fdin = open_read(file); | ^ install.c:68:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | strerr_die4sys(111,FATAL,"unable to read ",file,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:69:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | substdio_fdbuf(&ssin,read,fdin,inbuf,sizeof inbuf); | ^ install.c:71:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | if (chdir(home) == -1) | ^ install.c:72:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:74:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | strerr_die6sys(111,FATAL,"unable to switch to ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:76:21: warning: passing arguments to 'open_trunc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | fdout = open_trunc(file); | ^ install.c:78:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:79:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | substdio_fdbuf(&ssout,write,fdout,outbuf,sizeof outbuf); | ^ install.c:81:23: warning: passing arguments to 'substdio_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | switch(substdio_copy(&ssout,&ssin)) { | ^ install.c:83:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | strerr_die4sys(111,FATAL,"unable to read ",file,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:85:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:88:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | close(fdin); | ^ install.c:89:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | if (substdio_flush(&ssout) == -1) | ^ install.c:90:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:91:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | if (fsync(fdout) == -1) | ^ install.c:92:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:94:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:96:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | if (chown(file,uid,gid) == -1) | ^ install.c:97:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:98:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | if (chmod(file,mode) == -1) | ^ install.c:99:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | void c(home,subdir,file,uid,gid,mode) | ^ install.c:113:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | if (chdir(home) == -1) | ^ install.c:114:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | strerr_die4sys(111,FATAL,"unable to switch to ",home,": "); | ^ ./strerr.h:59:11: note: expanded from macro 'strerr_die4sys' 59 | strerr_die((e),(x1),(x2),(x3),(x4),(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:116:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | strerr_die6sys(111,FATAL,"unable to switch to ",home,"/",subdir,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:118:21: warning: passing arguments to 'open_trunc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | fdout = open_trunc(file); | ^ install.c:120:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:121:17: warning: passing arguments to 'substdio_fdbuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | substdio_fdbuf(&ssout,write,fdout,outbuf,sizeof outbuf); | ^ install.c:124:21: warning: passing arguments to 'substdio_put' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | if (substdio_put(&ssout,"",1) == -1) | ^ install.c:125:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:127:21: warning: passing arguments to 'substdio_flush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | if (substdio_flush(&ssout) == -1) | ^ install.c:128:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:129:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | if (fsync(fdout) == -1) | ^ install.c:130:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:131:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | if (close(fdout) == -1) /* NFS silliness */ | ^ install.c:132:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | strerr_die6sys(111,FATAL,"unable to write .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:134:7: warning: call to undeclared function 'chown'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | if (chown(file,uid,gid) == -1) | ^ install.c:135:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:136:7: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | if (chmod(file,mode) == -1) | ^ install.c:137:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": "); | ^ ./strerr.h:55:11: note: expanded from macro 'strerr_die6sys' 55 | strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys) | ^ install.c:102:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | void z(home,subdir,file,len,uid,gid,mode) | ^ install.c:140:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 140 | void main() | ^ install.c:140:1: note: change return type to 'int' 140 | void main() | ^~~~ | int install.c:142:26: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | fdsourcedir = open_read("."); | ^ install.c:144:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | strerr_die2sys(111,FATAL,"unable to open current directory: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ install.c:146:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 146 | umask(077); | ^ 64 warnings generated. --- clockadd.o --- ./compile clockadd.c --- socket.lib --- rm -f trylsock.o trylsock --- clockadd.o --- In file included from clockadd.c:7: ./select.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 7 | extern int select(); | ^ /usr/include/sys/select.h:129:5: note: conflicting prototype is here 129 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ clockadd.c:14:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 14 | void main() | ^ clockadd.c:14:1: note: change return type to 'int' 14 | void main() | ^~~~ | int clockadd.c:21:11: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | if (read(0,buf,sizeof buf) != sizeof buf) | ^ clockadd.c:22:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | strerr_die2x(111,FATAL,"data split across packets"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ clockadd.c:55:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | strerr_die2sys(111,FATAL,"unable to settimeofday: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 5 warnings generated. --- hasgethr.h --- rm -f trygethr.o --- uint64.h --- rm -f tryulong64.o tryulong64 --- sntpclock.o --- --- taiclock.o --- --- taiclockd.o --- --- hasclock_gettime.h --- rm -f tryclock_gettime.o --- sntpclock.o --- ./compile sntpclock.c --- taiclock.o --- ./compile taiclock.c --- taiclockd.o --- ./compile taiclockd.c --- hasrdtsc.h --- rm -f tryrdtsc.o tryrdtsc --- clockspeed.o --- --- auto-str --- --- clockadd --- --- clockview --- --- clockspeed.o --- ./compile clockspeed.c --- auto-str --- ./load auto-str substdio.a error.a str.a --- clockadd --- ./load clockadd strerr.a substdio.a error.a str.a --- clockview --- ./load clockview strerr.a substdio.a error.a str.a fs.a --- taiclockd.o --- taiclockd.c:18:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 18 | void main(argc,argv) | ^ taiclockd.c:18:1: note: change return type to 'int' 18 | void main(argc,argv) | ^~~~ | int taiclockd.c:28:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | strerr_die2sys(111,FATAL,"unable to create socket: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ taiclockd.c:30:12: warning: passing arguments to 'byte_zero' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | byte_zero(&sa,sizeof(sa)); | ^ taiclockd.c:33:10: warning: implicit conversion from 'int' to 'char' changes value from 174 to -82 [-Wconstant-conversion] 33 | x[1] = 174; | ~ ^~~ taiclockd.c:37:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | strerr_die2sys(111,FATAL,"unable to bind: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ taiclockd.c:41:67: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] 41 | r = recvfrom(s,packet,sizeof packet,0,(struct sockaddr *) &sa,&len); | ^~~~ /usr/include/sys/socket.h:714:96: note: passing argument to parameter here 714 | ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict); | ^ taiclockd.c:43:21: warning: passing arguments to 'byte_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if (!byte_diff(packet,4,"ctai")) { | ^ taiclockd.c:45:17: warning: passing arguments to 'taia_now' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | taia_now(&ta); | ^ taiclockd.c:46:18: warning: passing arguments to 'taia_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | taia_pack(packet + 4,&ta); | ^ taiclockd.c:18:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | void main(argc,argv) | ^ 10 warnings generated. --- taiclockd --- --- sntpclock.o --- In file included from sntpclock.c:12: ./select.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 7 | extern int select(); | ^ /usr/include/sys/select.h:129:5: note: conflicting prototype is here 129 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ sntpclock.c:49:13: warning: passing arguments to 'tai_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | tai_unpack(buf,&t); | ^ sntpclock.c:50:15: warning: passing arguments to 'leapsecs_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | leapsecs_add(&t,flagleap); | ^ --- taiclockd --- ./load taiclockd strerr.a substdio.a error.a str.a `cat socket.lib` -ltai --- sntpclock.o --- sntpclock.c:51:11: warning: passing arguments to 'tai_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | tai_pack(buf,&t); | ^ sntpclock.c:78:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | taia_unpack(buf,ta); | ^ sntpclock.c:22:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | void ntp_taia(ntp,ta,flagleap) | ^ sntpclock.c:89:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | strerr_die1x(100,"sntpclock: usage: sntpclock ip.ad.dr.ess"); | ^ ./strerr.h:78:11: note: expanded from macro 'strerr_die1x' 78 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ sntpclock.c:120:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 120 | void main(argc,argv) | ^ sntpclock.c:120:1: note: change return type to 'int' 120 | void main(argc,argv) | ^~~~ | int sntpclock.c:133:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | taia_unpack(initdeltamin,&deltamin); | ^ sntpclock.c:134:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | taia_unpack(initdeltamax,&deltamax); | ^ sntpclock.c:135:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | taia_unpack(initdeltaoffset,&deltaoffset); | ^ sntpclock.c:136:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | taia_unpack(initerrmin,&errmin); | ^ sntpclock.c:137:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | taia_unpack(initerrmax,&errmax); | ^ sntpclock.c:140:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | strerr_die2sys(111,FATAL,"unable to initialize leap seconds: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ sntpclock.c:144:16: warning: passing arguments to 'str_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | if (!str_diff(host,"0")) host = "127.0.0.1"; | ^ sntpclock.c:145:19: warning: passing arguments to 'ip_scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | if (host[ip_scan(host,&ipremote)]) die_usage(); | ^ sntpclock.c:149:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | strerr_die2sys(111,FATAL,"unable to create socket: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ sntpclock.c:151:12: warning: passing arguments to 'byte_zero' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | byte_zero(&sa,sizeof(sa)); | ^ sntpclock.c:152:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | byte_copy(&sa.sin_addr,4,&ipremote); | ^ sntpclock.c:159:14: warning: passing arguments to 'byte_zero' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | byte_zero(query,sizeof query); | ^ sntpclock.c:172:9: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 172 | u = getpid(); | ^ sntpclock.c:176:13: warning: passing arguments to 'taia_now' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | taia_now(&ta0); | ^ sntpclock.c:178:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | strerr_die2sys(111,FATAL,"unable to send request: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ sntpclock.c:184:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | strerr_warn2(WARNING,"unable to read clock: timed out",0); | ^ ./strerr.h:37:12: note: expanded from macro 'strerr_warn2' 37 | strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ sntpclock.c:189:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | strerr_warn2(WARNING,"unable to read clock: ",&strerr_sys); | ^ ./strerr.h:37:12: note: expanded from macro 'strerr_warn2' 37 | strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ sntpclock.c:192:13: warning: passing arguments to 'taia_now' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | taia_now(&ta1); | ^ sntpclock.c:197:14: warning: passing arguments to 'byte_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | || byte_diff(query + 40,8,response + 24) --- taiclock.o --- In file included from taiclock.c:12: ./select.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 7 | extern int select(); | ^ /usr/include/sys/select.h:129:5: note: conflicting prototype is here 129 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ taiclock.c:23:3: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | strerr_die1x(100,"taiclock: usage: taiclock ip.ad.dr.ess"); | ^ ./strerr.h:78:11: note: expanded from macro 'strerr_die1x' 78 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ taiclock.c:54:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] --- sntpclock.o --- | ^ sntpclock.c:199:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | strerr_warn2(WARNING,"unable to read clock: bad response format",0); | ^ ./strerr.h:37:12: note: expanded from macro 'strerr_warn2' 37 | strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ sntpclock.c:206:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | taia_add(&taremote,&taremote,&deltaoffset); | ^ sntpclock.c:208:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | taia_add(&temp1,&deltamax,&ta0); | ^ --- taiclock.o --- 54 | void main(argc,argv) | ^ taiclock.c:54:1: note: change return type to 'int' 54 | void main(argc,argv) | ^~~~ | int taiclock.c:65:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | taia_unpack(initdeltamin,&deltamin); | ^ taiclock.c:66:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | taia_unpack(initdeltamax,&deltamax); | ^ taiclock.c:67:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | taia_unpack(initdeltaoffset,&deltaoffset); | ^ --- sntpclock.o --- sntpclock.c:209:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | taia_add(&temp2,&deltamin,&ta0); | ^ sntpclock.c:210:18: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | if (taia_less(&taremote,&temp1) && !taia_less(&taremote,&temp2)) { | ^ sntpclock.c:210:50: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | if (taia_less(&taremote,&temp1) && !taia_less(&taremote,&temp2)) { | ^ sntpclock.c:211:15: warning: passing arguments to 'taia_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- taiclock.o --- taiclock.c:68:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | taia_unpack(initerrmin,&errmin); | ^ taiclock.c:69:14: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | taia_unpack(initerrmax,&errmax); | ^ taiclock.c:73:16: warning: passing arguments to 'str_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (!str_diff(host,"0")) host = "127.0.0.1"; | ^ taiclock.c:74:19: warning: passing arguments to 'ip_scan' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | if (host[ip_scan(host,&ipremote)]) die_usage(); | ^ --- sntpclock.o --- 211 | taia_sub(&temp1,&taremote,&ta0); | ^ sntpclock.c:216:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | taia_add(&taremote,&taremote,&deltaoffset); | ^ sntpclock.c:218:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | taia_add(&temp1,&deltamax,&ta1); | ^ sntpclock.c:219:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | taia_add(&temp2,&deltamin,&ta1); | ^ sntpclock.c:220:18: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- taiclock.o --- taiclock.c:78:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | strerr_die2sys(111,FATAL,"unable to create socket: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ taiclock.c:80:12: warning: passing arguments to 'byte_zero' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | byte_zero(&sa,sizeof(sa)); | ^ taiclock.c:81:12: warning: passing arguments to 'byte_copy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | byte_copy(&sa.sin_addr,4,&ipremote); | ^ taiclock.c:84:10: warning: implicit conversion from 'int' to 'char' changes value from 174 to -82 [-Wconstant-conversion] --- sntpclock.o --- 220 | if (taia_less(&temp2,&taremote) && !taia_less(&temp1,&taremote)) { | ^ sntpclock.c:220:50: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | if (taia_less(&temp2,&taremote) && !taia_less(&temp1,&taremote)) { | ^ sntpclock.c:221:15: warning: passing arguments to 'taia_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | taia_sub(&temp2,&taremote,&ta1); | ^ sntpclock.c:226:11: warning: passing arguments to 'taia_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | taia_sub(&temp1,&deltamax,&deltamin); | ^ --- taiclock.o --- 84 | x[1] = 174; | ~ ^~~ taiclock.c:88:14: warning: passing arguments to 'byte_zero' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | byte_zero(query,sizeof query); | ^ taiclock.c:95:13: warning: passing arguments to 'taia_now' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | taia_now(&ta0); | ^ taiclock.c:96:14: warning: passing arguments to 'taia_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | taia_pack(query + 16,&ta0); | ^ taiclock.c:97:9: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | u = getpid(); | ^ --- sntpclock.o --- sntpclock.c:227:16: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | if (taia_less(&errmax,&temp1) && taia_less(&temp1,&errmin)) | ^ sntpclock.c:227:45: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | if (taia_less(&errmax,&temp1) && taia_less(&temp1,&errmin)) | ^ sntpclock.c:228:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | strerr_die2x(111,FATAL,"time uncertainty too large"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ --- taiclock.o --- taiclock.c:101:13: warning: passing arguments to 'taia_now' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | taia_now(&ta0); | ^ taiclock.c:103:7: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | strerr_die2sys(111,FATAL,"unable to send request: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ taiclock.c:109:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | strerr_warn2(WARNING,"unable to read clock: timed out",0); | ^ ./strerr.h:37:12: note: expanded from macro 'strerr_warn2' --- sntpclock.o --- sntpclock.c:230:11: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | taia_add(&temp1,&deltamax,&deltamin); | ^ sntpclock.c:231:12: warning: passing arguments to 'taia_half' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | taia_half(&temp1,&temp1); | ^ sntpclock.c:232:11: warning: passing arguments to 'taia_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | taia_sub(&temp1,&temp1,&deltaoffset); | ^ sntpclock.c:234:12: warning: passing arguments to 'taia_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | taia_pack(adj,&temp1); | ^ --- taiclock.o --- 37 | strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ taiclock.c:114:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | strerr_warn2(WARNING,"unable to read clock: ",&strerr_sys); | ^ ./strerr.h:37:12: note: expanded from macro 'strerr_warn2' 37 | strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ taiclock.c:117:13: warning: passing arguments to 'taia_now' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | taia_now(&ta1); | ^ taiclock.c:120:14: warning: passing arguments to 'byte_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | || byte_diff(query + 1,3,response + 1) --- sntpclock.o --- sntpclock.c:236:24: warning: passing arguments to 'substdio_putflush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | if (substdio_putflush(&ssout,adj,sizeof adj) == -1) | ^ sntpclock.c:237:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | strerr_die2sys(111,FATAL,"unable to write output: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ sntpclock.c:238:3: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 238 | _exit(0); | ^ --- taiclock.o --- | ^ taiclock.c:121:14: warning: passing arguments to 'byte_diff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | || byte_diff(query + 20,12,response + 20) | ^ taiclock.c:123:7: warning: passing arguments to 'strerr_warn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | strerr_warn2(WARNING,"unable to read clock: bad response format",0); | ^ ./strerr.h:37:12: note: expanded from macro 'strerr_warn2' 37 | strerr_warn((x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) (se)) | ^ taiclock.c:127:16: warning: passing arguments to 'taia_unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | taia_unpack(response + 4,&taremote); | ^ --- sntpclock.o --- sntpclock.c:238:3: note: include the header or explicitly provide a declaration for '_exit' sntpclock.c:120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | void main(argc,argv) | ^ 52 warnings generated. --- taiclock.o --- taiclock.c:128:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | taia_add(&taremote,&taremote,&deltaoffset); | ^ taiclock.c:130:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | taia_add(&temp1,&deltamax,&ta0); | ^ taiclock.c:131:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | taia_add(&temp2,&deltamin,&ta0); | ^ taiclock.c:132:18: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if (taia_less(&taremote,&temp1) && !taia_less(&taremote,&temp2)) { | ^ taiclock.c:132:50: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | if (taia_less(&taremote,&temp1) && !taia_less(&taremote,&temp2)) { | ^ taiclock.c:133:15: warning: passing arguments to 'taia_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | taia_sub(&temp1,&taremote,&ta0); | ^ taiclock.c:136:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | taia_add(&temp1,&deltamax,&ta1); | ^ taiclock.c:137:13: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | taia_add(&temp2,&deltamin,&ta1); | ^ taiclock.c:138:18: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | if (taia_less(&temp2,&taremote) && !taia_less(&temp1,&taremote)) { | ^ taiclock.c:138:50: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | if (taia_less(&temp2,&taremote) && !taia_less(&temp1,&taremote)) { | ^ taiclock.c:139:15: warning: passing arguments to 'taia_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | taia_sub(&temp2,&taremote,&ta1); | ^ taiclock.c:144:11: warning: passing arguments to 'taia_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | taia_sub(&temp1,&deltamax,&deltamin); | ^ taiclock.c:145:16: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | if (taia_less(&errmax,&temp1) && taia_less(&temp1,&errmin)) | ^ taiclock.c:145:45: warning: passing arguments to 'taia_less' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | if (taia_less(&errmax,&temp1) && taia_less(&temp1,&errmin)) | ^ taiclock.c:146:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | strerr_die2x(111,FATAL,"time uncertainty too large"); | ^ ./strerr.h:76:11: note: expanded from macro 'strerr_die2x' 76 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(struct strerr *) 0) | ^ taiclock.c:148:11: warning: passing arguments to 'taia_add' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | taia_add(&temp1,&deltamax,&deltamin); | ^ taiclock.c:149:12: warning: passing arguments to 'taia_half' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | taia_half(&temp1,&temp1); | ^ taiclock.c:150:11: warning: passing arguments to 'taia_sub' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | taia_sub(&temp1,&temp1,&deltaoffset); | ^ taiclock.c:152:12: warning: passing arguments to 'taia_pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | taia_pack(adj,&temp1); | ^ taiclock.c:154:24: warning: passing arguments to 'substdio_putflush' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | if (substdio_putflush(&ssout,adj,sizeof adj) == -1) | ^ taiclock.c:155:5: warning: passing arguments to 'strerr_die' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | strerr_die2sys(111,FATAL,"unable to write output: "); | ^ ./strerr.h:63:11: note: expanded from macro 'strerr_die2sys' 63 | strerr_die((e),(x1),(x2),(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ taiclock.c:156:3: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | _exit(0); | ^ taiclock.c:156:3: note: include the header or explicitly provide a declaration for '_exit' taiclock.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void main(argc,argv) | ^ 50 warnings generated. --- sntpclock --- ./load sntpclock ip.o strerr.a substdio.a error.a str.a fs.a `cat socket.lib` -ltai --- taiclock --- ./load taiclock ip.o strerr.a substdio.a error.a str.a fs.a `cat socket.lib` -ltai --- clockspeed.o --- In file included from clockspeed.c:5: ./select.h:7:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 7 | extern int select(); | ^ /usr/include/sys/select.h:129:5: note: conflicting prototype is here 129 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ clockspeed.c:32:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | void now(p) | ^ clockspeed.c:41:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | double nano(buf) | ^ clockspeed.c:88:18: warning: passing arguments to 'open_trunc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | fd = open_trunc("etc/clockspeed/atto.tmp"); | ^ clockspeed.c:120:12: warning: passing arguments to 'write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | if (write(fd,buf,sizeof buf) < sizeof buf) { close(fd); return; } | ^ clockspeed.c:120:48: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | if (write(fd,buf,sizeof buf) < sizeof buf) { close(fd); return; } | ^ clockspeed.c:121:7: warning: call to undeclared function 'fsync'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | if (fsync(fd) == -1) { close(fd); return; } | ^ clockspeed.c:121:26: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | if (fsync(fd) == -1) { close(fd); return; } | ^ clockspeed.c:122:7: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | if (close(fd) == -1) return; /* NFS stupidity */ | ^ clockspeed.c:124:3: warning: call to undeclared function 'rename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | rename("etc/clockspeed/atto.tmp","etc/clockspeed/atto"); /* if it fails, bummer */ | ^ clockspeed.c:127:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 127 | void main() | ^ clockspeed.c:127:1: note: change return type to 'int' 127 | void main() | ^~~~ | int clockspeed.c:136:3: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | close(0); | ^ clockspeed.c:138:7: warning: call to undeclared function 'chdir'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | if (chdir(auto_home) == -1) _exit(1); | ^ clockspeed.c:139:3: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | umask(033); | ^ clockspeed.c:141:16: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | if (open_read("etc/clockspeed/atto") == 0) { | ^ clockspeed.c:142:13: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | r = read(0,buf,sizeof buf); | ^ clockspeed.c:148:16: warning: passing arguments to 'fifo_make' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | if (fifo_make("etc/clockspeed/adjust",0600) == -1) if (errno != error_exist) _exit(1); | ^ clockspeed.c:149:16: warning: passing arguments to 'open_read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | if (open_read("etc/clockspeed/adjust") != 0) _exit(1); | ^ clockspeed.c:150:17: warning: passing arguments to 'open_write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | if (open_write("etc/clockspeed/adjust") == -1) _exit(1); | ^ clockspeed.c:162:15: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | r = read(0,buf,sizeof buf); | ^ 20 warnings generated. --- auto_home.c --- ./auto-str auto_home `head -1 conf-home` > auto_home.c --- auto_home.o --- ./compile auto_home.c --- hasmkffo.h --- rm -f trymkffo.o trymkffo --- fifo.o --- ./compile fifo.c fifo.c:7:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | int fifo_make(fn,mode) char *fn; int mode; { return mkfifo(fn,mode); } | ^ In file included from fifo.c:4: ./fifo.h:4:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern int fifo_make(); | ^ 2 warnings generated. --- clockspeed --- --- install --- --- instcheck --- --- clockspeed --- ./load clockspeed auto_home.o fifo.o open.a error.a str.a fs.a --- install --- ./load install hier.o auto_home.o strerr.a substdio.a open.a error.a str.a --- instcheck --- ./load instcheck hier.o auto_home.o strerr.a substdio.a error.a str.a cp -f /usr/ports/sysutils/clockspeed/files/leapsecs.dat /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/leapsecs.dat =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for clockspeed-0.62_7 ===> Generating temporary packing list install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/clockadd /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/bin/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/clockspeed /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/bin/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/clockview /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/bin/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/sntpclock /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/bin/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/taiclock /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/bin/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/taiclockd /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/bin/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/clockadd.1 /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/share/man/man1/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/clockspeed.1 /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/share/man/man1/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/clockview.1 /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/share/man/man1/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/sntpclock.1 /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/share/man/man1/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/taiclock.1 /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/share/man/man1/ install /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/taiclockd.1 /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/share/man/man1/ install -d -o root -g wheel -m 755 /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/etc/clockspeed install -m 0644 /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/leapsecs.dat /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/etc/clockspeed install -m 555 /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed.sh.sample /wrkdirs/usr/ports/sysutils/clockspeed/work/stage//usr/local/etc/rc.d/clockspeed.sh.sample install -m 0644 /wrkdirs/usr/ports/sysutils/clockspeed/work/clockspeed-0.62/INSTALL /wrkdirs/usr/ports/sysutils/clockspeed/work/stage/usr/local/share/doc/clockspeed install -m 0644 /wrkdirs/usr/ports/sysutils/clockspeed/work/pkg-message /wrkdirs/usr/ports/sysutils/clockspeed/work/stage/usr/local/share/doc/clockspeed/INSTALL-FreeBSD ====> 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-09-30T11:45:00+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=b559c289f7e9' '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 clockspeed-0.62_7 ===> Building clockspeed-0.62_7 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for clockspeed-0.62_7 build of sysutils/clockspeed | clockspeed-0.62_7 ended at Tue Sep 30 07:47:23 EDT 2025 build time: 00:02:34