summaryrefslogtreecommitdiffstats
path: root/bin/date/netdate.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix socket calls on error post-r243965.kevlo2012-12-211-1/+1
| | | | Submitted by: Garrett Cooper
* More -Wmissing-variable-declarations fixes.ed2012-10-191-2/+0
| | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* Use strlcpy in place of strncpy + setting the last character NUL. Toimp2006-08-201-2/+2
| | | | be safe, memset the entire msg to '0'.
* Remove clause 3 from the UCB licenses.markm2004-04-061-4/+0
| | | | OK'ed by: imp, core
* Enclose sccsid according to style(9).charnier2003-02-051-3/+4
| | | | udp/timed -> timed/udp
* Consistently use __FBSDIDobrien2002-06-301-2/+2
|
* Use socklen_t for the length of a socket structure instead of `int'.keramida2002-06-091-1/+2
| | | | Reviewed by: mike
* Fix warnings inspired by lint, a commercial lint and WARNS=4.markm2002-02-221-10/+10
|
* o __P has been reovedimp2002-02-021-2/+1
| | | | | | | | | | | 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. Approved by: arch@, new style(9)
* Fix error reporting of delayed send errors.fenner2001-03-261-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Restore Lite-2 sccsid. Restore include of sys/param.h.charnier1998-05-131-2/+2
|
* Correct use of .Nm and other cosmetics. Add rcsid. Remove unused #inc.charnier1998-05-061-3/+4
|
* Off by 1 adjustment.charnier1997-06-021-2/+2
|
* Fix buffer overflowguido1997-03-101-2/+3
|
* 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, fix incorrect default string, cleanupsteve1996-12-141-2/+2
| | | | use of .Nm macros, and -Wall cleaning.
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
| | | | Reviewed by: phk
* Added $Id$dg1994-09-241-0/+2
|
* BSD 4.4 Lite bin Sourcesrgrimes1994-05-261-0/+182
OpenPOWER on IntegriCloud