Commit graph

12 commits

Author SHA1 Message Date
David Given f9785629e0 Add a binary flag. 2022-07-17 13:01:11 +02:00
carl 21e15965cc ANSI C conversion and add procedure declarations. 2019-05-11 01:17:40 +08:00
George Koehler bec236c108 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>.
2019-03-22 15:59:35 -04:00
George Koehler ca4bd38206 Delete old "assert.h" files; use libc <assert.h>.
Edit build.lua for programs losing their private assert.h, so they
depend on a list of .h files excluding assert.h.

Remove modules/src/assert; it would be a dependency of cpp.ansi but we
didn't build it, so cpp.ansi uses the libc assert.

I hope that libc <assert.h> can better report failed assertions.  Some
old "assert.h" files didn't report the expression.  Some reported a
literal "x", because traditional C expanded the macro parameter x in
"x", but ANSI C89 doesn't expand macro parameters in string literals.
2017-11-09 22:22:13 -05:00
David Given fd91851005 Add enough return types to the K&R C that the ACK builds (on Linux) using clang
now.
2016-11-10 22:04:18 +01:00
ceriel 5c83e7dbb5 Header --> Id 1994-06-24 11:31:16 +00:00
ceriel 41d0500d81 replaced relative includes by <> includes 1988-09-12 09:13:49 +00:00
ceriel 72e27e7dab put mes 2 in front 1987-05-20 14:09:21 +00:00
ceriel 231841bcfe Added some patterns, generate mes 8 after mes 2 1987-05-20 13:56:26 +00:00
ceriel 6c812387fd Added copyright notice 1987-03-10 01:42:07 +00:00
em 7ac5028864 added rcsid 1984-05-17 15:51:42 +00:00
sater ac23d5c871 Initial revision 1984-05-17 13:42:36 +00:00