summaryrefslogtreecommitdiff
path: root/comms/plp/patches/patch-am
blob: 21a78259c65fe3e353817c3ef5e9d59d86922ced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-am,v 1.1 2004/09/08 12:47:39 wiz Exp $

--- ncp/ncp.h.orig	1999-04-12 23:22:43.000000000 +0200
+++ ncp/ncp.h
@@ -3,7 +3,7 @@
 
 #include "bool.h"
 #include "bufferstore.h"
-class link;
+class Link;
 class channel;
 class IOWatch;
 
@@ -21,6 +21,8 @@ public:
   bool gotLinkChannel();
   
 private:
+  friend class Link;
+
   enum c { MAX_LEN = 200, LAST_MESS = 1, NOT_LAST_MESS = 2 };
   enum interControllerMessageType {
     // Inter controller message types
@@ -37,7 +39,7 @@ private:
   void decodeControlMessage(bufferStore &buff);
   void controlChannel(int chan, enum interControllerMessageType t, bufferStore &command);
   
-  link *l;
+  Link *l;
   channel *channelPtr[8];
   bufferStore messageList[8];
   int remoteChanList[8];