summaryrefslogtreecommitdiff
path: root/games/number
AgeCommit message (Collapse)Author
2016-03-07- General changes:mestre
- 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
2016-01-07Some basic code maintenance in games/tb
- 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@
2016-01-04More cleanup and sorting on header sectionmestre
OK tb@ and he also pointed out that for consistency with rest of the tree we should include termios.h instead of sys/ttydefaults.h, where applicable
2015-12-25Declare usage() functions as __dead void, if they don't return, on games ↵mestre
section. 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@
2015-10-24Cast ctype functions' argument to unsigned char.mmcc
ok guenther@
2015-10-14Pledge "stdio" for simple games.Doug Hogan
ok semarie@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
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
2008-03-17synchronization between usage and synopsis; add some missing "usage:"'sIgor Sobrado
ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2005-11-05remove extra \n;Jason McIntyre
from pjanzen@
2005-11-05- correct misplaced parenthesisJason McIntyre
- better error message from pjanzen@
2004-07-10more ansi; khalek@linuxgamers.netTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-05-31No dm -> no need to revoke setegid.Paul Janzen
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
1999-09-25Tidying and minor changes from or based on jsm28@cam.ac.uk's work for thePaul Janzen
Linux bsd-games package and NetBSD. Mainly using 'const'.
1998-12-15Always provide an argument to .Nm in SYNOPSIS sectionPaul Janzen
1998-11-29Don't capitalize game names at the beginning of sentences.Paul Janzen
1998-08-19tags, formatting, ANSI-fication, prototypes, de-typos, and the occasionalPaul Janzen
initialization, removal of unused variable, or other minor fix. Most changes are from or inspired by NetBSD.
1998-03-25handle exponents, leading whitespace, and +Paul Janzen
1998-02-27fix a bug; steve@freebsdTheo de Raadt
1997-09-21$OpenBSD$Theo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-22proper gid revokeTheo de Raadt
1996-12-19setgid games, not setuid games. closes a neat set of holesTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt