blob: 53773831b7ffba89cf67a94f85956a6adc2114f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ab,v 1.1 2001/01/23 14:51:23 wiz Exp $
--- Clock.c.orig Fri Jan 6 16:20:00 1995
+++ Clock.c
@@ -598,8 +598,7 @@
*/
static int current_time()
{
- long time();
- long cl = time(0);
+ time_t cl = time(0);
struct tm *lt = localtime(&cl);
return 3600*lt->tm_hour + 60*lt->tm_min + lt->tm_sec;
|