diff options
author | phk <phk@FreeBSD.org> | 1999-05-09 10:28:50 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1999-05-09 10:28:50 +0000 |
commit | 20c48466e9d7070bebd0805dc6291a4095892e1e (patch) | |
tree | 8d4e16258655ea23f43787bcdba7271b7a557e35 /sys/dev/sio | |
parent | aa8b8043367f7a0e4fd29146d3df83ee8866aee2 (diff) | |
download | FreeBSD-src-20c48466e9d7070bebd0805dc6291a4095892e1e.zip FreeBSD-src-20c48466e9d7070bebd0805dc6291a4095892e1e.tar.gz |
siocngetc & putc can be staticized.
Diffstat (limited to 'sys/dev/sio')
-rw-r--r-- | sys/dev/sio/sio.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 478ddc1..77ea392 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sio.c,v 1.233 1999/05/07 23:08:04 mckusick Exp $ + * $Id: sio.c,v 1.234 1999/05/08 21:59:30 dfr Exp $ * from: @(#)com.c 7.5 (Berkeley) 5/16/91 * from: i386/isa sio.c,v 1.234 */ @@ -2631,15 +2631,11 @@ static void siocnopen __P((struct siocnstate *sp, Port_t iobase, int speed)); static void siocntxwait __P((Port_t iobase)); #ifdef __i386__ -/* - * XXX: sciocnget() and sciocnputc() are not declared static, as they are - * referred to from i386/i386/i386-gdbstub.c. - */ static cn_probe_t siocnprobe; static cn_init_t siocninit; static cn_checkc_t siocncheckc; - cn_getc_t siocngetc; - cn_putc_t siocnputc; +static cn_getc_t siocngetc; +static cn_putc_t siocnputc; CONS_DRIVER(sio, siocnprobe, siocninit, siocngetc, siocncheckc, siocnputc); |