Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Joseph Myers <jsm@netbsd.org>
List: source-changes
Date: 09/08/1999 14:45:34
Module Name:	basesrc
Committed By:	jsm
Date:		Wed Sep  8 21:45:34 UTC 1999

Modified Files:
	basesrc/games/backgammon/common_source: subs.c
	basesrc/games/battlestar: com6.c fly.c
	basesrc/games/boggle/boggle: mach.c
	basesrc/games/canfield/canfield: canfield.c
	basesrc/games/cribbage: io.c score.c
	basesrc/games/fortune/fortune: fortune.c
	basesrc/games/gomoku: main.c pickmove.c
	basesrc/games/hangman: hangman.h main.c
	basesrc/games/mille: mille.c print.c
	basesrc/games/monop: monop.c
	basesrc/games/phantasia: io.c phantglobs.h
	basesrc/games/random: random.c
	basesrc/games/robots: main.c
	basesrc/games/rogue: init.c rogue.h
	basesrc/games/sail: extern.h pl_1.c pl_7.c
	basesrc/games/snake/snake: snake.c snake.h
	basesrc/games/tetris: screen.c tetris.c
	basesrc/games/trek: abandon.c capture.c cgetc.c computer.c dcrept.c
	    destruct.c dock.c dumpgame.c help.c impulse.c lrscan.c phaser.c
	    play.c rest.c setwarp.c torped.c trek.h visual.c
	basesrc/games/worm: worm.c

Log Message:
Add `__noreturn__' and `__unused__' attributes where appropriate to
the games.

This merges in all such remaining changes from the Linux port of the
NetBSD games, except in hunt (where substantial changes from OpenBSD
need to be looked at).

Most noreturn attributes were previously added in bin/6144, with some
others that were missed then in bin/8082.  Previous `unused'
attributes were covered in bin/6557, bin/8058 and other PRs (all these
PRs have already been handled and closed).


To generate a diff of this commit:
cvs rdiff -r1.11 -r1.12 basesrc/games/backgammon/common_source/subs.c
cvs rdiff -r1.11 -r1.12 basesrc/games/battlestar/com6.c
cvs rdiff -r1.7 -r1.8 basesrc/games/battlestar/fly.c
cvs rdiff -r1.9 -r1.10 basesrc/games/boggle/boggle/mach.c
cvs rdiff -r1.12 -r1.13 basesrc/games/canfield/canfield/canfield.c
cvs rdiff -r1.11 -r1.12 basesrc/games/cribbage/io.c
cvs rdiff -r1.7 -r1.8 basesrc/games/cribbage/score.c
cvs rdiff -r1.16 -r1.17 basesrc/games/fortune/fortune/fortune.c
cvs rdiff -r1.6 -r1.7 basesrc/games/gomoku/main.c \
    basesrc/games/gomoku/pickmove.c
cvs rdiff -r1.8 -r1.9 basesrc/games/hangman/hangman.h
cvs rdiff -r1.5 -r1.6 basesrc/games/hangman/main.c
cvs rdiff -r1.7 -r1.8 basesrc/games/mille/mille.c basesrc/games/mille/print.c
cvs rdiff -r1.6 -r1.7 basesrc/games/monop/monop.c
cvs rdiff -r1.4 -r1.5 basesrc/games/phantasia/io.c
cvs rdiff -r1.6 -r1.7 basesrc/games/phantasia/phantglobs.h
cvs rdiff -r1.5 -r1.6 basesrc/games/random/random.c
cvs rdiff -r1.9 -r1.10 basesrc/games/robots/main.c
cvs rdiff -r1.7 -r1.8 basesrc/games/rogue/init.c
cvs rdiff -r1.8 -r1.9 basesrc/games/rogue/rogue.h
cvs rdiff -r1.10 -r1.11 basesrc/games/sail/extern.h
cvs rdiff -r1.6 -r1.7 basesrc/games/sail/pl_1.c
cvs rdiff -r1.11 -r1.12 basesrc/games/sail/pl_7.c
cvs rdiff -r1.10 -r1.11 basesrc/games/snake/snake/snake.c
cvs rdiff -r1.12 -r1.13 basesrc/games/snake/snake/snake.h
cvs rdiff -r1.11 -r1.12 basesrc/games/tetris/screen.c
cvs rdiff -r1.10 -r1.11 basesrc/games/tetris/tetris.c
cvs rdiff -r1.4 -r1.5 basesrc/games/trek/abandon.c \
    basesrc/games/trek/capture.c basesrc/games/trek/cgetc.c \
    basesrc/games/trek/dcrept.c basesrc/games/trek/destruct.c \
    basesrc/games/trek/dock.c basesrc/games/trek/impulse.c \
    basesrc/games/trek/lrscan.c basesrc/games/trek/rest.c \
    basesrc/games/trek/setwarp.c basesrc/games/trek/torped.c \
    basesrc/games/trek/visual.c
cvs rdiff -r1.6 -r1.7 basesrc/games/trek/computer.c \
    basesrc/games/trek/dumpgame.c basesrc/games/trek/phaser.c \
    basesrc/games/trek/trek.h
cvs rdiff -r1.5 -r1.6 basesrc/games/trek/help.c basesrc/games/trek/play.c
cvs rdiff -r1.13 -r1.14 basesrc/games/worm/worm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.