hubertf
b4df40b17b
- ANSIfy
...
- Use return instead of exit() in main()
- Use EXIT_{SUCCESS,FAILURE} constants instead of 0/1
No functional changes. Patch submitted in private mail by
Slava Semushin <slava.semushin@gmail.com>
2007-01-12 22:43:05 +00:00
jsm
cb5fd8342e
Remove uses of __P.
2004-01-27 20:30:28 +00:00
agc
e5aeb4ea46
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
jsm
4092f192c0
Update pom to the third edition of Duffett-Smith's book, and clean it
...
up somewhat. Change time specification format to similar to that used
by date(1) - taking a command line argument in seconds since the Epoch
is silly. Date parsing based on code from date(1).
Based on work by Paul Janzen for OpenBSD.
1999-09-14 20:00:07 +00:00
hubertf
d4741e5a86
be more precise for PI, as per PR5867
1998-09-11 14:07:04 +00:00
hubertf
5d0529181f
isleap expects years since Christ's birth, not the epoche)
...
Closees PR 5833 by Joseph S. Myers <jsm28@cam.ac.uk>.
1998-07-25 10:36:54 +00:00
jeremy
4dc771924a
Added optional argument for calculating the phase of the moon for a specified
...
date, rather than the current time.
1998-06-13 01:09:22 +00:00
lukem
0ea52cbe73
use err/warn instead of perror
1997-10-12 01:00:27 +00:00
lukem
5ab1a671e5
WARNSify
1997-10-10 16:38:40 +00:00
jtc
5224609738
Removed "extern int errno"; Added #include <errno.h> if not already present.
1996-02-06 22:47:06 +00:00
cgd
8936958f57
typeof(timeval.ts_sec) != time_t
1995-06-07 16:29:30 +00:00
cgd
42fb1b9d4a
merge with Lite, new RCS id conventions, etc.
1995-03-23 08:28:00 +00:00
jtc
afd5a260df
Changed to call exit(0) instead of falling out the bottom of main().
...
Changed to include <string.h> instead of defining own prototype for
strerror().
1995-02-03 18:15:02 +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