Include more headers to declare functions.
authorGeorge Koehler <kernigh@gmail.com>
Fri, 22 Mar 2019 19:15:40 +0000 (15:15 -0400)
committerGeorge Koehler <kernigh@gmail.com>
Fri, 22 Mar 2019 19:59:35 +0000 (15:59 -0400)
commitbec236c108d007e2c7df1cd63cad637518846d1d
treeb75b0349fd063a454a49ae870ff771c515cea569
parent84f65f7ce32eeece9c3a8ecd4df03be1120f0c6b
Include more headers to declare functions.

This causes clang to give fewer warnings of implicit declarations of
functions.

In mach/pdp/cv/cv.c, rename wr_int2() to cv_int2() because it
conflicts with wr_int2() in <object.h>.

In util/ack, rename F_OK to F_TRANSFORM because it conflicts with F_OK
for access() in <unistd.h>.
23 files changed:
mach/pdp/cv/cv.c
modules/src/object/object.h
plat/osx/cvmach/cvmach.c
util/ack/files.c
util/ack/main.c
util/ack/run.c
util/ack/scan.c
util/ack/trans.h
util/amisc/aelflod.c
util/amisc/anm.c
util/amisc/ashow.c
util/amisc/asize.c
util/amisc/astrip.c
util/arch/archiver.c
util/int/io.c
util/led/archive.c
util/led/error.c
util/led/finish.c
util/led/output.c
util/led/write.c
util/ncgg/output.c
util/opt/cleanup.c
util/topgen/main.c