summaryrefslogtreecommitdiffstats
path: root/usr.bin/leave/Makefile
diff options
context:
space:
mode:
authorhelbig <helbig@FreeBSD.org>1998-01-06 17:27:09 +0000
committerhelbig <helbig@FreeBSD.org>1998-01-06 17:27:09 +0000
commited587dfb329fb9686b71bc799d96629e52d4d3d3 (patch)
tree1191b39d07281788b00a4373aaf7847590eccc67 /usr.bin/leave/Makefile
parent743267f0166b025491e17bb3f505becaca10bc79 (diff)
downloadFreeBSD-src-ed587dfb329fb9686b71bc799d96629e52d4d3d3.zip
FreeBSD-src-ed587dfb329fb9686b71bc799d96629e52d4d3d3.tar.gz
1. Don't reject 0145 if started at 22XX.
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
Diffstat (limited to 'usr.bin/leave/Makefile')
-rw-r--r--usr.bin/leave/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/leave/Makefile b/usr.bin/leave/Makefile
index 87a6ac3..4c61291 100644
--- a/usr.bin/leave/Makefile
+++ b/usr.bin/leave/Makefile
@@ -1,5 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $Id$
PROG= leave
+CFLAGS+=-Wall
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud