CVSROOT: /cvs Module name: src Changes by: mes...@cvs.openbsd.org 2016/01/03 07:38:17
Modified files: games/adventure: init.c wizard.c games/arithmetic: arithmetic.c games/atc : extern.c games/backgammon/backgammon: main.c games/boggle/boggle: bog.c mach.c games/bs : bs.c games/canfield/canfield: canfield.c games/fish : fish.c games/fortune/strfile: strfile.c games/grdc : grdc.c games/mille : save.c games/phantasia: include.h games/quiz : quiz.c games/random : random.c games/snake : snake.c games/tetris : scores.c games/worm : worm.c games/wump : wump.c Log message: About 13 years ago when the idiom srandom(time()), and sometimes srandom(time()+getpid()), was changed by srandomdev(), but #include <time.h> lived up until this day so remove it. Additionally, earlier than that, 18 years ago, random(6) was one of the first consumers of arc4random(3) family, and was pulling it from dev/rndvar.h but these days we pull it from stdlib.h, which is already done, so while here remove dev/rndvar.h also. "seems comprehensive to me" deraadt@ and OK tb@