diff options
Diffstat (limited to 'comms/plp/patches/patch-aj')
-rw-r--r-- | comms/plp/patches/patch-aj | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/comms/plp/patches/patch-aj b/comms/plp/patches/patch-aj new file mode 100644 index 00000000000..25000402909 --- /dev/null +++ b/comms/plp/patches/patch-aj @@ -0,0 +1,46 @@ +$NetBSD: patch-aj,v 1.1 2004/09/08 12:47:39 wiz Exp $ + +--- ncp/link.cc.orig 1999-04-12 23:49:12.000000000 +0200 ++++ ncp/link.cc +@@ -30,7 +30,7 @@ + #include "bufferstore.h" + #include "bufferarray.h" + +-link::link(const char *fname, int baud, IOWatch &iow, bool _s5, bool _verbose) : ++Link::Link(const char *fname, int baud, IOWatch &iow, bool _s5, bool _verbose) : + s5(_s5) + { + p = new packet(fname, baud, iow, PACKET_LAYER_DIAGNOSTICS); +@@ -43,16 +43,16 @@ link::link(const char *fname, int baud, + failed = false; + } + +-link::~link() { ++Link::~Link() { + delete p; + } + +-void link::send(const bufferStore &buff) { ++void Link::send(const bufferStore &buff) { + if (buff.getLen() > 300) abort(); + sendQueue.pushBuffer(buff); + } + +-bufferArray link::poll() { ++bufferArray Link::poll() { + bufferArray ret; + bufferStore buff; + unsigned char type; +@@ -145,10 +145,10 @@ bufferArray link::poll() { + return ret; + } + +-bool link::stuffToSend() { ++bool Link::stuffToSend() { + return (somethingToSend || !sendQueue.empty()); + } + +-bool link::hasFailed() { ++bool Link::hasFailed() { + return failed; + } |