>>> Building on exopi-5 under sysutils/safecat DIST = [sysutils/safecat:safecat-1.13.tar.gz] FULLPKGNAME = safecat-1.13p0 distfiles size=33953 >>> Running build in sysutils/safecat at 1764833177.04 ===> sysutils/safecat ===> Building from scratch safecat-1.13p0 ===> Verifying specs: c ===> found c.102.2 ===> Checking files for safecat-1.13p0 `/exopi-cvs/ports/distfiles/safecat-1.13.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for safecat-1.13p0 ===> Patching for safecat-1.13p0 ===> Applying OpenBSD patch patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |lld doesn't like linking with the same objects twice | |Index: Makefile |--- Makefile.orig |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 194. Hunk #2 succeeded at 224. done ===> Applying OpenBSD patch patch-make-load_sh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: make-load.sh |--- make-load.sh.orig |+++ make-load.sh -------------------------- Patching file make-load.sh using Plan A... Hunk #1 succeeded at 1. done ===> Applying OpenBSD patch patch-tempfile_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- tempfile.c.orig Tue Jul 1 10:03:01 2003 |+++ tempfile.c Tue Dec 21 10:10:12 2004 -------------------------- Patching file tempfile.c using Plan A... Hunk #1 succeeded at 26. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for safecat-1.13p0 ===> Configuring for safecat-1.13p0 ===> Building for safecat-1.13p0 cat warn-auto.sh maildir.sh | sed s}HOME}"`head -1 conf-root`"}g > maildir chmod 755 maildir ( cat warn-auto.sh; echo CC=\'`head -1 conf-cc`\'; echo LD=\'`head -1 conf-ld`\'; ) > auto-ccld.sh cat auto-ccld.sh make-load.sh > make-load chmod 755 make-load cat auto-ccld.sh find-systype.sh > find-systype chmod 755 find-systype ./find-systype > systype ( cat warn-auto.sh; ./make-load "`cat systype`" ) > load chmod 755 load cat auto-ccld.sh make-compile.sh > make-compile chmod 755 make-compile ( cat warn-auto.sh; ./make-compile "`cat systype`" ) > compile chmod 755 compile ( ( ./compile tryulong32.c && ./load tryulong32 && ./tryulong32 ) >/dev/null 2>&1 && cat uint32.h2 || cat uint32.h1 ) > uint32.h rm -f tryulong32.o tryulong32 ./compile safecat.c safecat.c:36:20: 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] 36 | void die_nomem() { strerr_die2x(111,"safecat: fatal: ","out of memory"); } | ^ ./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) | ^ safecat.c:52: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] 52 | strerr_die2x(100, "safecat: usage: ","safecat "); | ^ ./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) | ^ safecat.c:71:23: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | if (!stralloc_cats(&outpath,tempdir)) die_nomem(); | ^ safecat.c:72:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | if (!stralloc_append(&outpath, "/")) die_nomem(); | ^ safecat.c:73:22: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | if (!stralloc_cat(&outpath,&outfile)) die_nomem(); | ^ safecat.c:75:25: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | if (!stralloc_cats(&dstpath, destdir)) die_nomem(); | ^ safecat.c:76:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | if (!stralloc_append(&dstpath, "/")) die_nomem(); | ^ safecat.c:77:24: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | if (!stralloc_cat(&dstpath,&outfile)) die_nomem(); | ^ safecat.c:79:25: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | if (!stralloc_cats(&tmppath, tempdir)) die_nomem(); | ^ safecat.c:80:27: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | if (!stralloc_append(&tmppath, "/")) die_nomem(); | ^ safecat.c:81:24: warning: passing arguments to 'stralloc_cat' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | if (!stralloc_cat(&tmppath,&outfile)) die_nomem(); | ^ safecat.c:87: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] 87 | strerr_die2x(111, "safecat: fatal: ","could not stat temporary file"); | ^ ./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) | ^ safecat.c:91:19: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | stralloc_copys(&outfile,""); | ^ safecat.c:92:19: warning: passing arguments to 'stralloc_copys' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | stralloc_copys(&outpath,""); | ^ safecat.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_die2sys(111,"safecat: fatal: ","couldn't create output file: "); | ^ ./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) | ^ safecat.c:109: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] 109 | strerr_die2sys(111,"safecat: fatal: ","can't fsync/close output file: "); | ^ ./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) | ^ safecat.c:115: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] 115 | strerr_die2sys(111,"safecat: fatal: ","can't link output file: "); | ^ ./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) | ^ safecat.c:123: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] 123 | substdio_puts(subfdoutsmall,outfile.s); | ^ safecat.c:124: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] 124 | substdio_puts(subfdoutsmall,"\n"); | ^ safecat.c:125: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] 125 | substdio_flush(subfdoutsmall); | ^ safecat.c:126: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] 126 | exit(0); | ^ safecat.c:126:3: note: include the header or explicitly provide a declaration for 'exit' 21 warnings generated. ( cat warn-auto.sh; echo 'main="$1"; shift'; echo 'rm -f "$main"'; echo 'ar cr "$main" ${1+"$@"}'; case "`cat systype`" in sunos-5.*) ;; unix_sv*) ;; irix64-*) ;; irix-*) ;; dgux-*) ;; hp-ux-*) ;; sco*) ;; *) echo 'ranlib "$main"' ;; esac; echo 'cp "$main" "lib$main"'; ) > makelib chmod 755 makelib ./compile getln.c getln.c:15:13: warning: passing arguments to 'getln2' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | if (getln2(ss,sa,&cont,&clen,sep) == -1) return -1; | ^ getln.c:17:21: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (!stralloc_catb(sa,cont,clen)) return -1; | ^ getln.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int getln(ss,sa,match,sep) | ^ In file included from getln.c:4: ./getln.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 getln(); | ^ 4 warnings generated. ./compile getln2.c getln2.c:17:22: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (!stralloc_ready(sa,0)) return -1; | ^ getln2.c:21: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] 21 | n = substdio_feed(ss); | ^ getln2.c:25:17: warning: passing arguments to 'byte_chr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | i = byte_chr(x,n,sep); | ^ getln2.c:27:28: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | if (!stralloc_readyplus(sa,n)) return -1; | ^ getln2.c:29:31: warning: passing arguments to 'substdio_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | sa->len = i + substdio_get(ss,sa->s + i,n); | ^ getln2.c:6:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | int getln2(ss,sa,cont,clen,sep) | ^ In file included from getln2.c:4: ./getln.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 getln2(); | ^ 7 warnings generated. ./makelib getln.a getln.o getln2.o ./compile str_len.c ./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. ./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. ./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. ./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(); | ^ ./compile byte_zero.c 2 warnings generated. 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. ./makelib str.a str_len.o byte_chr.o byte_diff.o byte_copy.o byte_cr.o byte_zero.o ./compile stralloc_eady.c stralloc_eady.c:5:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready) | ^ ./gen_allocdefs.h:11:19: note: expanded from macro 'GEN_ALLOC_ready' 11 | if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ | ^ stralloc_eady.c:5:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gen_allocdefs.h:15:38: note: expanded from macro 'GEN_ALLOC_ready' 15 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } | ^ stralloc_eady.c:5:48: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_ready(stralloc,char,s,len,a,i,n,x,30,stralloc_ready) | ^ In file included from stralloc_eady.c:2: ./stralloc.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 stralloc_ready(); | ^ stralloc_eady.c:6:1: warning: passing arguments to 'alloc_re' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus) | ^ ./gen_allocdefs.h:24:19: note: expanded from macro 'GEN_ALLOC_readyplus' 24 | if (alloc_re(&x->field,i * sizeof(type),x->a * sizeof(type))) return 1; \ | ^ stralloc_eady.c:6:1: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./gen_allocdefs.h:28:38: note: expanded from macro 'GEN_ALLOC_readyplus' 28 | return !!(x->field = (type *) alloc((x->a = n) * sizeof(type))); } | ^ stralloc_eady.c:6:52: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6 | GEN_ALLOC_readyplus(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus) | ^ In file included from stralloc_eady.c:2: ./stralloc.h:9: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] 9 | extern int stralloc_readyplus(); | ^ 8 warnings generated. ./compile stralloc_pend.c stralloc_pend.c:5:1: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stralloc_append) | ^ ./gen_allocdefs.h:32:16: note: expanded from macro 'GEN_ALLOC_append' 32 | { if (!ta_rplus(x,1)) return 0; x->field[x->len++] = *i; return 1; } | ^ stralloc_pend.c:5:68: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5 | GEN_ALLOC_append(stralloc,char,s,len,a,i,n,x,30,stralloc_readyplus,stralloc_append) | ^ In file included from stralloc_pend.c:2: ./stralloc.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 stralloc_append(); /* beware: this takes a pointer to 1 char */ | ^ 3 warnings generated. ./compile stralloc_copy.c stralloc_copy.c:8:24: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return stralloc_copyb(sato,safrom->s,safrom->len); | ^ stralloc_copy.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_copy(sato,safrom) | ^ In file included from stralloc_copy.c:2: ./stralloc.h:10: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] 10 | extern int stralloc_copy(); | ^ 3 warnings generated. ./compile stralloc_opys.c stralloc_opys.c:9:24: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | return stralloc_copyb(sa,s,str_len(s)); | ^ stralloc_opys.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 stralloc_copys(sa,s) | ^ In file included from stralloc_opys.c:3: ./stralloc.h:12: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] 12 | extern int stralloc_copys(); | ^ 3 warnings generated. ./compile stralloc_opyb.c stralloc_opyb.c:9:22: warning: passing arguments to 'stralloc_ready' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | if (!stralloc_ready(sa,n + 1)) return 0; | ^ stralloc_opyb.c:10: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] 10 | byte_copy(sa->s,n,s); | ^ stralloc_opyb.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_copyb(sa,s,n) | ^ In file included from stralloc_opyb.c:1: ./stralloc.h:14: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] 14 | extern int stralloc_copyb(); | ^ 4 warnings generated. ./compile stralloc_cat.c stralloc_cat.c:8:23: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return stralloc_catb(sato,safrom->s,safrom->len); | ^ stralloc_cat.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_cat(sato,safrom) | ^ In file included from stralloc_cat.c:2: ./stralloc.h:11: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] 11 | extern int stralloc_cat(); | ^ 3 warnings generated. ./compile stralloc_cats.c stralloc_cats.c:9:23: warning: passing arguments to 'stralloc_catb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | return stralloc_catb(sa,s,str_len(s)); | ^ stralloc_cats.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 stralloc_cats(sa,s) | ^ In file included from stralloc_cats.c:3: ./stralloc.h:13: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] 13 | extern int stralloc_cats(); | ^ 3 warnings generated. ./compile stralloc_catb.c stralloc_catb.c:9:36: warning: passing arguments to 'stralloc_copyb' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9 | if (!sa->s) return stralloc_copyb(sa,s,n); | ^ stralloc_catb.c:10:26: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | if (!stralloc_readyplus(sa,n + 1)) return 0; | ^ stralloc_catb.c:11: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] 11 | byte_copy(sa->s + sa->len,n,s); | ^ stralloc_catb.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int stralloc_catb(sa,s,n) | ^ In file included from stralloc_catb.c:1: ./stralloc.h:15: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] 15 | extern int stralloc_catb(); | ^ 5 warnings generated. ./compile stralloc_arts.c stralloc_arts.c:11:30: 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] 11 | return (sa->len >= len) && byte_equal(s,len,sa->s); | ^ ./byte.h:11:38: note: expanded from macro 'byte_equal' 11 | #define byte_equal(s,n,t) (!byte_diff((s),(n),(t))) | ^ stralloc_arts.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 stralloc_starts(sa,s) | ^ In file included from stralloc_arts.c:3: ./stralloc.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 stralloc_starts(); | ^ 3 warnings generated. ./compile stralloc_num.c stralloc_num.c:17:26: warning: passing arguments to 'stralloc_readyplus' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | if (!stralloc_readyplus(sa,len)) return 0; | ^ stralloc_num.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 stralloc_catulong0(sa,u,n) | ^ In file included from stralloc_num.c:1: ./stralloc.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 stralloc_catulong0(); | ^ stralloc_num.c:31:25: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | if (!stralloc_append(sa,"-")) return 0; | ^ stralloc_num.c:25:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | int stralloc_catlong0(sa,l,n) | ^ In file included from stralloc_num.c:1: ./stralloc.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 stralloc_catlong0(); | ^ 6 warnings generated. ./makelib stralloc.a stralloc_eady.o stralloc_pend.o stralloc_copy.o stralloc_opys.o stralloc_opyb.o stralloc_cat.o stralloc_cats.o stralloc_catb.o stralloc_arts.o stralloc_num.o ( ( ./compile tryerrno.c && ./load tryerrno && ./tryerrno ) >/dev/null 2>&1 && cat error_no.h1 || cat error_no.h2 ) > error_no.h rm -f tryerrno.o tryerrno ./compile strerr_sys.c ./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. ./makelib strerr.a strerr_sys.o strerr_die.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. ./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. ./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: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: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: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(); | ^ 20 warnings generated. ./compile subfderr.c ./compile subfdout.c ./compile subfdouts.c ./compile subfdin.c subfdin.c:7: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] 7 | if (substdio_flush(subfdout) == -1) return -1; | ^ subfdin.c:8:14: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return read(fd,buf,len); | ^ subfdin.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 subfd_read(fd,buf,len) int fd; char *buf; int len; | ^ In file included from subfdin.c:3: ./subfd.h:12: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] 12 | extern int subfd_read(); | ^ 4 warnings generated. ./compile subfdins.c subfdins.c:7: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] 7 | if (substdio_flush(subfdoutsmall) == -1) return -1; | ^ subfdins.c:8:14: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8 | return read(fd,buf,len); | ^ subfdins.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 subfd_readsmall(fd,buf,len) int fd; char *buf; int len; | ^ In file included from subfdins.c:3: ./subfd.h:13: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] 13 | extern int subfd_readsmall(); | ^ 4 warnings generated. ./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. ./makelib substdio.a substdio.o substdi.o substdo.o subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o substdio_copy.o ./compile alloc.c alloc.c:20:13: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | x = malloc(n); | ^ alloc.c:14:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | /*@null@*//*@out@*/char *alloc(n) | ^ In file included from alloc.c:1: ./alloc.h:4:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 4 | extern /*@null@*//*@out@*/char *alloc(); | ^ alloc.c:31:7: warning: passing arguments to 'free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | free(x); | ^ alloc.c:25:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | void alloc_free(x) | ^ In file included from alloc.c:1: ./alloc.h:5: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] 5 | extern void alloc_free(); | ^ 6 warnings generated. ./compile alloc_re.c alloc_re.c:11:12: warning: passing arguments to 'alloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | y = alloc(n); | ^ alloc_re.c:13: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] 13 | byte_copy(y,m,*x); | ^ alloc_re.c:14:13: warning: passing arguments to 'alloc_free' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | alloc_free(*x); | ^ alloc_re.c:4:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | int alloc_re(x,m,n) | ^ In file included from alloc_re.c:1: ./alloc.h:6: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] 6 | extern int alloc_re(); | ^ 5 warnings generated. ./compile envread.c envread.c:4:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | extern /*@null@*/char *env_get(s) | ^ In file included from envread.c:1: ./env.h:10:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 10 | extern /*@null@*/char *env_get(); | ^ envread.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 | extern char *env_findeq(s) | ^ In file included from envread.c:1: ./env.h:13: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] 13 | extern char *env_findeq(); | ^ ./compile error.c 4 warnings generated. ./compile error_str.c ( ( ./compile tryulong64.c && ./load tryulong64 && ./tryulong64 ) >/dev/null 2>&1 && cat uint64.h2 || cat uint64.h1 ) > uint64.h rm -f tryulong64.o tryulong64 ./compile fmt_uint64.c fmt_uint64.c:4:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4 | unsigned int fmt_uint64(s,u) register char *s; register uint64 u; | ^ In file included from fmt_uint64.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_uint64(); | ^ 2 warnings generated. ./compile hostname.c hostname.c:11: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] 11 | strerr_die1sys(111, "safecat: fatal: can't determine hostname: "); | ^ ./strerr.h:65:11: note: expanded from macro 'strerr_die1sys' 65 | strerr_die((e),(x1),(char *) 0,(char *) 0,(char *) 0,(char *) 0,(char *) 0,&strerr_sys) | ^ 1 warning generated. ( ( ./compile trysgact.c && ./load trysgact ) >/dev/null 2>&1 && echo \#define HASSIGACTION 1 || exit 0 ) > hassgact.h rm -f trysgact.o trysgact ./compile sig.c sig.c:13: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] 13 | strerr_die2x(111,"safecat: fatal: ","Timer has expired; giving up"); | ^ ./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) | ^ 1 warning generated. ./compile stat_dir.c stat_dir.c:13: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] 13 | strerr_die2sys(111,"safecat: fatal: ","could not stat 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) | ^ stat_dir.c:16: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] 16 | strerr_die2x(111, "safecat: fatal: ","not a directory"); | ^ ./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) | ^ stat_dir.c:19: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] 19 | strerr_die2x(111, "safecat: fatal: ","directory not writable"); | ^ ./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) | ^ 3 warnings generated. ./compile str_diffn.c str_diffn.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_diffn(s,t,len) | ^ 1 warning generated. ./compile taia_fmtfrac.c taia_fmtfrac.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 taia_fmtfrac(s,t) | ^ In file included from taia_fmtfrac.c:1: ./taia.h:29: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] 29 | extern unsigned int taia_fmtfrac(); | ^ 2 warnings generated. ./compile taia_now.c taia_now.c:7:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7 | void taia_now(t) | ^ In file included from taia_now.c:3: ./taia.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 taia_now(); | ^ 2 warnings generated. ./compile taia_tai.c taia_tai.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 taia_tai(ta,t) | ^ In file included from taia_tai.c:1: ./taia.h:12: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] 12 | extern void taia_tai(); | ^ 2 warnings generated. ./compile tempfile.c tempfile.c:12:20: 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] 12 | void die_nomem() { strerr_die2x(111,"safecat: fatal: ","out of memory"); } | ^ ./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) | ^ tempfile.c:25:11: 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] 25 | taia_now(&now); | ^ tempfile.c:26:11: warning: passing arguments to 'taia_tai' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | taia_tai(&now,&sec); | ^ tempfile.c:29:20: warning: passing arguments to 'fmt_uint64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | secbuf[fmt_uint64(secbuf,(uint64) sec.x - 4611686018427387904ULL)] = '\0'; | ^ tempfile.c:30:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | if (!stralloc_cats(tmpf, secbuf)) die_nomem(); | ^ tempfile.c:33:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | if (!stralloc_cats(tmpf, ".M")) die_nomem(); | ^ tempfile.c:34:15: warning: passing arguments to 'taia_fmtfrac' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | taia_fmtfrac(atto,&now); | ^ tempfile.c:36:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | if (!stralloc_cats(tmpf, atto)) die_nomem(); | ^ tempfile.c:39:23: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | if (!stralloc_append(tmpf, "P")) die_nomem(); | ^ tempfile.c:40:20: warning: passing arguments to 'fmt_uint64' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | pidbuf[fmt_uint64(pidbuf, pid)] = '\0'; | ^ tempfile.c:41:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | if (!stralloc_cats(tmpf, pidbuf)) die_nomem(); | ^ tempfile.c:44:23: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | if (!stralloc_append(tmpf, ".")) die_nomem(); | ^ tempfile.c:46:21: warning: passing arguments to 'stralloc_cats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | if (!stralloc_cats(tmpf, host)) die_nomem(); | ^ tempfile.c:47:8: warning: passing arguments to 'stralloc_append' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if (!stralloc_0(tmpf)) die_nomem(); | ^ ./stralloc.h:19:39: note: expanded from macro 'stralloc_0' 19 | #define stralloc_0(sa) stralloc_append(sa,"") | ^ ./compile writefile.c 14 warnings generated. writefile.c:23: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] 23 | substdio_fdbuf(&ssin,read,0,inbuf,sizeof(inbuf)); | ^ writefile.c:24: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] 24 | substdio_fdbuf(&ssout,write,fd,outbuf,sizeof(outbuf)); | ^ writefile.c:27:19: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | dtline = env_get("DTLINE"); | ^ writefile.c:28:19: warning: passing arguments to 'env_get' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | rpline = env_get("RPLINE"); | ^ writefile.c:30:21: 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] 30 | if(substdio_puts(&ssout,rpline) == -1) goto fail; | ^ writefile.c:31:21: 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 | if(substdio_puts(&ssout,dtline) == -1) goto fail; | ^ writefile.c:35:20: 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] 35 | if (substdio_copy(&ssout,&ssin) < 0) goto fail; | ^ writefile.c:36: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] 36 | if (substdio_flush(&ssout) == -1) goto fail; | ^ writefile.c:43: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] 43 | strerr_die2x(111,"safecat: fatal: ","unable to copy standard input"); | ^ ./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) | ^ 9 warnings generated. ./load safecat stralloc.a strerr.a substdio.a alloc.o alloc_re.o byte_copy.o byte_cr.o envread.o error.o error_str.o fmt_uint64.o hostname.o sig.o stat_dir.o str_diffn.o str_len.o substdi.o substdio.o substdio_copy.o taia_fmtfrac.o taia_now.o taia_tai.o tempfile.o writefile.o -lgetln -lstr >>> Running package in sysutils/safecat at 1764833186.20 ===> sysutils/safecat ===> Faking installation for safecat-1.13p0 /exopi-obj/pobj/safecat-1.13/bin/install -c -s -m 755 /exopi-obj/pobj/safecat-1.13/safecat-1.13/safecat /exopi-obj/pobj/safecat-1.13/fake-amd64/usr/local/bin/safecat /exopi-obj/pobj/safecat-1.13/bin/install -c -m 755 /exopi-obj/pobj/safecat-1.13/safecat-1.13/maildir /exopi-obj/pobj/safecat-1.13/fake-amd64/usr/local/bin/maildir /exopi-obj/pobj/safecat-1.13/bin/install -c -m 644 /exopi-obj/pobj/safecat-1.13/safecat-1.13/safecat.1 /exopi-obj/pobj/safecat-1.13/fake-amd64/usr/local/man/man1/ /exopi-obj/pobj/safecat-1.13/bin/install -c -m 644 /exopi-obj/pobj/safecat-1.13/safecat-1.13/maildir.1 /exopi-obj/pobj/safecat-1.13/fake-amd64/usr/local/man/man1/ ===> Building package for safecat-1.13p0 Create /exopi-cvs/ports/packages/amd64/all/safecat-1.13p0.tgz Creating package safecat-1.13p0 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|***** | 8% checksumming|********** | 17% checksumming|*************** | 25% checksumming|******************** | 33% checksumming|************************* | 42% checksumming|******************************* | 50% checksumming|************************************ | 58% checksumming|***************************************** | 67% checksumming|********************************************** | 75% checksumming|*************************************************** | 83% checksumming|******************************************************** | 92% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|** | 3% archiving|******************************************* | 67% archiving|******************************************* | 68% archiving|********************************************* | 70% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/safecat-1.13p0.tgz >>> Running clean in sysutils/safecat at 1764833190.41 ===> sysutils/safecat ===> Cleaning for safecat-1.13p0 >>> Ended at 1764833191.33 max_stuck=0.00/build=9.10/package=4.16/clean=1.07