summaryrefslogtreecommitdiff
path: root/lib/libarch/alpha
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-10-01 19:37:17 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-10-01 19:37:17 +0000
commit6c8d318a056e70f92a487ab483553d455ad77e55 (patch)
treef2e44e7b2a38c7777df13e4eca5254dfa1aa580f /lib/libarch/alpha
parente9181911eaafdff09ae8b5ebe87178f37abf2486 (diff)
Do not `return' in void functions.
Amazingly, compiler does not complain (lint does).
Diffstat (limited to 'lib/libarch/alpha')
-rw-r--r--lib/libarch/alpha/io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libarch/alpha/io.c b/lib/libarch/alpha/io.c
index 89c648a2064..c7c7474bec7 100644
--- a/lib/libarch/alpha/io.c
+++ b/lib/libarch/alpha/io.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: io.c,v 1.1 2002/07/07 14:24:04 matthieu Exp $ */
+/* $OpenBSD: io.c,v 1.2 2009/10/01 19:37:16 miod Exp $ */
/*-
* Copyright (c) 1998 Doug Rabson
* All rights reserved.
@@ -150,19 +150,19 @@ writel(void *handle, u_int32_t offset, u_int32_t val)
void
writeb_nb(void *handle, u_int32_t offset, u_int8_t val)
{
- return ops->writeb(handle, offset, val);
+ ops->writeb(handle, offset, val);
}
void
writew_nb(void *handle, u_int32_t offset, u_int16_t val)
{
- return ops->writew(handle, offset, val);
+ ops->writew(handle, offset, val);
}
void
writel_nb(void *handle, u_int32_t offset, u_int32_t val)
{
- return ops->writel(handle, offset, val);
+ ops->writel(handle, offset, val);
}
u_int64_t