summaryrefslogtreecommitdiffstats
path: root/usr.sbin/yppoll/yppoll.c
Commit message (Collapse)AuthorAgeFilesLines
* Include <timeconv.h> for time conversion functions.stefanf2004-05-241-0/+1
| | | | Approved by: das (mentor)
* Use __FBSDID over rcsid[]. Protect copyright[] where needed.obrien2003-05-031-4/+2
|
* ANSIfy and remove some dead code.des2002-02-061-3/+2
| | | | Sponsored by: DARPA, NAI Labs
* Apply the following mechanical transformations in preparation fordes2002-02-061-3/+3
| | | | | | | | | | | | | | | | | 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
* I've been meaning to do this for a while. Add an underscore to thedillon2002-01-191-1/+1
| | | | | | | | 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.
* Fix int vs time_t, convert int to time_tdillon2001-10-281-2/+3
|
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | builtints (e.g., exit, strcmp).
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Two getopts related nits:imp1999-06-241-2/+2
| | | | | | 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.
* Use err(3).charnier1997-10-271-16/+12
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Added YP section 8 programs from 1.1.5. (Obligatory notice that thiswollman1994-08-081-0/+101
code was originally written by Th. de Raadt, although this particular organization is mine.)
OpenPOWER on IntegriCloud