Commit Graph

9 Commits

Author SHA1 Message Date
jsm cb5fd8342e Remove uses of __P. 2004-01-27 20:30:28 +00:00
jsm 1c7f94e505 Hack is now BSD-licensed. Thanks to Andries Brouwer, Jay Fenlason and
CWI <http://www.cwi.nl/~aeb/games/hack/hack.html>.  Via OpenBSD.
Addresses part of PR bin/5850.
2003-04-02 18:36:33 +00:00
jsm ab8b63434d Make mostly gcc -W clean, and other cleanup:
Use const.
Add __noreturn__ attributes.
Add a __format__ attribute.
Add __unused__ attributes.
Use symbolic constants for open() and lseek().
Declare types of all function parameters; convert some function
definitions to ISO C form.
Ensure standard file descriptors are open on startup.
Check for errors writing output of makedefs.
Avoid duplicate definitions of variables.
2001-03-25 20:43:58 +00:00
fair 3aa9af7caf Initialize pointers to NULL to avoid gcc/sparc compiler error
hack.invent.c: In function `dolook':
hack.invent.c:800: warning: `otmp0' might be used uninitialized in this function
hack.invent.c:801: warning: `gold' might be used uninitialized in this function
(this is awfully tiresome - can't we fix gcc?)
1997-10-23 07:05:55 +00:00
christos 3ea4a95c18 WARNsify... 1997-10-19 16:56:41 +00:00
cgd 42fb1b9d4a merge with Lite, new RCS id conventions, etc. 1995-03-23 08:28:00 +00:00
mycroft 02ded53222 alloc.c 1993-08-02 17:16:36 +00:00
mycroft f7f4b85ce9 Cleanup for GCC 2. 1993-04-18 21:52:18 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00