summaryrefslogtreecommitdiff
path: root/sys/arch/armv7/omap
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-06-26 01:40:50 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-06-26 01:40:50 +0000
commitdcedd4374abb6f3456f8d6bc995601732ffaacf4 (patch)
treed1505a7186d140aa1f41f3c8e28a12c551ba400a /sys/arch/armv7/omap
parentf02c64296a18ec9595fe6efcb29e617c260ba9b9 (diff)
return type on a dedicated line when declaring functions
ok mglocker@
Diffstat (limited to 'sys/arch/armv7/omap')
-rw-r--r--sys/arch/armv7/omap/intc.c5
-rw-r--r--sys/arch/armv7/omap/omusbtll.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/armv7/omap/intc.c b/sys/arch/armv7/omap/intc.c
index 507a4a85f96..382dd632df0 100644
--- a/sys/arch/armv7/omap/intc.c
+++ b/sys/arch/armv7/omap/intc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: intc.c,v 1.14 2024/04/29 12:42:06 jsg Exp $ */
+/* $OpenBSD: intc.c,v 1.15 2024/06/26 01:40:49 jsg Exp $ */
/*
* Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org>
*
@@ -418,7 +418,8 @@ intc_tst(void *a)
}
void intc_test(void);
-void intc_test(void)
+void
+intc_test(void)
{
void * ih;
printf("about to register handler\n");
diff --git a/sys/arch/armv7/omap/omusbtll.c b/sys/arch/armv7/omap/omusbtll.c
index ada7b36c3af..937dec4f8b4 100644
--- a/sys/arch/armv7/omap/omusbtll.c
+++ b/sys/arch/armv7/omap/omusbtll.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: omusbtll.c,v 1.5 2021/10/24 17:52:28 mpi Exp $ */
+/* $OpenBSD: omusbtll.c,v 1.6 2024/06/26 01:40:49 jsg Exp $ */
/*
* Copyright (c) 2010 Dale Rahn <drahn@openbsd.org>
*
@@ -132,8 +132,8 @@ omusbtll_attach(struct device *parent, struct device *self, void *args)
omusbtll_init(0x3);
}
-
-void omusbtll_init(uint32_t channel_mask)
+void
+omusbtll_init(uint32_t channel_mask)
{
int i;
uint32_t val;