From 7c0414b5dd8952d49fcf66335540b882c4147129 Mon Sep 17 00:00:00 2001 From: angelos Date: Tue, 25 Nov 1997 20:22:50 +0000 Subject: [PATCH] Fix warning. --- archivers/unarj/patches/patch-ac | 40 ++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/archivers/unarj/patches/patch-ac b/archivers/unarj/patches/patch-ac index 4c1bc84dfc1..cfa0937bf8a 100644 --- a/archivers/unarj/patches/patch-ac +++ b/archivers/unarj/patches/patch-ac @@ -1,10 +1,30 @@ ---- environ.c.orig Sun Nov 16 12:19:05 1997 -+++ environ.c Sun Nov 16 12:21:17 1997 -@@ -436,7 +436,6 @@ - #endif - - extern struct tm *localtime(); --extern time_t time(); - extern char *strcpy(); - extern voidp *malloc(); - +*** environ.c.orig Tue Nov 25 15:13:34 1997 +--- environ.c Tue Nov 25 15:19:24 1997 +*************** +*** 431,442 **** + + #include + + #ifndef time_t + #define time_t long + #endif + + extern struct tm *localtime(); +- extern time_t time(); + extern char *strcpy(); + extern voidp *malloc(); + +--- 431,443 ---- + + #include + ++ #if !(defined(__OpenBSD__)) + #ifndef time_t + #define time_t long + #endif ++ #endif + + extern struct tm *localtime(); + extern char *strcpy(); + extern voidp *malloc(); +