jsm
312e8e64e5
Include <time.h> for declarations the Single Unix Specification says
...
are there but not in <sys/time.h>.
2001-08-29 18:23:44 +00:00
jwise
61a39e0b38
More rationalization of include files:
...
a.) Don't include a zillion system headers from "extern.h" (actually, don't
include any).
b.) Break a global jmp_buf variable into a new file, so <setjmp.h> doesn't
have to be pulled in everywhere (it's only used in two places).
The (one line) new file is (c) TNF with a three-clause license, FW(L)IW.
2001-01-04 03:51:23 +00:00
jwise
aac077fce8
Rationalize inclusion of header files: cut down on `include everything
...
everywhere' a little (more to go), and as per KNF, local includes after
system includes.
2001-01-04 03:21:16 +00:00
jwise
d5c5fed0c7
G/C undocumented and unimplemented `-D' (debug) option.
2001-01-04 01:56:27 +00:00
jwise
3ad2426f33
Fix getopt usage (again) in case where user does not choose a scenario on
...
the command line.
2001-01-01 22:33:01 +00:00
jwise
e6d2cd0771
Fix getopt() usage.
2001-01-01 22:05:04 +00:00
jwise
dfea9f08db
ANSIfy in preparation for further work.
2001-01-01 21:57:37 +00:00
jwise
8ebca10bc2
Fix warning.
2000-11-30 22:07:24 +00:00
jwise
3e7481b12e
Use random() instead of rand(), and seed from time(3) instead of from getpid().
2000-11-30 22:06:04 +00:00
jwise
48253ebcef
Change the macro to roll a six-sided die from die() to dieroll() (for
...
obvious reasons of convention).
2000-11-30 22:02:20 +00:00
jwise
91d3d6a540
Use getopt(3) for flag processing.
2000-11-30 21:38:57 +00:00
jwise
65d4c9fc15
Fix style nit.
2000-11-30 21:31:33 +00:00
jwise
ed516eb73f
ANSIfy in preparation for other changes.
2000-11-30 21:29:32 +00:00
jsm
01be126759
Fix insecure /tmp usage in sail.
...
Essentially concludes the merge into NetBSD of those changes in the
Linux port of the NetBSD games which it is fairly clear to me should
be so merged.
2000-02-09 22:27:55 +00:00
christos
5175902c09
- make sure that the arguments to the printf like functions are correct
...
- add a makemsg() function to accompany makesignal.
1997-10-13 21:02:57 +00:00
christos
bf72b656b0
Warns fixes:
...
use varargs properly
use unsigned chars where appropriate
fix typos
eliminate gcc warnings
1997-10-13 19:42:53 +00:00
tls
156daa7a47
Sync to 4.4BSD-Lite2
1997-01-07 12:42:14 +00:00
cgd
982615d7df
clean up import, NetBSD RCS IDs
1995-04-22 10:36:43 +00:00
mycroft
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00