From 9b1fd3272e2eebe190bcddf83da8ea363b417fec Mon Sep 17 00:00:00 2001
From: Dima Dorfman
Date: Wed, 30 May 2001 02:38:10 +0000
Subject: [PATCH] Remove home-grown prototypes of time() and localtime().
Reviewed by: md5(1)
---
usr.bin/leave/leave.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/usr.bin/leave/leave.c b/usr.bin/leave/leave.c
index cfcbc75ed25e..b8e98a956125 100644
--- a/usr.bin/leave/leave.c
+++ b/usr.bin/leave/leave.c
@@ -70,8 +70,8 @@ main(argc, argv)
register u_int secs;
register int hours, minutes;
register char c, *cp = NULL;
- struct tm *t, *localtime();
- time_t now, time();
+ struct tm *t;
+ time_t now;
int plusnow, t_12_hour;
char buf[50];
@@ -142,7 +142,7 @@ doalarm(secs)
u_int secs;
{
register int bother;
- time_t daytime, time();
+ time_t daytime;
char tb[80];
int pid;