From e262931bb794267aa0f1a420c848767800bed7c3 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 30 Aug 2011 03:09:28 +0200 Subject: Return a value on non-void function * i386/i386at/com.c (comcnprobe, comcninit, comcnputc): Return 0. --- i386/i386at/com.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'i386') diff --git a/i386/i386at/com.c b/i386/i386at/com.c index 3030270..4fed1ee 100644 --- a/i386/i386at/com.c +++ b/i386/i386at/com.c @@ -211,6 +211,8 @@ comcnprobe(struct consdev *cp) cp->cn_dev = makedev(maj, unit); cp->cn_pri = pri; + + return 0; } @@ -283,6 +285,7 @@ comcninit(struct consdev *cp) } } + return 0; } /* @@ -882,6 +885,8 @@ comcnputc(dev_t dev, int c) if (c == '\n') comcnputc(dev, '\r'); outb(addr, c); + + return 0; } int -- cgit v1.2.3