summaryrefslogtreecommitdiffstats
path: root/bin/hostname/hostname.c
Commit message (Collapse)AuthorAgeFilesLines
* Style(9) fixes, thanks to Ruslan.kientzle2006-12-081-5/+7
|
* Support the "-f" option by simply ignoring it.kientzle2006-12-081-1/+6
| | | | | | | | | This allows script compatibility with Linux, whose "hostname" is the same as BSD "hostname -s". With this change, "hostname -f" is the same on both systems. MFC after: 7 days
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-1/+1
|
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Quiet warnings about copyright[].obrien2003-05-011-2/+2
|
* Consistently use __FBSDIDobrien2002-06-301-2/+2
|
* Fix warnings inspired by lint, a commercial lint and WARNS=4.markm2002-02-221-2/+5
|
* o __P has been reovedimp2002-02-021-6/+3
| | | | | | | | | o Old-style K&R declarations have been converted to new C89 style o register has been removed o prototype for main() has been removed (gcc3 makes it an error) o int main(int argc, char *argv[]) is the preferred main definition. o Attempt to not break style(9) conformance for declarations more than they already are.
* Silence WARNS=2 and BDECFLAGS on i386 and alphakris2001-05-201-2/+3
| | | | MFC After: 1 week
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Correct use of .Nm. Add rcsid.charnier1998-05-131-3/+5
|
* Revert part of previous patch: Don't use __progname.charnier1997-06-041-4/+2
|
* /etc/netstart -> /etc/rc.networkcharnier1997-06-031-2/+4
| | | | Use __progname in usage string. Change usage string to match the man page.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* 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.
* Merge Lite2 mods, -Wall cleaning, and show usage ifsteve1996-12-141-7/+17
| | | | | | incorrectly called. Incorrect usage mod obtained from: NetBSD
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+87
OpenPOWER on IntegriCloud