promcnputc now returns void

This commit is contained in:
cgd 1995-04-22 12:42:51 +00:00
parent 12dae0a656
commit 993d5501b3

View File

@ -1,4 +1,4 @@
/* $NetBSD: prom.c,v 1.1 1995/02/13 23:07:09 cgd Exp $ */ /* $NetBSD: prom.c,v 1.2 1995/04/22 12:42:51 cgd Exp $ */
/* /*
* Copyright (c) 1992, 1994, 1995 Carnegie Mellon University * Copyright (c) 1992, 1994, 1995 Carnegie Mellon University
@ -34,7 +34,7 @@
#include <dev/cons.h> #include <dev/cons.h>
/* XXX this is to fake out the console routines, while booting. */ /* XXX this is to fake out the console routines, while booting. */
int promcnputc __P((dev_t, int)); void promcnputc __P((dev_t, int));
int promcngetc __P((dev_t)); int promcngetc __P((dev_t));
void promcnpollc __P((dev_t, int)); void promcnpollc __P((dev_t, int));
struct consdev promcons = { NULL, NULL, promcngetc, promcnputc, struct consdev promcons = { NULL, NULL, promcngetc, promcnputc,
@ -76,7 +76,7 @@ init_prom_interface()
* is called in alpha_init. This is due to the hard coded address * is called in alpha_init. This is due to the hard coded address
* of the console area. * of the console area.
*/ */
int void
promcnputc(dev, c) promcnputc(dev, c)
dev_t dev; dev_t dev;
int c; int c;
@ -86,7 +86,7 @@ promcnputc(dev, c)
#ifdef notdef /* XXX */ #ifdef notdef /* XXX */
if (!prom_mapped) if (!prom_mapped)
return (0); return;
#endif #endif
s = splhigh(); s = splhigh();