93a45e33f9
* Add workaround for NetBSD/amd64. Not tested under other LP64PLATFORMS and OSes. * Include some header files to resolve implicit uses. * Fix some warinigs.
12 lines
342 B
C
12 lines
342 B
C
$NetBSD: patch-main.h,v 1.1 2021/08/27 03:41:41 ryoon Exp $
|
|
|
|
* Forward declare init() in main.c to use from xcopilot.c.
|
|
|
|
--- main.h.orig 1998-08-22 20:25:01.000000000 +0000
|
|
+++ main.h
|
|
@@ -33,3 +33,5 @@ typedef struct {
|
|
/* thread variables */
|
|
int threads; /* number of threads created */
|
|
} Pilot, *Pilot_P;
|
|
+
|
|
+int init(Pilot *);
|