summaryrefslogtreecommitdiff
path: root/games/sail/main.c
AgeCommit message (Collapse)Author
2016-01-08ANSIfy sail(6) plus some cleanupmestre
OK tb@
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@
2015-12-16Use __progname instead of hand-rolled parsing of argv[0].tb
Inspired by similar diffs by tobias@ and millert@. "I like the concept" pjanzen@ ok tedu@
2014-03-11lint is dead (long live the lint!)Philip Guenther
Declare play() and pl_main() as __dead, to solve the original problem
2013-08-29replace srandomdev()+random() with the arc4random*() familyChristian Weisgerber
tweaks and ok millert@, ok deraadt@
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
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)Todd C. Miller
good enough for games but we should at least use a decent seed. pjanzen@ OK
1999-01-18NetBSD merge with additional fixes from jsm28@cam.ac.uk. This game stillPaul Janzen
needs much more work.
1997-01-17r?index -> strr?chrTodd C. Miller
1995-10-18initial import of NetBSD treeTheo de Raadt