aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-03-15 23:52:31 +0800
committerkris <kris@FreeBSD.org>2002-03-15 23:52:31 +0800
commit19f12ac5500793600233612cd874cdbc78116340 (patch)
treefa1849a4e4790501b01ef7247906708e8da54627
parent84d039c33bd6b13c6d0097ce46d2fcefb9496618 (diff)
downloadfreebsd-ports-gnome-19f12ac5500793600233612cd874cdbc78116340.tar.gz
freebsd-ports-gnome-19f12ac5500793600233612cd874cdbc78116340.tar.zst
freebsd-ports-gnome-19f12ac5500793600233612cd874cdbc78116340.zip
Fix build. The code prototypes a function as returning long, then
declares it 2 lines later as returning a time_t. Go figure. Submitted by: bento
-rw-r--r--net-p2p/libfreenet/files/patch-client_util.c13
-rw-r--r--net/libfreenet/files/patch-client_util.c13
2 files changed, 22 insertions, 4 deletions
diff --git a/net-p2p/libfreenet/files/patch-client_util.c b/net-p2p/libfreenet/files/patch-client_util.c
index d6a08a6655b4..3fd891db3122 100644
--- a/net-p2p/libfreenet/files/patch-client_util.c
+++ b/net-p2p/libfreenet/files/patch-client_util.c
@@ -1,5 +1,14 @@
---- client_util.c.orig Wed Mar 28 19:27:38 2001
-+++ client_util.c Sat Mar 31 15:07:59 2001
+--- client_util.c.orig Wed Mar 28 03:27:38 2001
++++ client_util.c Fri Mar 15 07:54:32 2002
+@@ -37,7 +37,7 @@
+ #endif
+
+
+-long blstr2time(char *baseline);
++time_t blstr2time(char *baseline);
+ int timediff();
+
+
@@ -60,13 +60,14 @@
int timediff ()
diff --git a/net/libfreenet/files/patch-client_util.c b/net/libfreenet/files/patch-client_util.c
index d6a08a6655b4..3fd891db3122 100644
--- a/net/libfreenet/files/patch-client_util.c
+++ b/net/libfreenet/files/patch-client_util.c
@@ -1,5 +1,14 @@
---- client_util.c.orig Wed Mar 28 19:27:38 2001
-+++ client_util.c Sat Mar 31 15:07:59 2001
+--- client_util.c.orig Wed Mar 28 03:27:38 2001
++++ client_util.c Fri Mar 15 07:54:32 2002
+@@ -37,7 +37,7 @@
+ #endif
+
+
+-long blstr2time(char *baseline);
++time_t blstr2time(char *baseline);
+ int timediff();
+
+
@@ -60,13 +60,14 @@
int timediff ()