summaryrefslogtreecommitdiff
path: root/bin/hostname/hostname.c
AgeCommit message (Expand)Author
2023-11-26Remove copyright strings ifdef'd outWarner Losh
2023-11-26bin: Remove ancient SCCS tags.Warner Losh
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2021-09-25hostname: avoid strcpy() overlap in -d flag handlingKyle Evans
2017-11-20General further adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-02-28Renumber copyright clause 4Warner Losh
2016-11-09Fix missing '-' for the flags -s and -d on both manpage and usage.Marcelo Araujo
2016-11-08Add -d flag that prints domain only.Marcelo Araujo
2013-04-28Mark usage() __dead2Eitan Adler
2009-06-23Staticify internal routines.Xin LI
2006-12-08Style(9) fixes, thanks to Ruslan.Tim Kientzle
2006-12-08Support the "-f" option by simply ignoring it.Tim Kientzle
2005-01-10/*- or .\"- or #- to begin license clauses.Warner Losh
2004-04-06Remove clause 3 from the UCB licenses.Mark Murray
2003-05-01Quiet warnings about copyright[].David E. O'Brien
2002-06-30Consistently use __FBSDIDDavid E. O'Brien
2002-02-22Fix warnings inspired by lint, a commercial lint and WARNS=4.Mark Murray
2002-02-02o __P has been reovedWarner Losh
2001-05-20Silence WARNS=2 and BDECFLAGS on i386 and alphaKris Kennaway
1999-08-27$Id$ -> $FreeBSD$Peter Wemm
1998-05-13Correct use of .Nm. Add rcsid.Philippe Charnier
1997-06-04Revert part of previous patch: Don't use __progname.Philippe Charnier
1997-06-03/etc/netstart -> /etc/rc.networkPhilippe Charnier
1997-03-28compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard
1996-12-14Merge Lite2 mods, -Wall cleaning, and show usage ifSteve Price
1994-09-24Added $Id$David Greenman
1994-05-26BSD 4.4 Lite bin SourcesRodney W. Grimes