blob: 06af9c945c370fe3148eb92963996c92379a8cfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-af,v 1.1 1999/08/30 02:35:10 simonb Exp $
--- source/death.c.orig Fri Jul 22 11:47:16 1994
+++ source/death.c Sun Aug 29 09:28:44 1999
@@ -126,7 +126,7 @@
#ifndef VMS
#ifndef MAC
#if !defined(ATARIST_MWC) && !defined(AMIGA)
-long time();
+time_t time();
#endif
#endif
#endif
@@ -144,9 +144,9 @@
#ifdef MAC
clockvar = time((time_t *) 0);
#else
- clockvar = time((long *) 0);
+ clockvar = time((time_t *) 0);
#endif
- tmp = ctime(&clockvar);
+ tmp = ctime((time_t *)&clockvar);
tmp[10] = '\0';
(void) strcpy(day, tmp);
}
|