>>> Building on exopi-3 under archivers/arc DIST = [archivers/arc:arc-5.21p.tar.gz] FULLPKGNAME = arc-5.21pp1 distfiles size=84791 >>> Running build in archivers/arc at 1764613852.19 ===> archivers/arc ===> Building from scratch arc-5.21pp1 ===> Verifying specs: c ===> found c.102.2 ===> Checking files for arc-5.21pp1 `/exopi-cvs/ports/distfiles/arc-5.21p.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for arc-5.21pp1 ===> Patching for arc-5.21pp1 ===> Applying OpenBSD patch patch-arc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- arc.c.orig Sat Aug 7 15:06:42 2010 |+++ arc.c Mon May 30 11:55:37 2011 -------------------------- Patching file arc.c using Plan A... Hunk #1 succeeded at 129. Hunk #2 succeeded at 229. Hunk #3 succeeded at 299. done ===> Applying OpenBSD patch patch-arc_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- arc.h.orig Sat Aug 7 10:06:42 2010 |+++ arc.h Thu May 19 23:35:46 2011 -------------------------- Patching file arc.h using Plan A... Hunk #1 succeeded at 106. done ===> Applying OpenBSD patch patch-arcadd_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- arcadd.c.orig Sat Aug 7 10:06:42 2010 |+++ arcadd.c Thu May 19 23:35:46 2011 -------------------------- Patching file arcadd.c using Plan A... Hunk #1 succeeded at 119. Hunk #2 succeeded at 133. Hunk #3 succeeded at 227. Hunk #4 succeeded at 259. Hunk #5 succeeded at 267. done ===> Applying OpenBSD patch patch-arccvt_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- arccvt.c.orig Tue Oct 11 23:46:34 2005 |+++ arccvt.c Tue Oct 11 23:46:44 2005 -------------------------- Patching file arccvt.c using Plan A... Hunk #1 succeeded at 120. done ===> Applying OpenBSD patch patch-arcdata_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- arcdata.c.orig Sat Aug 7 10:06:42 2010 |+++ arcdata.c Thu May 19 23:35:46 2011 -------------------------- Patching file arcdata.c using Plan A... Hunk #1 succeeded at 35. done ===> Applying OpenBSD patch patch-arcdos_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- arcdos.c.orig Sat Aug 7 10:06:42 2010 |+++ arcdos.c Thu May 19 23:35:46 2011 -------------------------- Patching file arcdos.c using Plan A... Hunk #1 succeeded at 175. done ===> Applying OpenBSD patch patch-arcext_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- arcext.c.orig Sat Aug 7 10:06:42 2010 |+++ arcext.c Thu May 19 23:35:46 2011 -------------------------- Patching file arcext.c using Plan A... Hunk #1 succeeded at 143. Hunk #2 succeeded at 191. done ===> Applying OpenBSD patch patch-arcio_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- arcio.c.orig Sat Aug 7 10:06:42 2010 |+++ arcio.c Thu May 19 23:35:46 2011 -------------------------- Patching file arcio.c using Plan A... Hunk #1 succeeded at 46. Hunk #2 succeeded at 67. done ===> Applying OpenBSD patch patch-arclzw_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix "-fno-common" build, from FreeBSD | |Index: arclzw.c |--- arclzw.c.orig |+++ arclzw.c -------------------------- Patching file arclzw.c using Plan A... Hunk #1 succeeded at 58. Hunk #2 succeeded at 561. done ===> Applying OpenBSD patch patch-arcrun_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- arcrun.c.orig Wed Oct 12 17:22:18 2005 |+++ arcrun.c Wed Jun 21 12:17:53 2006 -------------------------- Patching file arcrun.c using Plan A... Hunk #1 succeeded at 98. Hunk #2 succeeded at 112. Hunk #3 succeeded at 122. Hunk #4 succeeded at 146. done ===> Applying OpenBSD patch patch-arcunp_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix "-fno-common" build, from FreeBSD | |Index: arcunp.c |--- arcunp.c.orig |+++ arcunp.c -------------------------- Patching file arcunp.c using Plan A... Hunk #1 succeeded at 39. Hunk #2 succeeded at 122. Hunk #3 succeeded at 134. done ===> Applying OpenBSD patch patch-marc_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- marc.c.orig Mon May 30 04:53:15 2011 |+++ marc.c Mon May 30 04:53:49 2011 -------------------------- Patching file marc.c using Plan A... Hunk #1 succeeded at 63. Hunk #2 succeeded at 124. 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 arc-5.21pp1 ===> Configuring for arc-5.21pp1 ===> Building for arc-5.21pp1 cc -O2 -pipe -DSYSV=1 -c arc.c arc.c:118:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 118 | char *envfind(); /* environment searcher */ | ^ ./arc.h:28:17: note: expanded from macro 'envfind' 28 | #define envfind getenv | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ arc.c:261:7: warning: passing arguments to 'upper' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | upper(arg[1]); /* convert to uppercase */ | ^ arc.c:275:12: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | makefnam(arg[2],".arc",arcname); | ^ arc.c:279:11: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | makefnam(arg[2],".arc",arcname); | ^ arc.c:285:10: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | makefnam(".BAK", arcname, bakname); | ^ arc.c:296:11: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | arcdie("Cannot mix %c and %c", opt, *a); | ^ arc.c:340:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | arcdie("%c is an unknown command", *a); | ^ arc.c:344:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | arcdie("I have nothing to do!"); | ^ arc.c:356:13: warning: passing arguments to 'expandlst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | expandlst(n); | ^ arc.c:379:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | arcdie("Not enough memory for input buffer."); | ^ arc.c:381:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | arcdie("Not enough memory for output buffer."); | ^ arc.c:383:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | arcdie("Not enough memory for packing buffer."); | ^ arc.c:394:9: warning: passing arguments to 'addarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | addarc(lnum, lst, (opt == 'M'), (opt == 'U'), (opt == 'F')); | ^ arc.c:398:9: warning: passing arguments to 'delarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | delarc(lnum, lst); | ^ arc.c:404:9: warning: passing arguments to 'extarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | extarc(lnum, lst, (opt == 'P')); | ^ arc.c:410:9: warning: passing arguments to 'lstarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | lstarc(lnum, lst); | ^ arc.c:418:9: warning: passing arguments to 'cvtarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | cvtarc(lnum, lst); | ^ arc.c:422:9: warning: passing arguments to 'runarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | runarc(lnum, lst); | ^ arc.c:426:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | arcdie("I don't know how to do %c yet!", opt); | ^ arc.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | main(num, arg) /* system entry point */ | ^ arc.c:438:20: warning: a function 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] 438 | FILE *lf, *fopen(); /* list file, opener */ | ^ arc.c:444:11: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | makefnam(p, ".CMD", buf); | ^ arc.c:446:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | arcdie("Cannot read list of files in %s", buf); | ^ arc.c:456:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 456 | arcdie("too many file references"); | ^ arc.c:435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | expandlst(n) /* expand an indirect reference */ | ^ arc.c:94: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] 94 | static VOID expandlst(); | ^ 26 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcadd.c arcadd.c:99:15: warning: passing arguments to 'dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | for (d = dir(arg[n]); d; d = dir(NULL)) { | ^ arcadd.c:99:35: warning: passing arguments to 'dir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | for (d = dir(arg[n]); d; d = dir(NULL)) { | ^ arcadd.c:127:20: warning: passing arguments to 'addbunch' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | nfiles = addbunch(nfiles, path, name, move, update, fresh); | ^ arcadd.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | addarc(num, arg, move, update, fresh) /* add files to archive */ | ^ arcadd.c:170:15: warning: passing arguments to 'izadir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | ||izadir(path[n]) /* or a directory */ | ^ arcadd.c:188:14: warning: passing arguments to 'izadir' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | ||izadir(path[n]) | ^ arcadd.c:201:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | arcdie("Duplicate filenames:\n %s\n %s", path[n], path[n + 1]); | ^ arcadd.c:203:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | openarc(1); /* open archive for changes */ | ^ arcadd.c:206:14: warning: passing arguments to 'addfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | if (addfile(path[n], name[n], update, fresh) < 0) { | ^ arcadd.c:219:16: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | while (readhdr(&hdr, arc)) { /* while more entries to copy */ | ^ arcadd.c:220:11: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | writehdr(&hdr, new); | ^ arcadd.c:221:11: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | filecopy(arc, new, hdr.size); | ^ arcadd.c:224:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | writehdr(&hdr, new); /* write out our end marker */ | ^ arcadd.c:225:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | closearc(1); /* close archive after changes */ | ^ arcadd.c:230:14: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | if (unlink(path[n]) && arcwarn) { | ^ arcadd.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | addbunch(nfiles, path, name, move, update, fresh) /* add a bunch of files */ | ^ arcadd.c:248:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 248 | FILE *f, *fopen(); /* file to add, opener */ | ^ arcadd.c:249:26: warning: a function 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] 249 | long starts, ftell(); /* file locations */ | ^ /usr/include/stdio.h:150:7: note: conflicting prototype is here 150 | long ftell(FILE *); | ^ arcadd.c:302:10: warning: passing arguments to 'getstamp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | getstamp(f, &nhdr.date, &nhdr.time); | ^ arcadd.c:322:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | while (readhdr(&ohdr, arc)) { /* while more files to check */ | ^ arcadd.c:338:12: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | writehdr(&ohdr, new); /* entry preceeds update; | ^ arcadd.c:340:12: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | filecopy(arc, new, ohdr.size); | ^ arcadd.c:373:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | writehdr(&nhdr, new); /* write out header skeleton */ | ^ arcadd.c:377:6: warning: passing arguments to 'pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | pack(f, new, &nhdr); /* pack file into archive */ | ^ arcadd.c:379:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | writehdr(&nhdr, new); /* write out real header */ | ^ arcadd.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | addfile(path, name, update, fresh) /* add named file to archive */ | ^ arcadd.c:29:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | static int addfile(); | ^ 27 warnings generated. cc -O2 -pipe -DSYSV=1 -c arccode.c arccode.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | codebuf(buf, len) /* encrypt a buffer */ | ^ 1 warning generated. cc -O2 -pipe -DSYSV=1 -c arccvt.c arccvt.c:42:18: warning: a function 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] 42 | FILE *fopen();/* file opener */ | ^ arccvt.c:47:11: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | makefnam("$ARCTEMP.CVT", arcname, tempname); | ^ arccvt.c:52:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | openarc(1); /* open archive for changes */ | ^ arccvt.c:56:9: warning: passing arguments to 'rempath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | rempath(num, arg); /* strip off paths */ | ^ arccvt.c:59:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | while (readhdr(&hdr, arc)) { /* while more files to check */ | ^ arccvt.c:63:14: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | if (match(hdr.name, arg[n])) { | ^ arccvt.c:71:12: warning: passing arguments to 'cvtfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | cvtfile(&hdr); /* then do it */ | ^ arccvt.c:73:13: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | writehdr(&hdr, new); | ^ arccvt.c:74:13: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | filecopy(arc, new, hdr.size); | ^ arccvt.c:78:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | while (readhdr(&hdr, arc)) /* else convert all files */ | ^ arccvt.c:79:11: warning: passing arguments to 'cvtfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | cvtfile(&hdr); | ^ arccvt.c:82:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | writehdr(&hdr, new); /* write out our end marker */ | ^ arccvt.c:83:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | closearc(1); /* close archive after changes */ | ^ arccvt.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | cvtarc(num, arg) /* convert archive */ | ^ arccvt.c:99:26: warning: a function 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] 99 | long starts, ftell(); /* where the file goes */ | ^ /usr/include/stdio.h:150:7: note: conflicting prototype is here 150 | long ftell(FILE *); | ^ arccvt.c:100: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 previous declaration [-Wdeprecated-non-prototype] 100 | FILE *tmp, *fopen(); /* temporary file */ | ^ arccvt.c:103:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | arcdie("Unable to create temporary file %s", tempname); | ^ arccvt.c:109:8: warning: passing arguments to 'unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | unpack(arc, tmp, hdr); /* unpack the entry */ | ^ arccvt.c:114:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | writehdr(hdr, new); /* write out header skeleton */ | ^ arccvt.c:118:6: warning: passing arguments to 'pack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | pack(tmp, new, hdr); /* pack file into archive */ | ^ arccvt.c:120:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | writehdr(hdr, new); /* write out real header */ | ^ arccvt.c:123:12: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | if (unlink(tempname) && arcwarn) { | ^ arccvt.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | cvtfile(hdr) /* convert a file */ | ^ arccvt.c:28: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] 28 | static VOID cvtfile(); | ^ 24 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcdata.c cc -O2 -pipe -DSYSV=1 -c arcdel.c arcdel.c:36:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | arcdie("You must tell me which files to delete!"); | ^ arcdel.c:40:9: warning: passing arguments to 'rempath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | rempath(num, arg); /* strip off paths */ | ^ arcdel.c:42:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | openarc(1); /* open archive for changes */ | ^ arcdel.c:44:16: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | while (readhdr(&hdr, arc)) { /* while more entries in archive */ | ^ arcdel.c:47:13: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | if (match(hdr.name, arg[n])) { | ^ arcdel.c:59:12: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | writehdr(&hdr, new); /* write out header and file */ | ^ arcdel.c:60:12: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | filecopy(arc, new, hdr.size); | ^ arcdel.c:65:10: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | writehdr(&hdr, new); /* write out archive end marker */ | ^ arcdel.c:66:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | closearc(1); /* close archive after changes */ | ^ arcdel.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | delarc(num, arg) /* remove files from archive */ | ^ 10 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcdos.c arcdos.c:87: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 previous declaration [-Wdeprecated-non-prototype] 87 | struct tm *localtime(), *t; | ^ /usr/include/time.h:118:12: note: conflicting prototype is here 118 | struct tm *localtime(const time_t *); | ^ arcdos.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | getstamp(f, date, time) /* get a file's date/time stamp */ | ^ arcdos.c:177:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 177 | int utimes(); | ^ /usr/include/sys/time.h:466:5: note: conflicting prototype is here 466 | int utimes(const char *, const struct timeval *); | ^ arcdos.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | setstamp(f, date, time) /* set a file's date/time stamp */ | ^ arcdos.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | izadir(filename) /* Is filename a directory? */ | ^ 5 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcext.c arcext.c:74:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | openarc(0); /* open archive for reading */ | ^ arcext.c:77:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | while (readhdr(&hdr, arc)) { /* while more files to check */ | ^ arcext.c:81:14: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | if (match(hdr.name, name[n])) { | ^ arcext.c:89:12: warning: passing arguments to 'extfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | extfile(&hdr, arg[n], prt); | ^ arcext.c:94:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | while (readhdr(&hdr, arc)) /* else extract all files */ | ^ arcext.c:95:11: warning: passing arguments to 'extfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | extfile(&hdr, "", prt); | ^ arcext.c:97:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | closearc(0); /* close archive after reading */ | ^ arcext.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | extarc(num, arg, prt) /* extract files from archive */ | ^ arcext.c:116:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 116 | FILE *f, *fopen(); /* extracted file, opener */ | ^ arcext.c:122:9: warning: passing arguments to 'unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | unpack(arc, stdout, hdr); /* unpack file from archive */ | ^ arcext.c:204:8: warning: passing arguments to 'unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | unpack(arc, f, hdr); /* unpack file from archive */ | ^ arcext.c:207:10: warning: passing arguments to 'setstamp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | setstamp(fix, hdr->date, hdr->time); /* use filename for stamp */ | ^ arcext.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | extfile(hdr, path, prt) /* extract a file */ | ^ arcext.c:31:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | static VOID extfile(); | ^ 14 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcio.c arcio.c:68:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | arcdie("%s is not an archive", arcname); | ^ arcio.c:71:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | arcdie("%s is corrupted -- changes disallowed", arcname); | ^ arcio.c:81:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | arcdie("Invalid header in archive %s", arcname); | ^ arcio.c:86:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | arcdie("%s was truncated", arcname); | ^ arcio.c:99:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | arcdie("%s was truncated", arcname); | ^ arcio.c:109:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | arcdie("%s was truncated", arcname); | ^ arcio.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | readhdr(hdr, f) /* read a header from an archive */ | ^ arcio.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | put_int(number, f) /* write a 2 byte integer */ | ^ arcio.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | put_long(number, f) /* write a 4 byte integer */ | ^ arcio.c:167:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | arcdie("%s out of space", arcname); | ^ arcio.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | writehdr(hdr, f) /* write a header to an archive */ | ^ arcio.c:261:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | arcdie("Write fail (no space?)"); | ^ arcio.c:266:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | arcdie("Unexpected EOF copying archive"); | ^ arcio.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | filecopy(f, t, size) /* bulk file copier */ | ^ 14 warnings generated. cc -O2 -pipe -DSYSV=1 -c arclst.c arclst.c:42:9: warning: passing arguments to 'rempath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | rempath(num, arg); /* strip off paths */ | ^ arclst.c:61:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | openarc(0); /* open archive for reading */ | ^ arclst.c:64:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | while (readhdr(&hdr, arc)) { /* process all archive files */ | ^ arclst.c:68:14: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | if (match(hdr.name, arg[n])) { | ^ arclst.c:77:13: warning: passing arguments to 'lstfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | lstfile(&hdr); /* then tell about it */ | ^ arclst.c:85:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | while (readhdr(&hdr, arc)) { /* else report on all files */ | ^ arclst.c:87:12: warning: passing arguments to 'lstfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | lstfile(&hdr); | ^ arclst.c:94:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | closearc(0); /* close archive after reading */ | ^ arclst.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | lstarc(num, arg) /* list files in archive */ | ^ arclst.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | lstfile(hdr) /* tell about a file */ | ^ arclst.c:25: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] 25 | static VOID lstfile(); | ^ 11 warnings generated. cc -O2 -pipe -DSYSV=1 -c arclzw.c arclzw.c:177:10: warning: passing arguments to 'putcode' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | putcode(CLEAR, t); | ^ arclzw.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | cl_block(t) /* table clear for block compress */ | ^ arclzw.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | putcode(code, t) /* output a code */ | ^ arclzw.c:49:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static VOID putcode(); | ^ arclzw.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | getcode(f) /* get a code */ | ^ arclzw.c:359:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | arcdie("Not enough memory for crunch table."); | ^ arclzw.c:361:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | arcdie("Not enough memory for crunch code table."); | ^ arclzw.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | init_cm(buf) /* initialize for compression */ | ^ arclzw.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | lzw_buf(buf, len, t) /* compress a character */ | ^ arclzw.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | pred_cm(t) /* report compressed size */ | ^ arclzw.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | flsh_cm(t) /* flush compressed file */ | ^ arclzw.c:522:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | arcdie("File packed with %d bits, I can only handle %d", | ^ arclzw.c:498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | decomp(squash, f, t) /* decompress a file */ | ^ arclzw.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | oldh(pred, foll) /* old hash function */ | ^ arclzw.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | newh(pred, foll) /* new hash function */ | ^ arclzw.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | eolist(index) /* find last duplicate */ | ^ arclzw.c:689:15: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | local = (*h) (pred, foll); /* get initial hash value */ | ^ arclzw.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | hash(pred, foll) /* find spot in the string table */ | ^ arclzw.c:738:10: warning: passing arguments to 'upd_tab' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | upd_tab(NO_PRED, i); | ^ arclzw.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | upd_tab(pred, foll) /* add an entry to the table */ | ^ arclzw.c:139:17: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 139 | VOID upd_tab(); | ^ arclzw.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | init_ucr(new, f) /* get set for uncrunching */ | ^ arclzw.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | getb_ucr(f) /* get next uncrunched byte */ | ^ arclzw.c:836:4: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | PUSH(finchar); | ^ arclzw.c:777:9: note: expanded from macro 'PUSH' 777 | arcdie("Stack overflow\n"); \ | ^ arclzw.c:839:4: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | PUSH(ep->follower); /* decode string backwards */ | ^ arclzw.c:777:9: note: expanded from macro 'PUSH' 777 | arcdie("Stack overflow\n"); \ | ^ arclzw.c:844:3: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | PUSH(finchar = ep->follower); /* save first character also */ | ^ arclzw.c:777:9: note: expanded from macro 'PUSH' 777 | arcdie("Stack overflow\n"); \ | ^ arclzw.c:858:14: warning: implicit conversion from 'int' to 'u_char' (aka 'unsigned char') changes value from 65535 to 255 [-Wconstant-conversion] 858 | *outbeg++ = POP(); | ~ ^~~~~ arclzw.c:781:47: note: expanded from macro 'POP' 781 | #define POP() ((sp > 0) ? (int) stack[--sp] : EMPTY) | ^~~~~ arclzw.c:56:18: note: expanded from macro 'EMPTY' 56 | #define EMPTY 0xFFFF | ^~~~~~ 27 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcmatch.c arcmatch.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | match(n, t) /* test name against template */ | ^ arcmatch.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | rempath(nargs, arg) /* remove paths from filenames */ | ^ 2 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcpack.c arcpack.c:30:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 30 | int crcbuf(); | ^ ./proto.h:12:6: note: conflicting prototype is here 12 | int crcbuf PROTO ((int, u_int, u_char *)); | ^ arcpack.c:64: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 previous declaration [-Wdeprecated-non-prototype] 64 | long tloc, ftell(); /* start of output */ | ^ /usr/include/stdio.h:150:7: note: conflicting prototype is here 150 | long ftell(FILE *); | ^ arcpack.c:86:11: warning: passing arguments to 'init_cm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | init_cm(pinbuf); | ^ arcpack.c:89:23: warning: passing arguments to 'ncr_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | pakbytes = ncr_buf(inbytes); | ^ arcpack.c:99:20: warning: passing arguments to 'pred_cm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | lzwlen = pred_cm(t); | ^ arcpack.c:150:23: warning: passing arguments to 'ncr_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | pakbytes = ncr_buf(inbytes); | ^ arcpack.c:166:23: warning: passing arguments to 'ncr_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | pakbytes = ncr_buf(inbytes); | ^ arcpack.c:167:22: warning: passing arguments to 'huf_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | huflen += huf_buf(pakbuf, pakbytes, inbytes, t); | ^ arcpack.c:170:21: warning: passing arguments to 'huf_buf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | huflen += huf_buf(pakbuf, pakbytes, 0, t); | ^ arcpack.c:176:10: warning: passing arguments to 'flsh_cm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | flsh_cm(t); | ^ arcpack.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | pack(f, t, hdr) /* pack file into an archive */ | ^ arcpack.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | ncr_buf(inbytes) | ^ arcpack.c:31:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | u_int ncr_buf(); | ^ arcpack.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | getbuf(f) | ^ arcpack.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | putb_pak(buf, len, f) | ^ arcpack.c:296:11: warning: passing arguments to 'codebuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | codebuf(buf, len); | ^ arcpack.c:299:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | arcdie("Write failed"); | ^ 17 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcrun.c arcrun.c:42:18: warning: a function 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] 42 | FILE *fopen();/* file opener */ | ^ arcrun.c:47:9: warning: passing arguments to 'rempath' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | rempath(num, arg); /* strip off paths */ | ^ arcrun.c:49:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | openarc(0); /* open archive for reading */ | ^ arcrun.c:52:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | while (readhdr(&hdr, arc)) { /* while more files to check */ | ^ arcrun.c:53:32: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (match(hdr.name, makefnam(arg[0], ".*", buf))) | ^ arcrun.c:53:13: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | if (match(hdr.name, makefnam(arg[0], ".*", buf))) | ^ arcrun.c:54:12: warning: passing arguments to 'runfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | runfile(&hdr, num, arg); | ^ arcrun.c:59:17: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | while (readhdr(&hdr, arc)) /* else run all files */ | ^ arcrun.c:60:11: warning: passing arguments to 'runfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | runfile(&hdr, 1, dummy); | ^ arcrun.c:62:10: warning: passing arguments to 'closearc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | closearc(0); /* close archive after changes */ | ^ arcrun.c:35:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | runarc(num, arg) /* run file from archive */ | ^ arcrun.c:71: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 previous declaration [-Wdeprecated-non-prototype] 71 | FILE *tmp, *fopen(); /* temporary file */ | ^ arcrun.c:127:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | arcdie("Temporary file %s already exists", buf); | ^ arcrun.c:128:21: warning: passing arguments to 'tmpopen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | if (!(tmp = tmpopen(buf))) | ^ arcrun.c:129:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | arcdie("Unable to create temporary file %s", buf); | ^ arcrun.c:134:8: warning: passing arguments to 'unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | unpack(arc, tmp, hdr); /* unpack the entry */ | ^ arcrun.c:147:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | arcdie("Execution failed for %s", buf); | ^ arcrun.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | runfile(hdr, num, arg) /* run a file */ | ^ arcrun.c:31:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 31 | static VOID runfile(); | ^ 19 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcsq.c arcsq.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | hufb_tab(buf, len) /* add a byte to the tables */ | ^ arcsq.c:131:8: warning: passing arguments to 'scale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | scale(ceiling); | ^ arcsq.c:151:7: warning: passing arguments to 'heap' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | heap(btlist, listlen); | ^ arcsq.c:155:11: warning: passing arguments to 'bld_tree' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | bld_tree(btlist, listlen); | ^ arcsq.c:165:19: warning: passing arguments to 'buildenc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | } while (buildenc(0, dctreehd) == ERROR); | ^ arcsq.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | scale(ceil) | ^ arcsq.c:70: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] 70 | static VOID scale(), heap(), adjust(), bld_tree(), init_enc(); | ^ arcsq.c:248:9: warning: passing arguments to 'adjust' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | adjust(list, i, length - 1); | ^ arcsq.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | heap(list, length) | ^ arcsq.c:70:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static VOID scale(), heap(), adjust(), bld_tree(), init_enc(); | ^ arcsq.c:263:29: warning: passing arguments to 'cmptrees' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | if (k < bottom && cmptrees(list[k], list[k + 1])) | ^ arcsq.c:269:15: warning: passing arguments to 'cmptrees' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | if (cmptrees(temp, list[k])) { | ^ arcsq.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | adjust(list, top, bottom) | ^ arcsq.c:70:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static VOID scale(), heap(), adjust(), bld_tree(), init_enc(); | ^ arcsq.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | cmptrees(a, b) | ^ arcsq.c:71: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] 71 | static int cmptrees(), buildenc(); | ^ arcsq.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | bld_tree(list, len) | ^ arcsq.c:70:40: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 70 | static VOID scale(), heap(), adjust(), bld_tree(), init_enc(); | ^ arcsq.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | buildenc(level, root) | ^ arcsq.c:71: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] 71 | static int cmptrees(), buildenc(); | ^ arcsq.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | huf_buf(pbuf, plen, len, ob) | ^ 21 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcsvc.c arcsvc.c:37:18: warning: a function 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] 37 | FILE *fopen();/* file opener */ | ^ arcsvc.c:45:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | arcdie("Archive not found: %s", arcname); | ^ arcsvc.c:61:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | arcdie("Cannot create archive copy: %s", newname); | ^ arcsvc.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | openarc(chg) /* open archive */ | ^ arcsvc.c:75:12: warning: passing arguments to 'setstamp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | setstamp(arcname, olddate, oldtime); | ^ arcsvc.c:97:11: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | unlink(bakname); /* erase any old copies */ | ^ arcsvc.c:99:12: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | arcdie("Cannot rename %s to %s", arcname, bakname); | ^ arcsvc.c:101:21: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | } else if (unlink(arcname)) | ^ arcsvc.c:102:11: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | arcdie("Cannot delete old archive: %s", arcname); | ^ arcsvc.c:105:10: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | arcdie("Cannot move %s to %s", newname, arcname); | ^ arcsvc.c:107:11: warning: passing arguments to 'setstamp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | setstamp(arcname, arcdate, arctime); | ^ arcsvc.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | closearc(chg) /* close an archive */ | ^ arcsvc.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | crcbuf(crc, len, buf) | ^ 13 warnings generated. cc -O2 -pipe -DSYSV=1 -c arctst.c arctst.c:28:27: warning: a function 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] 28 | long arcsize, ftell(); /* archive size */ | ^ /usr/include/stdio.h:150:7: note: conflicting prototype is here 150 | long ftell(FILE *); | ^ arctst.c:30:9: warning: passing arguments to 'openarc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | openarc(0); /* open archive for reading */ | ^ arctst.c:35:16: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | while (readhdr(&hdr, arc)) { | ^ arctst.c:43:14: warning: passing arguments to 'unpack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | if (unpack(arc, NULL, &hdr)) | ^ 4 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcunp.c arcunp.c:85:11: warning: passing arguments to 'init_usq' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | init_usq(f); | ^ arcunp.c:93:11: warning: passing arguments to 'init_ucr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | init_ucr(0, f); | ^ arcunp.c:101:11: warning: passing arguments to 'init_ucr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | init_ucr(0, f); | ^ arcunp.c:109:11: warning: passing arguments to 'init_ucr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | init_ucr(1, f); | ^ arcunp.c:117:9: warning: passing arguments to 'decomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | decomp(0, f, t); | ^ arcunp.c:121:9: warning: passing arguments to 'decomp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | decomp(1, f, t); | ^ arcunp.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | unpack(f, t, hdr) /* unpack an archive entry */ | ^ arcunp.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | putb_unp(buf, len, t) | ^ arcunp.c:187:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | arcdie("Write fail"); | ^ arcunp.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | putb_ncr(buf, len, t) /* put NCR coded bytes */ | ^ arcunp.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | getb_unp(f) | ^ arcunp.c:250:11: warning: passing arguments to 'codebuf' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | codebuf(pinbuf, len); | ^ 12 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcusq.c arcusq.c:70:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | arcdie("File has an invalid decode tree"); | ^ arcusq.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | init_usq(f) /* initialize Huffman unsqueezing */ | ^ arcusq.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | getb_usq(f) /* get byte from squeezed file */ | ^ 3 warnings generated. cc -O2 -pipe -DSYSV=1 -c arcmisc.c arcmisc.c:69:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 69 | int rename(), unlink(); | ^ /usr/include/stdio.h:174:6: note: conflicting prototype is here 174 | int rename(const char *, const char *); | ^ arcmisc.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | tmpopen(path) | ^ arcmisc.c:111:18: warning: a function 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] 111 | FILE *fopen(), *old, *new; | ^ arcmisc.c:131:11: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | filecopy(old, new, oldstat.st_size); | ^ arcmisc.c:132:16: warning: passing arguments to 'unlink' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | return(unlink(oldnam)); | ^ arcmisc.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | move(oldnam, newnam) | ^ arcmisc.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | _makefn(source, dest) | ^ arcmisc.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | makefnam(rawfn, template, result) | ^ arcmisc.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | upper(string) | ^ arcmisc.c:226:23: warning: parameter 'arg3' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 226 | arcdie(s, arg1, arg2, arg3) | ^ 227 | char *s; 228 | { arcmisc.c:226:17: warning: parameter 'arg2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 226 | arcdie(s, arg1, arg2, arg3) | ^ 227 | char *s; 228 | { arcmisc.c:226:11: warning: parameter 'arg1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 226 | arcdie(s, arg1, arg2, arg3) | ^ 227 | char *s; 228 | { arcmisc.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | arcdie(s, arg1, arg2, arg3) | ^ arcmisc.c:257:8: warning: passing arguments to 'getcwd' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | getcwd(dirname, 1024); | ^ arcmisc.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | gcdir(dirname) | ^ arcmisc.c:312:18: warning: a function 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] 312 | int alphasort(); | ^ /usr/include/dirent.h:96:5: note: conflicting prototype is here 96 | int alphasort(const struct dirent **, const struct dirent **); | ^ arcmisc.c:313:18: warning: a function 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] 313 | int scandir(); | ^ /usr/include/dirent.h:91:5: note: conflicting prototype is here 91 | int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), | ^ arcmisc.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | dir(filename) /* get files, one by one */ | ^ arcmisc.c:364:15: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | return (match(string, pattern)); | ^ arcmisc.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | fmatch(direntry) | ^ 20 warnings generated. cc -O2 -pipe -o arc arc.o arcadd.o arccode.o arccvt.o arcdata.o arcdel.o arcdos.o arcext.o arcio.o arclst.o arclzw.o arcmatch.o arcpack.o arcrun.o arcsq.o arcsvc.o arctst.o arcunp.o arcusq.o arcmisc.o ld: warning: arccvt.c(arccvt.o:(cvtarc)): warning: sprintf() is often misused, please use snprintf() ld: warning: arcadd.c(arcadd.o:(addarc)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: arcmisc.c(arcmisc.o:(makefnam)): warning: strcat() is almost always misused, please use strlcat() cc -O2 -pipe -DSYSV=1 -c marc.c marc.c:58:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 58 | char *envfind(); | ^ ./arc.h:28:17: note: expanded from macro 'envfind' 28 | #define envfind getenv | ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 110 | char *getenv(const char *); | ^ marc.c:159:11: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | makefnam(arg[1],".arc",arcname); | ^ marc.c:163:11: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | makefnam(arg[2],".arc",srcname); | ^ marc.c:173:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | arcdie("Cannot read source archive %s",srcname); | ^ marc.c:175:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | arcdie("Cannot create new archive %s",newname); | ^ marc.c:195:15: warning: passing arguments to 'expandlst' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | expandlst(n); | ^ marc.c:200:8: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | arcdie("Not enough memory for input buffer."); | ^ marc.c:202:10: warning: passing arguments to 'merge' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | merge(lnum,lst); /* merge desired files */ | ^ marc.c:210:14: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | arcdie("Unable to delete old copy of %s",arcname); | ^ marc.c:212:9: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | arcdie("Unable to rename %s to %s",newname,arcname); | ^ marc.c:214:13: warning: passing arguments to 'setstamp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | setstamp(arcname,arcdate,arctime); /* new arc matches newest file */ | ^ marc.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | main(nargs,arg) /* system entry point */ | ^ marc.c:233:20: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | gotsrc = gethdr(src,&srch); /* get first source file */ | ^ marc.c:234:20: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | gotarc = gethdr(arc,&arch); /* get first target file */ | ^ marc.c:238:16: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | { copyfile(arc,&arch,gotarc); | ^ marc.c:239:23: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | gotarc = gethdr(arc,&arch); | ^ marc.c:245:21: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | { if(match(srch.name,arg[n])) | ^ marc.c:252:14: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | copyfile(src,&srch,gotsrc); | ^ marc.c:255:23: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | gotsrc = gethdr(src,&srch); | ^ marc.c:263:17: warning: passing arguments to 'match' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | { if(match(srch.name,arg[n])) | ^ marc.c:272:14: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | copyfile(src,&srch,gotsrc); | ^ marc.c:273:21: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | gotsrc = gethdr(src,&srch); | ^ marc.c:276:19: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | gotarc = gethdr(arc,&arch); | ^ marc.c:280:21: warning: passing arguments to 'copyfile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | { copyfile(arc,&arch,gotarc); | ^ marc.c:281:21: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | gotarc = gethdr(arc,&arch); | ^ marc.c:284:19: warning: passing arguments to 'gethdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | gotsrc = gethdr(src,&srch); | ^ marc.c:291:13: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | writehdr(&arch,new); /* mark the end of the archive */ | ^ marc.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | merge(nargs,arg) /* merge two archives */ | ^ marc.c:43:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static VOID copyfile(), expandlst(), merge(); | ^ marc.c:306:15: warning: passing arguments to 'readhdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | if(readhdr(hdr,f)) /* use normal reading logic */ | ^ marc.c:294:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | int gethdr(f,hdr) /* special read header for merge */ | ^ marc.c:41:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 41 | int gethdr(), match(), readhdr(); | ^ marc.c:318:13: warning: passing arguments to 'writehdr' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | writehdr(hdr,new); /* write out the header */ | ^ marc.c:319:13: warning: passing arguments to 'filecopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | filecopy(f,new,hdr->size); /* copy over the data */ | ^ marc.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | copyfile(f,hdr,ver) /* copy a file from an archive */ | ^ marc.c:43: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] 43 | static VOID copyfile(), expandlst(), merge(); | ^ marc.c:326:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 326 | FILE *lf, *fopen(); /* list file, opener */ | ^ marc.c:333:16: warning: passing arguments to 'makefnam' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | { makefnam(p,".CMD",buf); | ^ marc.c:336:14: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | arcdie("Cannot read list of files in %s",buf); | ^ marc.c:346:14: warning: passing arguments to 'arcdie' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | arcdie("too many file references"); | ^ marc.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | expandlst(n) /* expand an indirect reference */ | ^ marc.c:43:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static VOID copyfile(), expandlst(), merge(); | ^ 42 warnings generated. cc -O2 -pipe -o marc marc.o arcdata.o arcdos.o arcio.o arcmatch.o arcmisc.o ld: warning: arcmisc.c(arcmisc.o:(makefnam)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: arcmisc.c(arcmisc.o:(makefnam)): warning: strcat() is almost always misused, please use strlcat() ld: warning: marc.c(marc.o:(main)): warning: sprintf() is often misused, please use snprintf() >>> Running package in archivers/arc at 1764613859.67 ===> archivers/arc ===> Faking installation for arc-5.21pp1 /exopi-obj/pobj/arc-5.21p/bin/install -c -s -m 755 /exopi-obj/pobj/arc-5.21p/arc-5.21p/arc /exopi-obj/pobj/arc-5.21p/arc-5.21p/marc /exopi-obj/pobj/arc-5.21p/fake-amd64/usr/local/bin /exopi-obj/pobj/arc-5.21p/bin/install -c -m 644 /exopi-obj/pobj/arc-5.21p/arc-5.21p/{arc.1,marc.1} /exopi-obj/pobj/arc-5.21p/fake-amd64/usr/local/man/man1 /exopi-obj/pobj/arc-5.21p/bin/install -d -m 755 /exopi-obj/pobj/arc-5.21p/fake-amd64/usr/local/share/doc/arc /exopi-obj/pobj/arc-5.21p/bin/install -c -m 644 /exopi-obj/pobj/arc-5.21p/arc-5.21p/Arc521.doc /exopi-obj/pobj/arc-5.21p/arc-5.21p/Arcinfo /exopi-obj/pobj/arc-5.21p/fake-amd64/usr/local/share/doc/arc ===> Building package for arc-5.21pp1 Create /exopi-cvs/ports/packages/amd64/all/arc-5.21pp1.tgz Creating package arc-5.21pp1 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|**** | 7% checksumming|******** | 13% checksumming|************ | 20% checksumming|**************** | 27% checksumming|******************** | 33% checksumming|************************ | 40% checksumming|**************************** | 47% checksumming|********************************* | 53% checksumming|************************************* | 60% checksumming|***************************************** | 67% checksumming|********************************************* | 73% checksumming|************************************************* | 80% checksumming|***************************************************** | 87% checksumming|********************************************************* | 93% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|************************ | 37% archiving|********************************* | 51% archiving|************************************ | 56% archiving|************************************* | 57% archiving|************************************************************* | 96% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/arc-5.21pp1.tgz >>> Running clean in archivers/arc at 1764613862.59 ===> archivers/arc ===> Cleaning for arc-5.21pp1 >>> Ended at 1764613862.99 max_stuck=0.38/build=7.49/package=2.92/clean=0.42