Bring prototypes into scope.

This commit is contained in:
christos 1996-03-14 19:05:07 +00:00
parent 357fb0e430
commit e023a87a11
4 changed files with 13 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: audio.c,v 1.21 1996/03/07 15:00:07 christos Exp $ */
/* $NetBSD: audio.c,v 1.22 1996/03/14 19:08:32 christos Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@ -76,6 +76,7 @@
#include <sys/systm.h>
#include <sys/syslog.h>
#include <sys/kernel.h>
#include <sys/signalvar.h>
#include <sys/audioio.h>
#include <dev/audiovar.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: cons.h,v 1.13 1996/02/04 02:04:17 christos Exp $ */
/* $NetBSD: cons.h,v 1.14 1996/03/14 19:08:35 christos Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -80,6 +80,8 @@ int cnioctl __P((dev_t, u_long, caddr_t, int, struct proc *));
int cnselect __P((dev_t, int, struct proc *));
int cngetc __P((void));
void cnputc __P((int));
void cnpollc __P((int));
void cnrint __P((void));
void nullcnpollc __P((dev_t, int));
/* console-specific types */

View File

@ -1,4 +1,4 @@
/* $NetBSD: am7990.c,v 1.10 1996/01/02 21:51:56 thorpej Exp $ */
/* $NetBSD: am7990.c,v 1.11 1996/03/14 19:05:07 christos Exp $ */
/*-
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@ -56,7 +56,9 @@
#if defined(CCITT) && defined(LLC)
#include <sys/socketvar.h>
#include <netccitt/x25.h>
extern llc_ctlinput(), cons_rtrequest();
#include <netccitt/pk.h>
#include <netccitt/pk_var.h>
#include <netccitt/pk_extern.h>
#endif
#if NBPFILTER > 0
@ -790,7 +792,7 @@ leioctl(ifp, cmd, data)
#if defined(CCITT) && defined(LLC)
case SIOCSIFCONF_X25:
ifp->if_flags |= IFF_UP;
ifa->ifa_rtrequest = (void (*)())cons_rtrequest; /* XXX */
ifa->ifa_rtrequest = cons_rtrequest; /* XXX */
error = x25_llcglue(PRC_IFUP, ifa->ifa_addr);
if (error == 0)
leinit(sc);

View File

@ -1,4 +1,4 @@
/* $NetBSD: am7990var.h,v 1.3 1995/12/11 19:48:58 mycroft Exp $ */
/* $NetBSD: am7990var.h,v 1.4 1996/03/14 19:05:09 christos Exp $ */
/*
* Copyright (c) 1995 Charles M. Hannum. All rights reserved.
@ -45,8 +45,8 @@ void lestart __P((struct ifnet *));
void lestop __P((struct le_softc *));
void lewatchdog __P((int));
integrate u_int16_t lerdcsr __P((/* struct le_softc *, u_int16_t */));
integrate void lewrcsr __P((/* struct le_softc *, u_int16_t, u_int16_t */));
integrate u_int16_t lerdcsr __P((struct le_softc *, u_int16_t));
integrate void lewrcsr __P((struct le_softc *, u_int16_t, u_int16_t));
integrate void lerint __P((struct le_softc *));
integrate void letint __P((struct le_softc *));