>>> Building on exopi-2 under archivers/arc DIST = [archivers/arc:arc-5.21p.tar.gz] FULLPKGNAME = arc-5.21pp1 distfiles size=84791 >>> Running build in archivers/arc at 1731964477.46 ===> archivers/arc ===> Building from scratch arc-5.21pp1 ===> Verifying specs: c ===> found c.100.3 ===> 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *envfind(); /* environment searcher */ ^ ./arc.h:28:17: note: expanded from macro 'envfind' #define envfind getenv ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] ||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 C2x [-Wdeprecated-non-prototype] ||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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] long starts, ftell(); /* file locations */ ^ /usr/include/stdio.h:230:7: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] long starts, ftell(); /* where the file goes */ ^ /usr/include/stdio.h:230:7: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] struct tm *localtime(), *t; ^ /usr/include/time.h:118:12: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int utimes(); ^ /usr/include/sys/time.h:458:5: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] PUSH(finchar); ^ arclzw.c:777:9: note: expanded from macro 'PUSH' 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 C2x [-Wdeprecated-non-prototype] PUSH(ep->follower); /* decode string backwards */ ^ arclzw.c:777:9: note: expanded from macro 'PUSH' 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 C2x [-Wdeprecated-non-prototype] PUSH(finchar = ep->follower); /* save first character also */ ^ arclzw.c:777:9: note: expanded from macro 'PUSH' 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] *outbeg++ = POP(); ~ ^~~~~ arclzw.c:781:47: note: expanded from macro 'POP' #define POP() ((sp > 0) ? (int) stack[--sp] : EMPTY) ^~~~~ arclzw.c:56:18: note: expanded from macro 'EMPTY' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int crcbuf(); ^ ./proto.h:12:6: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] long tloc, ftell(); /* start of output */ ^ /usr/include/stdio.h:230:7: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] } 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] long arcsize, ftell(); /* archive size */ ^ /usr/include/stdio.h:230:7: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int rename(), unlink(); ^ /usr/include/stdio.h:254:6: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] arcdie(s, arg1, arg2, arg3) ^ arcmisc.c:226:17: warning: parameter 'arg2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] arcdie(s, arg1, arg2, arg3) ^ arcmisc.c:226:11: warning: parameter 'arg1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] arcdie(s, arg1, arg2, arg3) ^ arcmisc.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int alphasort(); ^ /usr/include/dirent.h:96:5: note: conflicting prototype is here 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] int scandir(); ^ /usr/include/dirent.h:91:5: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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: arc.c(arc.o:(main)): warning: sprintf() is often misused, please use snprintf() ld: warning: arc.c(arc.o:(main)): 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] char *envfind(); ^ ./arc.h:28:17: note: expanded from macro 'envfind' #define envfind getenv ^ /usr/include/stdlib.h:110:7: note: conflicting prototype is here 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] { 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 1731964482.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 1731964484.58 ===> archivers/arc ===> Cleaning for arc-5.21pp1 >>> Ended at 1731964484.87 max_stuck=0.15/build=5.21/package=1.89/clean=0.32