Snippets for afio 2.5.2 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/afio/2.5.2_1/150amd64-default.log.
-
afio.c:1208:10: warning: call to undeclared function 'utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1208 | VOID utime (DirP_curr->d_name, tstamp); | ^ -
afio.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | in (av) | ^ -
afio.c:1283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1283 | readcheck (av) | ^ -
afio.c:1325:9: warning: call to undeclared function 'utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1325 | VOID utime (name, tstamp); | ^ -
afio.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | inascii (magic, name, asb) | ^ -
afio.c:1452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | inascii3 (magic, name, asb) | ^ -
afio.c:1504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1504 | inavail (bufp, lenp) | ^ -
afio.c:1525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1525 | inbinary (magic, name, asb) | ^ -
afio.c:1567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1567 | indata (fd, size, name) | ^ -
afio.c:1695:6: warning: call to undeclared function 'kill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1695 | kill(comppid, SIGTERM); | ^ -
afio.c:1803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1803 | inentry (name, asb) | ^ -
afio.c:1851:12: warning: call to undeclared function 'utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1851 | VOID utime (name, tstamp); | ^ -
afio.c:1864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1864 | incheckentry (name, asb) | ^ -
afio.c:1990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1990 | fixinsecure (name) | ^ -
afio.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | inhead (name, asb) | ^ -
afio.c:2168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2168 | inread (dst, len) | ^ -
afio.c:2198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2198 | inskip (len) | ^ -
afio.c:2224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2224 | inswab (magic, name, asb) | ^ -
afio.c:2267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2267 | lineget (stream, buf, bufsize) | ^ -
afio.c:2305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2305 | linkalso (linkp, name) | ^ -
afio.c:2334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2334 | linkfrom (asb, installing) | ^ -
afio.c:2416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2416 | linkto (name, asb) | ^ -
afio.c:2523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2523 | memget (len) | ^ -
afio.c:2540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2540 | memstr (str) | ^ -
afio.c:2594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2594 | nameopt (name) | ^ -
afio.c:2613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2613 | next (mode, why) | ^ -
afio.c:2719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2719 | runpromptscript (why) | ^ -
afio.c:2762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2762 | nextask (msg, answer, limit) | ^ -
afio.c:2838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2838 | nextopen (mode) | ^ -
afio.c:2894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2894 | openin (name, fsname, asb, cratio) | ^ -
afio.c:3061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3061 | openincheck (name, asb, comp, dozflag) | ^ -
match.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | nameadd (name, ptype) | ^ -
match.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | nameaddfile(fname,ptype,parsewith0) | ^ -
match.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | namecmp (name, asb) | ^ -
match.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | namecmp_ext (name) | ^ -
afio.c:3266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3266 | openotty (name, asb, linkp, ispass, dozflag) | ^ -
afio.c:3426:17: warning: extra tokens at end of #ifdef directive [-Wextra-tokens] 3426 | #ifdef S_IFSOCK && !defined (__FreeBSD__) | ^ | // -
afio.c:3614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3614 | options (ac, av, proto) | ^ -
afio.c:3669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3669 | optsize (str) | ^ -
afio.c:3722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3722 | out (av) | ^ -
afio.c:3915:11: warning: call to undeclared function 'utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3915 | VOID utime (fsname, tstamp); | ^ -
afio.c:3928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3928 | outalloc (len) | ^ -
afio.c:3942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3942 | outavail (bufp) | ^ -
afio.c:3964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3964 | outdata (fd, name, size) | ^ -
afio.c:4007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4007 | outdatazip (fd, name, size) | ^ -
afio.c:4061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4061 | outdatamem (name, size) | ^ -
afio.c:4094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4094 | outeof (name, namelen) | ^ -
afio.c:4122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4122 | outflush (done) | ^ -
afio.c:4152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4152 | outhead (name, asb) | ^ -
afio.c:4186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4186 | outhead2 (name, asb) | ^ -
afio.c:4220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4220 | outhead3 (name, asb) | ^ -
afio.c:4257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4257 | outpad (pad) | ^ -
afio.c:4301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4301 | outwrite (idx, len) | ^ -
afio.c:4328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4328 | pass (av) | ^ -
afio.c:4367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4367 | passdata (from, ifd, to, ofd) | ^ -
afio.c:4400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4400 | passitem (from, asb, ifd, dir) | ^ -
afio.c:4429:12: warning: call to undeclared function 'utime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 4429 | VOID utime (to, tstamp); | ^ -
afio.c:4442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4442 | process_arname (template) | ^ -
afio.c:4496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4496 | pipechld (mode, pfd) | ^ -
afio.c:4545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4545 | pipeopen (mode) | ^ -
afio.c:4590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4590 | prsize (stream, size) | ^ -
afio.c:4650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4650 | fswrite (fd, buf, len) | ^ -
afio.c:4706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4706 | toc (av) | ^ -
afio.c:4744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4744 | tocentry (name, asb) | ^ -
afio.c:4886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4886 | tocmode (mode) | ^ -
afio.c:4887:17: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'mode_t' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter] 4887 | reg mode_t mode; | ^ -
afio.c:4973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4973 | warn (what, why) | ^ -
afio.c:4991:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4991 | STATIC int warn_nocount (what, why) | ^ -
afio.c:5006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5006 | warnarch (msg, adjust) | ^ -
afio.c:5023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5023 | xfork (what, die) | ^ -
afio.c:5085:21: warning: call to undeclared function 'wait'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 5085 | while ((pid = wait (&status)) < 0) | ^ -
afio.c:5101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5101 | xwait (pid, what, compstat2) | ^ -
afio.c:5138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5138 | verify (error) | ^ -
afio.c:5242:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 5242 | else if ((answernum == 2) ) | ~~~~~~~~~~^~~~ -
afio.c:5266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5266 | writedisk (realwrite) | ^ -
afio.c:5416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5416 | goodbye (status) | ^