summaryrefslogtreecommitdiffstats
path: root/usr.bin/leave/leave.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Static'ify signal handler which is not called from outside.delphij2009-11-031-1/+1
|
* ANSIify function definitions.dwmalone2002-09-041-10/+7
| | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5
* Consistently use FBSDIDobrien2002-06-301-2/+2
|
* remove __Pimp2002-03-221-2/+2
|
* Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. Thesheldonh2001-07-261-5/+5
| | | | | | | definitions are more readable, and it's possible that they're more portable to pathalogical platforms. Submitted by: David Hill <david@phobia.ms>
* Include missing header files which define functions for which gcc hasdd2001-06-241-0/+1
| | | | | | builtins (e.g., exit). Submitted by: Mike Barcroft <mike@q9media.com>
* Remove home-grown prototypes of time() and localtime().dd2001-05-301-3/+3
| | | | Reviewed by: md5(1)
* Call usage() if given more than 1 argument.kris2001-04-241-2/+4
| | | | | Submitted by: "Andrew R. Reiter" <arr@watson.org> Obtained from: OpenBSD
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Don't let secs variable wrap if <= 2.steve1998-04-141-2/+3
| | | | | PR: 6290 Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
* 1. Don't reject 0145 if started at 22XX.helbig1998-01-061-14/+35
| | | | | | | | | | | | | | | Applied suggested fix from Andrew Andrew <andrew@ugh.net.au> with some stylistic changes. Thanks. 2. #include <sys/time.h> -> #include <time.h> 3. Removed #include <sys/param.h> 4. Use setlocale(3) and strftime(3) instead of ctime(3). 5. Clean up -Wall warnings. 6. Make sure, time to leave are integral minutes if the argument is absolute. (i. e. without "+"). If started at 10:10:55 with argument "1020" it computed time to leave as 10:20:55 instead of 10:20:00. PR: 5395
* Check fgets' return value, silent -Wall.charnier1997-07-211-5/+16
| | | | Obtained from: OpenBSD
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+163
OpenPOWER on IntegriCloud