Date: Mon, 1 Sep 1997 11:44:28 -0700 (PDT) From: Howard Lew <hlew@www2.shoppersnet.com> To: freebsd-bugs@freebsd.org Subject: 2.2-970831-RELENG FreeBSD and lpt Message-ID: <Pine.BSF.3.91.970901113839.28043A-100000@www2.shoppersnet.com>
next in thread | raw e-mail | index | archive | help
In 2.2-970831-RELENG SNAP Printing problem with /dev/lpt... It's missing a prototype causing kernel compile to give: ../../i386/isa/lpt.c: In function `lptout': ../../i386/isa/lpt.c:597: warning: implicit declaration of function `lptintr' ../../i386/isa/lpt.c: At top level: ../../i386/isa/lpt.c:763: warning: no previous prototype for `lptintr' ../../i386/isa/lpt.c:763: warning: type mismatch with previous external decl ../../i386/isa/lpt.c:597: warning: previous external decl of `lptintr' ../../i386/isa/lpt.c:763: warning: type mismatch with previous implicit declaration ../../i386/isa/lpt.c:733: warning: previous implicit declaration of `lptintr' ../../i386/isa/lpt.c:763: warning: `lptintr' was previously implicitly declared to return `int' This causes problems printing... I believe the trivial fix is to add the prototype void lptintr(int);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970901113839.28043A-100000>