From owner-freebsd-bugs Mon Sep 1 11:36:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA14271 for bugs-outgoing; Mon, 1 Sep 1997 11:36:39 -0700 (PDT) Received: from www2.shoppersnet.com (shoppersnet.com [204.156.152.112]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA14266 for ; Mon, 1 Sep 1997 11:36:36 -0700 (PDT) Received: (from hlew@localhost) by www2.shoppersnet.com (8.8.5/8.8.5) id LAA28267; Mon, 1 Sep 1997 11:44:28 -0700 (PDT) Date: Mon, 1 Sep 1997 11:44:28 -0700 (PDT) From: Howard Lew To: freebsd-bugs@freebsd.org Subject: 2.2-970831-RELENG FreeBSD and lpt Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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);