Make a function static to quieten gcc

This commit is contained in:
Julian Elischer 1997-08-08 20:29:47 +00:00
parent e142af9aba
commit a39a7bceee
2 changed files with 6 additions and 6 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
* $Id: cons.c,v 1.52 1997/07/01 00:52:37 bde Exp $
* $Id: cons.c,v 1.53 1997/08/08 20:09:50 julian Exp $
*/
#include <sys/param.h>
@ -172,8 +172,8 @@ cninit_finish()
cn_dev_t = cn_tp->t_dev;
}
void
cnuninit()
static void
cnuninit(void)
{
struct cdevsw *cdp;

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
* $Id: cons.c,v 1.52 1997/07/01 00:52:37 bde Exp $
* $Id: cons.c,v 1.53 1997/08/08 20:09:50 julian Exp $
*/
#include <sys/param.h>
@ -172,8 +172,8 @@ cninit_finish()
cn_dev_t = cn_tp->t_dev;
}
void
cnuninit()
static void
cnuninit(void)
{
struct cdevsw *cdp;