summaryrefslogtreecommitdiff
path: root/net/rmsg
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-09-20 02:22:39 +0000
committerSteve Price <steve@FreeBSD.org>1999-09-20 02:22:39 +0000
commit519f9f2da83473bcc33c368fd9db1f886ecd7991 (patch)
tree2e8e8ab95009d9a2a00c469ad989219bb4bbfdfb /net/rmsg
parentUse time_t instead of long when call time functions. Also add '-lio' (diff)
time(3) returns a time_t and not a long.
Notes
Notes: svn path=/head/; revision=21808
Diffstat (limited to 'net/rmsg')
-rw-r--r--net/rmsg/files/patch-ad21
-rw-r--r--net/rmsg/files/patch-ae11
2 files changed, 30 insertions, 2 deletions
diff --git a/net/rmsg/files/patch-ad b/net/rmsg/files/patch-ad
index 04fc20e31f2f..023cb649b00f 100644
--- a/net/rmsg/files/patch-ad
+++ b/net/rmsg/files/patch-ad
@@ -1,5 +1,22 @@
-*** server.c.orig Sat Jun 26 23:23:23 1993
---- server.c Mon Oct 9 14:23:17 1995
+*** server.c.orig Sat Jun 26 16:23:23 1993
+--- server.c Sun Sep 19 16:48:42 1999
+***************
+*** 66,72 ****
+ #else
+ char *malloc();
+ #endif
+! long time();
+ uid_t getuid();
+ char *progname;
+ int debug = 0;
+--- 66,72 ----
+ #else
+ char *malloc();
+ #endif
+! time_t time();
+ uid_t getuid();
+ char *progname;
+ int debug = 0;
***************
*** 99,118 ****
}
diff --git a/net/rmsg/files/patch-ae b/net/rmsg/files/patch-ae
new file mode 100644
index 000000000000..e858dbafe6f4
--- /dev/null
+++ b/net/rmsg/files/patch-ae
@@ -0,0 +1,11 @@
+--- misc.c.orig Sun Sep 19 16:48:00 1999
++++ misc.c Sun Sep 19 16:48:12 1999
+@@ -24,7 +24,7 @@
+ #include "rmsgprot.h"
+
+ char *append(), *ctime(), *malloc(), *strcpy();
+-long time();
++time_t time();
+
+ char *basename(x)
+ char *x;