| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
trailing whitespace is no longer permitted when invoked from stdin.
From Scott Cheloha.
ok jca
|
|
|
|
|
| |
nonsensical "if and only iff" with "if and only if" and zap some
trailing whitespace.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove -? from getopt(3) options, but still keep (or add) -h where applicable
- Replace hardcoded program strings by getprogname(3)
- Specific changes:
- atc(6): this used -? and -u for usage(), remove both from game and manpage
- bcd(6): use __progname instead of getprogname(3), no need to include stdlib.h
- hunt(6): replace fputs(3) by fprintf(3)
OK tb@ after his suggestions
|
|
|
|
|
|
|
|
|
|
| |
- in main() replace exit with return
- drop some /* NOTREACHED */ lint comments along the way.
- make more use of standard CFLAGS, esp. -Wimplicit-function-declaration
- add and sort some headers when needed
- add straightforward pledges to some programs used at compile time
discussed with and ok mestre@
|
|
|
|
|
|
|
|
|
| |
Most noticeable that were removed are sys/types.h which will be included from
stdlib.h and in turn also brings along sys/cdefs.h. The other one is limits.h
that was used with the old idiom (denom * random() / LONG_MAX), although it was
only removed were applicable (some files still need that header).
OK tb@
|
|
|
|
|
|
| |
Found another one in arithmetic(6) which also didn't return, and removed a function from number(6) which is not used anymore.
OK tb@
|
| |
|
|
|
|
| |
ok guenther@
|
| |
|
|
|
|
|
|
|
| |
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
|
|
|
| |
ok moritz@ ray@
|
| |
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
because the primes generation table really depends on there not being more
than 32 bits.
|
|
|
|
| |
elsewhere. Similar to PR/2014 for factor(6).
|
| |
|
|
|
|
| |
Linux bsd-games package and NetBSD. Mainly using 'const'.
|
|
|
|
|
| |
initialization, removal of unused variable, or other minor fix. Most
changes are from or inspired by NetBSD.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|