summaryrefslogtreecommitdiffstats
path: root/games/arithmetic/arithmetic.c
AgeCommit message (Expand)AuthorFilesLines
2018-12-27convert to unsigned variables to avoid some overflows.tedu1-9/+10
2016-09-11Callers of time(3) should #include <time.h>.tb1-1/+2
2016-01-27- optarg and optind are declared by unistd.h, so remove them...gsoares1-8/+9
2016-01-25Remove unused headermestre1-2/+1
2016-01-10As per style(9), remove remaining lint-style comments from games/mestre1-3/+1
2016-01-03About 13 years ago when the idiom srandom(time()), and sometimesmestre1-2/+1
2015-12-25Declare usage() functions as __dead void, if they don't return, on games section.mestre1-3/+3
2015-10-24Cast ctype functions' arguments to unsigned char.mmcc1-3/+3
2015-10-10Pledge that arithmetic only takes "stdio".doug1-1/+4
2015-08-22remove malloc/calloc/realloc* casts, due to stdlib.h being present; ok millert krwderaadt1-2/+2
2013-08-29replace srandomdev()+random() with the arc4random*() familynaddy1-7/+4
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
2007-03-20remove some bogus *p tests from charles longeautedu1-3/+3
2004-07-09ansi; khalek@linuxgamers.netderaadt1-16/+10
2003-06-03Remove the advertising clause in the UCB license which Berkeleymillert1-7/+3
2002-12-06Replace things like srandom(time(NULL)) with srandomdev(3). random(3)millert1-3/+3
2002-06-11no more err(3) newlines in games; ok pjanzen@jsyn1-4/+4
2002-05-31de-registerpjanzen1-4/+4
2002-05-31No dm -> no need to revoke setegid.pjanzen1-6/+2
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert1-9/+9
1998-09-15use const where appropriate; jsm28@cam.ac.ukpjanzen1-6/+6
1998-08-19tags, formatting, ANSI-fication, prototypes, de-typos, and the occasionalpjanzen1-3/+3
1998-03-12OpenBSD ID (changed from NetBSD)pjanzen1-2/+2
1998-02-26cleanup efforts care of pjanzen@foatdi.harvard.eduderaadt1-23/+34
1997-01-17r?index -> strr?chrmillert1-2/+2
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!millert1-1/+1
1996-04-23sync with netbsd 960418deraadt1-3/+3
1995-10-18initial import of NetBSD treederaadt1-0/+381