summaryrefslogtreecommitdiffstats
path: root/usr.sbin/yppoll
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* yp(4) -> yp(8).ru2002-01-141-1/+1
| | | | PR: docs/30797
* 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).
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* 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.
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+4
|
* Use err(3).charnier1997-10-272-18/+14
|
* Add ypwhich(1) and yppoll(8) manual pages.wosch1997-09-212-2/+84
| | | | Obtained from: NetBSD, slightly modified
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Added YP section 8 programs from 1.1.5. (Obligatory notice that thiswollman1994-08-082-0/+108
code was originally written by Th. de Raadt, although this particular organization is mine.)
OpenPOWER on IntegriCloud