summaryrefslogtreecommitdiff
path: root/device/cons.c
diff options
context:
space:
mode:
Diffstat (limited to 'device/cons.c')
-rw-r--r--device/cons.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/device/cons.c b/device/cons.c
index 285fb99..b04621a 100644
--- a/device/cons.c
+++ b/device/cons.c
@@ -58,7 +58,7 @@ static boolean_t consbufused = FALSE;
#endif /* CONSBUFSIZE > 0 */
void
-cninit()
+cninit(void)
{
struct consdev *cp;
dev_ops_t cn_ops;
@@ -120,7 +120,7 @@ cninit()
int
-cngetc()
+cngetc(void)
{
if (cn_tab)
return ((*cn_tab->cn_getc)(cn_tab->cn_dev, 1));
@@ -130,7 +130,7 @@ cngetc()
}
int
-cnmaygetc()
+cnmaygetc(void)
{
if (cn_tab)
return((*cn_tab->cn_getc)(cn_tab->cn_dev, 0));