summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-28 17:28:02 +0000
committersteve <steve@FreeBSD.org>2000-01-28 17:28:02 +0000
commit3609534ea17d1b2ea3058988368734aba7ab7c3b (patch)
treecc3b54f3b52912fb67f8509230dc7e4e48e25fbf
parent36e49158ca84842398113769eaad686c6e7099c6 (diff)
downloadFreeBSD-ports-3609534ea17d1b2ea3058988368734aba7ab7c3b.zip
FreeBSD-ports-3609534ea17d1b2ea3058988368734aba7ab7c3b.tar.gz
time(3) returns a time_t and not a long.
-rw-r--r--benchmarks/bytebench/files/patch-af11
-rw-r--r--benchmarks/unixbench/files/patch-af11
-rw-r--r--cad/magic/files/patch-ad11
-rw-r--r--cad/sis/files/patch-ac11
-rw-r--r--cad/sis/files/patch-ad11
-rw-r--r--cad/sis/files/patch-ae11
-rw-r--r--cad/sis/files/patch-af11
-rw-r--r--irc/party/files/patch-aa12
8 files changed, 89 insertions, 0 deletions
diff --git a/benchmarks/bytebench/files/patch-af b/benchmarks/bytebench/files/patch-af
new file mode 100644
index 0000000..bf25a76
--- /dev/null
+++ b/benchmarks/bytebench/files/patch-af
@@ -0,0 +1,11 @@
+--- src/dhry_1.c.orig Thu Jan 27 21:23:37 2000
++++ src/dhry_1.c Thu Jan 27 21:24:08 2000
+@@ -78,7 +78,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 */
diff --git a/benchmarks/unixbench/files/patch-af b/benchmarks/unixbench/files/patch-af
new file mode 100644
index 0000000..bf25a76
--- /dev/null
+++ b/benchmarks/unixbench/files/patch-af
@@ -0,0 +1,11 @@
+--- src/dhry_1.c.orig Thu Jan 27 21:23:37 2000
++++ src/dhry_1.c Thu Jan 27 21:24:08 2000
+@@ -78,7 +78,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 */
diff --git a/cad/magic/files/patch-ad b/cad/magic/files/patch-ad
new file mode 100644
index 0000000..03a6d82
--- /dev/null
+++ b/cad/magic/files/patch-ad
@@ -0,0 +1,11 @@
+--- misc/niceabort.c.orig Thu Jan 27 21:59:20 2000
++++ misc/niceabort.c Thu Jan 27 21:59:33 2000
+@@ -52,7 +52,7 @@
+ bool AbortFatal = FALSE;
+
+ /* For lint */
+-long time();
++time_t time();
+ char *ctime();
+
+ void
diff --git a/cad/sis/files/patch-ac b/cad/sis/files/patch-ac
new file mode 100644
index 0000000..7ec522a
--- /dev/null
+++ b/cad/sis/files/patch-ac
@@ -0,0 +1,11 @@
+--- jedi/random.c.orig Thu Jan 27 22:04:58 2000
++++ jedi/random.c Thu Jan 27 22:12:50 2000
+@@ -29,7 +29,7 @@
+ {
+ int i, j;
+ int random_code;
+- long time();
++ time_t time();
+
+ /*
+ * generate random seed
diff --git a/cad/sis/files/patch-ad b/cad/sis/files/patch-ad
new file mode 100644
index 0000000..21f1489
--- /dev/null
+++ b/cad/sis/files/patch-ad
@@ -0,0 +1,11 @@
+--- nova/anneal_code.c.orig Fri Apr 22 21:02:21 1994
++++ nova/anneal_code.c Thu Jan 27 22:17:11 2000
+@@ -195,7 +195,7 @@
+ * Assign nodes initial encodings prior to annealing
+ */
+
+- long time();
++ time_t time();
+ int i,new_code,increment,range,seed,trandom();
+
+ /* seed = (int) time(0); */
diff --git a/cad/sis/files/patch-ae b/cad/sis/files/patch-ae
new file mode 100644
index 0000000..7db5ecd
--- /dev/null
+++ b/cad/sis/files/patch-ae
@@ -0,0 +1,11 @@
+--- nova/ihybrid_code.c.orig Thu Jan 27 22:21:28 2000
++++ nova/ihybrid_code.c Thu Jan 27 22:21:37 2000
+@@ -932,7 +932,7 @@
+
+ {
+
+- long time();
++ time_t time();
+ int code_bits,i,new_code,increment,range,seed,trandom();
+
+ if (VERBOSE) printf("\nI generated a random code\n");
diff --git a/cad/sis/files/patch-af b/cad/sis/files/patch-af
new file mode 100644
index 0000000..05d9ee3
--- /dev/null
+++ b/cad/sis/files/patch-af
@@ -0,0 +1,11 @@
+--- nova/log_output.c.orig Thu Jan 27 22:23:24 2000
++++ nova/log_output.c Thu Jan 27 22:23:38 2000
+@@ -157,7 +157,7 @@
+
+ {
+
+- long time();
++ time_t time();
+ int i,new_code,increment,range,current_size,seed,trandom();
+
+ seed = (int) time(0);
diff --git a/irc/party/files/patch-aa b/irc/party/files/patch-aa
new file mode 100644
index 0000000..59702be
--- /dev/null
+++ b/irc/party/files/patch-aa
@@ -0,0 +1,12 @@
+--- party.h.orig Thu Jan 27 21:04:32 2000
++++ party.h Thu Jan 27 21:05:01 2000
+@@ -470,7 +470,8 @@
+ struct passwd *getpwnam(), *getpwuid();
+ struct chnname *who_clist(), *addchn();
+ char *leafname();
+-long time(), backup();
++long backup();
++time_t time();
+ vint (*oldsigpipe)();
+ vint (*(signal()))();
+ FILE *upopen();
OpenPOWER on IntegriCloud