Replied: Tue, 22 Oct 1996 18:28:20 -0400
Replied: "Wolfgang Rupprecht <wolfgang@wsrcc.com> "
Received: from copland.udel.edu by huey.udel.edu id aa11085; 4 Oct 96 22:07 EDT
Received: from strauss.udel.edu (strauss.udel.edu [128.175.13.74]) by copland.udel.edu (8.7.6/8.7.3) with ESMTP id WAA22373 for <mills@copland.udel.edu>; Fri, 4 Oct 1996 22:07:16 -0400 (EDT)
Received: from wsrcc.com (wsrcc.com [140.174.88.1]) by strauss.udel.edu (8.7.6/8.7.3) with ESMTP id WAA13402 for <mills@udel.edu>; Fri, 4 Oct 1996 22:07:11 -0400 (EDT)
Received: (from wolfgang@localhost) by wsrcc.com (8.8.0/8.8.0) id TAA12851; Fri, 4 Oct 1996 19:01:53 -0700 (PDT)
Date: Fri, 4 Oct 1996 19:01:53 -0700 (PDT)
Message-Id: <199610050201.TAA12851@wsrcc.com>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
To: "David L. Mills" <mills@udel.edu>
Subject: xntp3-5.86 BSDI 2.1 compile problem
Organization: W S Rupprecht Computer Consulting, Fremont CA


bsdi 2.1 doesn't need or like the following decl from ntp_request.c:
  extern int syscall      P((int, void *, ...));

Sorry for not taking the time to figure out how to do a 
SYS_XXXX based ifdef.

diff started at Fri Oct  4 18:58:08
cd /v/src/xntp3-5.86/xntpd/
diff -u ntp_request.c.~1~ ntp_request.c
--- ntp_request.c.~1~	Fri Jul 19 11:46:41 1996
+++ ntp_request.c	Fri Oct  4 18:57:49 1996
@@ -207,7 +207,9 @@
 
 #ifndef NTP_SYSCALLS_LIBC
 #ifndef SYS_NETBSD
+#ifndef __bsdi__		/* for BSDI 2.1 */
 extern int syscall      P((int, void *, ...));
+#endif	/*SYS_BSDI*/
 #endif	/*SYS_NETBSD*/
 #endif /* NTP_SYSCALLS_LIBC */
 

diff exited abnormally with code 1 at Fri Oct  4 18:58:10

-wolfgang
-- 
Wolfgang Rupprecht    <wolfgang@wsrcc.com>     <http://www.wsrcc.com/> 
