1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/games
gsoares d73a3bc6bc - use strtonum(3) instead of atoi(3)
- while here switch main() to return instead of exit(3), makes stack protector happy.

OK tb@
2015-12-25 23:41:43 +00:00
..
adventure Straightforward pledge "stdio rpath wpath cpath" for adventure. 2015-11-30 08:14:48 +00:00
arithmetic Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
atc Cleanup: pwd.h is no longer needed. 2015-12-15 18:40:54 +00:00
backgammon Drop the argument passing between backgammon and teachgammon. 2015-12-02 20:05:01 +00:00
banner - use strtonum(3) instead of atoi(3) 2015-12-25 23:41:43 +00:00
battlestar cleanup: remove pwd.h, delete a stray comment and a const qualifier 2015-12-04 17:34:40 +00:00
bcd include err.h for err() calls added with recent pledge commits. 2015-10-23 02:01:15 +00:00
boggle Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
bs Apply some more KNF to the declaration of functions, but keep style to the rest of code for now. 2015-12-25 03:20:57 +00:00
caesar Use __progname instead of hand-rolled parsing of argv[0]. 2015-12-16 14:21:50 +00:00
canfield add const and remove unused variable. 2015-12-02 18:34:10 +00:00
cribbage KNF: add a missing space after an 'if'. 2015-12-18 18:47:56 +00:00
factor Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
fish Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
fortune Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
gomoku Use __progname instead of manually handling argv[0]. 2015-12-06 12:00:16 +00:00
grdc Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
hack Use __progname instead of hand-rolled parsing of argv[0]. 2015-12-16 14:21:50 +00:00
hangman Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
hunt Use __progname instead of hand-rolled parsing of argv[0]. 2015-12-16 14:21:50 +00:00
mille The usual deal for a curses game with the possibility of saving a game: 2015-11-30 08:49:06 +00:00
monop pledge "stdio rpath wpath cpath" 2015-11-21 03:20:30 +00:00
morse include err.h for err() calls added with recent pledge commits. 2015-10-23 02:01:15 +00:00
number Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
phantasia In 1995, all of the games were setuid games. At end of 1996, I took them all 2015-11-24 03:10:09 +00:00
pig Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
pom Cast isdigit()'s argument to unsigned char. 2015-10-24 17:33:05 +00:00
ppt Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
primes Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
quiz Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
rain pledge "getpw" is not needed here. 2015-12-06 11:22:37 +00:00
random Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
robots Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
sail Use __progname instead of hand-rolled parsing of argv[0]. 2015-12-16 14:16:27 +00:00
snake KNF: I forgot to join two lines. 2015-12-02 18:52:23 +00:00
tetris Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
trek pledge "stdio rpath wpath cpath" for this one. 2015-11-30 08:55:26 +00:00
wargames
worm pledge the wyrms 2015-11-21 05:29:42 +00:00
worms pledge the wyrms 2015-11-21 05:29:42 +00:00
wump Declare usage() functions as __dead void, if they don't return, on games section. 2015-12-25 20:59:09 +00:00
Makefile
Makefile.inc In 1995, all of the games were setuid games. At end of 1996, I took them all 2015-11-24 03:10:09 +00:00