From a39a7bceee89cc4c10293c90b04f4380e0b3ab27 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Fri, 8 Aug 1997 20:29:47 +0000 Subject: [PATCH] Make a function static to quieten gcc --- sys/i386/i386/cons.c | 6 +++--- sys/kern/tty_cons.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/i386/i386/cons.c b/sys/i386/i386/cons.c index a93eac5b00bd..0f8c57d7779e 100644 --- a/sys/i386/i386/cons.c +++ b/sys/i386/i386/cons.c @@ -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 @@ -172,8 +172,8 @@ cninit_finish() cn_dev_t = cn_tp->t_dev; } -void -cnuninit() +static void +cnuninit(void) { struct cdevsw *cdp; diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c index a93eac5b00bd..0f8c57d7779e 100644 --- a/sys/kern/tty_cons.c +++ b/sys/kern/tty_cons.c @@ -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 @@ -172,8 +172,8 @@ cninit_finish() cn_dev_t = cn_tp->t_dev; } -void -cnuninit() +static void +cnuninit(void) { struct cdevsw *cdp;