diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-08-30 03:09:28 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2011-08-30 23:26:33 +0200 |
commit | e262931bb794267aa0f1a420c848767800bed7c3 (patch) | |
tree | af785d61f6ce3d85b4791bd492098cc12bee8aaa | |
parent | 54771e827e3e2e228178f4c1286b6736181c23fa (diff) |
Return a value on non-void function
* i386/i386at/com.c (comcnprobe, comcninit, comcnputc): Return 0.
-rw-r--r-- | i386/i386at/com.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |