aboutsummaryrefslogtreecommitdiff
path: root/misc/simh-classic/pdp11_defs.h.patch
blob: b5e7a9a235b3d6e07e2787540510d63f39f832fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- PDP11/pdp11_defs.h	2017-02-10 15:31:48.000000000 +0000
+++ PDP11/.new/pdp11_defs.h	2022-02-07 20:45:14.270208500 +0000
@@ -900,13 +900,13 @@
 #define WrMemW(pa,d)    uc15_WrMemW (pa, d)
 #define WrMemB(pa, d)   uc15_WrMemB (pa, d)
 
-uint32 uc15_memsize;
-int32 uc15_RdMemW (int32 pa);
-int32 uc15_RdMemB (int32 pa);
-void uc15_WrMemW (int32 pa, int32 d);
-void uc15_WrMemB (int32 pa, int32 d);
-int32 Map_Read18 (uint32 ba, int32 bc, uint32 *buf);
-int32 Map_Write18 (uint32 ba, int32 bc, uint32 *buf);
+extern uint32 uc15_memsize;
+extern int32 uc15_RdMemW (int32 pa);
+extern int32 uc15_RdMemB (int32 pa);
+extern void uc15_WrMemW (int32 pa, int32 d);
+extern void uc15_WrMemB (int32 pa, int32 d);
+extern int32 Map_Read18 (uint32 ba, int32 bc, uint32 *buf);
+extern int32 Map_Write18 (uint32 ba, int32 bc, uint32 *buf);
 
 #else                                                   /* PDP-11 */