Fix (private) prototype of time(3), to make this compile on alpha.

This commit is contained in:
hubertf 2000-09-24 15:35:06 +00:00
parent b12a8cbb62
commit 4b7f82d484
2 changed files with 15 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: patch-sum,v 1.2 2000/08/23 23:24:08 wiz Exp $
$NetBSD: patch-sum,v 1.3 2000/09/24 15:35:06 hubertf Exp $
MD5 (patch-aa) = 580062ab453b62709d94e6719b13d5a7
MD5 (patch-ab) = ea792e20de0ae32d9f61cc23b475264a
@ -7,3 +7,4 @@ MD5 (patch-ad) = 264a5557c9b4f9fdd59dd43223640576
MD5 (patch-ae) = ebf427e1d675bbe7cf63c3f6946bcf2e
MD5 (patch-af) = b1f9ba02d55ec830b9ffc9116c556b2c
MD5 (patch-ag) = f6dd7ac5f273fd549fdeadfcf011e16f
MD5 (patch-ah) = f7416af1a131ad8e0c71d599a8f757a3

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ah,v 1.1 2000/09/24 15:35:06 hubertf Exp $
--- telnet/telnetd/sys_term.c.orig Sun Sep 24 11:23:05 2000
+++ telnet/telnetd/sys_term.c
@@ -1401,7 +1401,7 @@
char *autoname;
{
register int i;
-#if defined(OSF) || defined(ultrix) || defined(__hpux)
+#if defined(OSF) || defined(ultrix) || defined(__hpux) || defined(__NetBSD__)
time_t time();
#else
long time();