summaryrefslogtreecommitdiff
path: root/comms/plp/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'comms/plp/patches/patch-am')
-rw-r--r--comms/plp/patches/patch-am31
1 files changed, 31 insertions, 0 deletions
diff --git a/comms/plp/patches/patch-am b/comms/plp/patches/patch-am
new file mode 100644
index 00000000000..21a78259c65
--- /dev/null
+++ b/comms/plp/patches/patch-am
@@ -0,0 +1,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];