summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_ix.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-09-19 18:55:37 +0000
committerbde <bde@FreeBSD.org>1995-09-19 18:55:37 +0000
commit190b17ed87280b0d691911615b093f2da62f8ac4 (patch)
tree083e432bb7d4d36885717d7d3e4c7b3effacecf4 /sys/i386/isa/if_ix.c
parent85bf2e6eb15393415f53809c3cf9ff8a133490e1 (diff)
downloadFreeBSD-src-190b17ed87280b0d691911615b093f2da62f8ac4.zip
FreeBSD-src-190b17ed87280b0d691911615b093f2da62f8ac4.tar.gz
Fix benign type mismatches in isa interrupt handlers. Many returned int
instead of void.
Diffstat (limited to 'sys/i386/isa/if_ix.c')
-rw-r--r--sys/i386/isa/if_ix.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/i386/isa/if_ix.c b/sys/i386/isa/if_ix.c
index cf6158f..a7adc3e 100644
--- a/sys/i386/isa/if_ix.c
+++ b/sys/i386/isa/if_ix.c
@@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_ix.c,v 1.6 1995/05/10 15:19:25 rgrimes Exp $
+ * $Id: if_ix.c,v 1.7 1995/05/30 08:02:15 rgrimes Exp $
*/
#include "ix.h"
@@ -148,7 +148,7 @@ int ixattach(struct isa_device *);
void ixinit(int);
void ixinit_rfa(int);
void ixinit_tfa(int);
-int ixintr(int);
+inthand2_t ixintr;
static inline void ixintr_cx(int);
static inline void ixintr_cx_free(int, cb_t *);
static inline void ixintr_fr(int);
@@ -1045,7 +1045,7 @@ ixinit_tfa(int unit) {
DEBUGEND
}
-int
+void
ixintr(int unit) {
ix_softc_t *sc = &ix_softc[unit];
struct ifnet *ifp = &sc->arpcom.ac_if;
@@ -1114,7 +1114,6 @@ ixintr_exit:
DEBUGBEGIN(DEBUGINTR)
DEBUGDO(printf(" ixintr exited\n");)
DEBUGEND
- return(0 /* XXX Should be ??? */);
}
static inline void
OpenPOWER on IntegriCloud