Commit Graph
5 Commits
Author SHA1 Message Date
David Seifert 7afa5c6242 Make C99 clean
* Clang 16 (and likely GCC 14) will enforce strict C99 semantics
  and break old K&R C declarations and require correct C89
  function prototypes.

Bug: https://bugs.gentoo.org/870952
Clang: https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213/9
2022-10-27 11:08:49 -07:00
david parsons cf74d6d218 make all instances of 'main()' be integer functions (sigh) 2018-09-16 14:41:42 -07:00
david parsons c0eeb54192 include stdlib.h to make gcc stfu about exit() 2011-02-18 23:05:56 -08:00
david parsons b6e6700b38 Don't forget to exit(0) after echoing our arguments! 2010-10-28 18:30:03 -07:00
David Parsons fd212c1c30 1. When testing, use my own tool cols instead of cut (cut doesn't
exist on plan9) and `grep` (with appropriate backslashing) instead
   of `fgrep` (`fgrep` doesn't exist on plan9) or `grep -F` (`-F` option
   doesn't exist on plan9?)
2. move the source for `echo` and `cols` into the new `tools` directory.
2009-06-14 10:23:28 -07:00