9a369a50d0
by SHIMAOKA Shunsuke, with some modifications to the Makefile by me. The bytebench port was repo-copied to unixbench, before, to preserve its history. Submitted by: SHIMAOKA Shunsuke (shimaoka at st dot tutrp dot tut dot ac dot jp)
19 lines
645 B
C
19 lines
645 B
C
--- src/dhry_1.c.orig Sun Dec 19 01:45:10 2004
|
|
+++ src/dhry_1.c Sun Dec 19 01:45:59 2004
|
|
@@ -34,6 +34,7 @@
|
|
***************************************************************************/
|
|
char SCCSid[] = "@(#) @(#)dhry_1.c:3.4 -- 5/15/91 19:30:21";
|
|
|
|
+#include <sys/types.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
@@ -81,7 +82,7 @@
|
|
/* Measurements should last at least about 2 seconds */
|
|
#endif
|
|
#ifdef TIME
|
|
-extern long time();
|
|
+extern time_t time();
|
|
/* see library function "time" */
|
|
#define Too_Small_Time 2
|
|
/* Measurements should last at least 2 seconds */
|