stefanf
2edc0418f9
Include <timeconv.h> for time conversion functions.
...
Approved by: das (mentor)
2004-05-24 16:10:57 +00:00
obrien
7293a24a2b
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
2003-05-03 21:06:42 +00:00
des
d7b064e238
ANSIfy and remove some dead code.
...
Sponsored by: DARPA, NAI Labs
2002-02-06 15:26:07 +00:00
des
0f2cb9b020
Apply the following mechanical transformations in preparation for
...
ansification and constification:
s{\s+__P\((\(.*?\))\)}{$1}g;
s{\(\s+}{\(}g;
s{\s+\)}{\)}g;
s{\s+,}{,}g;
s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
s{return ([^\(].*?);}{return ($1);}g;
s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
s{\s+$}{\n};g
Also add $FreeBSD$ where needed.
MFC after: 1 week
2002-02-06 13:30:31 +00:00
dillon
c3dbbbabdf
I've been meaning to do this for a while. Add an underscore to the
...
time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx()
instead of time_to_xxx(), to make it more obvious that these are
stopgap functions & placemarkers and not meant to create a defacto
standard. They will eventually be replaced when a real standard
comes out of committee.
2002-01-19 23:20:02 +00:00
dillon
18ba58febf
Fix int vs time_t, convert int to time_t
2001-10-28 20:40:58 +00:00
dd
e3cab8dc0c
Include missing header files which define functions for which gcc has
...
builtints (e.g., exit, strcmp).
2001-06-24 20:25:23 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
imp
37b915c08f
Two getopts related nits:
...
o getopt returns -1 rather than EOF on errors
o getopt returns '?' for characters it doesn't know about, so
don't include them in the getopt options string.
1999-06-24 06:43:21 +00:00
charnier
4b19c8ae4e
Use err(3).
1997-10-27 12:30:30 +00:00
rgrimes
4f960dd75f
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
wollman
fceaec9c2f
Added YP section 8 programs from 1.1.5. (Obligatory notice that this
...
code was originally written by Th. de Raadt, although this particular
organization is mine.)
1994-08-08 01:10:28 +00:00