ports/graphics/hpoj/files/extra-patch-mlcd-ParPort.h
Oliver Braun 30f60ee03e Use libio on alpha (-STABLE & -CURRENT).
PR:		ports/52633
Submitted by:	maintainer
2003-06-01 08:06:38 +00:00

14 lines
321 B
C++

--- mlcd/ParPort.h.orig Sat May 24 08:02:19 2003
+++ mlcd/ParPort.h Sat May 24 07:59:13 2003
@@ -27,6 +27,11 @@
#define ERROR_NO_DATA ERROR /* TODO: Remove. */
+extern "C" {
+extern u_char inb (u_int port);
+extern void outb(u_int port, u_char data);
+}
+
class ParPort {
protected: // ATTRIB
int portType;