diff options
Diffstat (limited to 'net/rmsg/files/patch-ae')
-rw-r--r-- | net/rmsg/files/patch-ae | 41 |
1 files changed, 34 insertions, 7 deletions
diff --git a/net/rmsg/files/patch-ae b/net/rmsg/files/patch-ae index e858dbafe6f4..4661d739ebc9 100644 --- a/net/rmsg/files/patch-ae +++ b/net/rmsg/files/patch-ae @@ -1,11 +1,38 @@ ---- misc.c.orig Sun Sep 19 16:48:00 1999 -+++ misc.c Sun Sep 19 16:48:12 1999 -@@ -24,7 +24,7 @@ +--- misc.c 1991-11-08 07:10:03.000000000 -0500 ++++ misc.c 2013-04-23 17:48:12.000000000 -0400 +@@ -12,5 +12,7 @@ + */ + ++#include <libgen.h> + #include <stdio.h> ++#include <stdlib.h> + #include <sys/types.h> + #include <sys/types.h> +@@ -21,18 +23,9 @@ + #endif + #include <time.h> ++#include <rpc/rpc.h> + #include "rmsg.h" #include "rmsgprot.h" - char *append(), *ctime(), *malloc(), *strcpy(); +-char *append(), *ctime(), *malloc(), *strcpy(); -long time(); -+time_t time(); +- +-char *basename(x) +-char *x; +-{ +- char *tmp; +- if (tmp = rindex (x, '/')) tmp++; +- else tmp = x; +- return (tmp); +-} ++static char *append(); - char *basename(x) - char *x; + /* +@@ -107,5 +100,5 @@ + break; + case 'd': +- now = time((long *) NULL); ++ now = time(NULL); + p = ctime (&now); + /* We don't want the cr */ |