aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/troff/n7.c
Commit message (Collapse)AuthorAgeFilesLines
* warnings: fix warnings on newer compilersDan Cross2025-07-241-11/+15
| | | | | | | | | | Mostly turning the crank on fixing simple warnings: arrays, for instance, can never be nil. A couple of pointers should have been initialized to `nil` before being tested. Some logic in `troff` was simplified: basically, an `if` statement had a condition that must have always been true if that section of code were being executed at all.
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-14/+14
| | | | | | | | | Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
* include: define _DEFAULT_SOURCEDavid du Colombier2016-11-201-0/+1
| | | | | | | | | | | Since glibc 2.20, the _BSD_SOURCE and _SVID_SOURCE macros are deprecated in favor of the _DEFAULT_SOURCE macro. See https://sourceware.org/glibc/wiki/Release/2.20#Packaging_Changes Change-Id: I18dd6a698f3f5aa51d1e45bf53b031bb061e17e8 Reviewed-on: https://plan9port-review.googlesource.com/1500 Reviewed-by: David du Colombier <0intro@gmail.com>
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-011-0/+1
|
* Checkpoint -- still merging with Taj's version of the world.wkj2004-05-161-5/+7
|
* Let's try this. It's BUGGERED.rsc2004-05-151-0/+834