1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/games
mestre dd8b6bb44a - Convert atoi(3) to strtonum(3)
- Remove lint-style comment
- Remove usage() since errors are now more informative (the usage is still
available in the manpage)

With this diff I made it accept 0 as rotation whereas before it didn't, but
alas if you use 0 then it defeats the whole purpose of the game.

Initial diff sent by Peter Williams <peterbw at gmail.com>, tweaked by me and
several hints and OK by tb@. I'm in desperate need of a coffee, thank you tb@
for making me notice that!
2016-02-26 12:10:49 +00:00
..
adventure Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
arithmetic - optarg and optind are declared by unistd.h, so remove them... 2016-01-27 13:42:08 +00:00
atc ANSIfy grammar.y on atc(6), all other files already are 2016-01-09 19:27:56 +00:00
backgammon add missing 'void' 2016-01-08 13:40:05 +00:00
banner Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
battlestar don't declar main. from Michal Mazurek 2016-01-01 15:56:03 +00:00
bcd Straightforward headers cleanup 2016-01-08 20:15:15 +00:00
boggle Remove needless casts to (char *) NULL. Some were kept, namely for execl(3) 2016-01-10 14:10:38 +00:00
bs Remove needless casts to (char *) NULL. Some were kept, namely for execl(3) 2016-01-10 14:10:38 +00:00
caesar - Convert atoi(3) to strtonum(3) 2016-02-26 12:10:49 +00:00
canfield As per style(9), remove remaining lint-style comments from games/ 2016-01-10 13:35:09 +00:00
cribbage As per style(9), remove remaining lint-style comments from games/ 2016-01-10 13:35:09 +00:00
factor Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
fish As per style(9), remove remaining lint-style comments from games/ 2016-01-10 13:35:09 +00:00
fortune As per style(9), remove remaining lint-style comments from games/ 2016-01-10 13:35:09 +00:00
gomoku ANSIfy gomoku(6) and change a char* to u_char* 2016-01-08 21:38:33 +00:00
grdc Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
hack #ifdef QUEST then a few functions won't work, because of that include 2016-01-10 15:12:20 +00:00
hangman As per style(9), remove remaining lint-style comments from games/ 2016-01-10 13:35:09 +00:00
hunt Remove needless casts to (char *) NULL. Some were kept, namely for execl(3) 2016-01-10 14:10:38 +00:00
mille ANSIfy mille(6) 2016-01-08 18:09:59 +00:00
monop ANSIfy monop(6) 2016-01-08 18:20:33 +00:00
morse Teach morse(6) the <AC> prosign as '@', as added on May 24, 2004 (the 2016-01-19 23:21:26 +00:00
number Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
phantasia As per style(9), remove remaining lint-style comments from games/ 2016-01-10 13:35:09 +00:00
pig Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
pom Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
ppt Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
primes Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
quiz As per style(9), remove remaining lint-style comments from games/ 2016-01-10 13:35:09 +00:00
rain Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
random As per style(9), remove remaining lint-style comments from games/ 2016-01-10 13:35:09 +00:00
robots Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
sail there's a resource leak here. missing a fclose(3) to kill the stream. 2016-01-13 13:10:26 +00:00
snake - Remove parameter fd from snscore() since it's never used 2016-02-09 13:41:59 +00:00
tetris As per style(9), remove remaining lint-style comments from games/ 2016-01-10 13:35:09 +00:00
trek Structural integrity hasn't improved in over twenty years. 2016-01-08 13:33:42 +00:00
wargames
worm Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
worms Some basic code maintenance in games/ 2016-01-07 16:00:31 +00:00
wump As per style(9), remove remaining lint-style comments from games/ 2016-01-10 13:35:09 +00:00
Makefile
Makefile.inc Build most of games/ with -Werror-implicit-function-declaration. 2015-12-28 20:55:55 +00:00