summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/bus.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-10-16 01:22:41 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-10-16 01:22:41 +0000
commitc51dbb356e411b0eb7b415eed894e7707392950d (patch)
treea203a96c0296c6d64cbf4d42dd84366b9baa4b72 /sys/arch/sparc64/include/bus.h
parentcd3d72635c607393e202979b0d8b70dfc18f0d5f (diff)
Change function definitions using the identifier-list form used in the
1st edition of Kernighan and Ritchie's The C Programming Language, to that of the parameter-type-list form described in the ANSI X3.159-1989 standard. In ISO/IEC 9899:2023 drafts, there is only one form of function definition. "N2432 Remove support for function definitions with identifier lists". ok kettenis@
Diffstat (limited to 'sys/arch/sparc64/include/bus.h')
-rw-r--r--sys/arch/sparc64/include/bus.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/arch/sparc64/include/bus.h b/sys/arch/sparc64/include/bus.h
index 3f990d6572f..ec4f81462be 100644
--- a/sys/arch/sparc64/include/bus.h
+++ b/sys/arch/sparc64/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.35 2022/01/04 20:41:44 deraadt Exp $ */
+/* $OpenBSD: bus.h,v 1.36 2022/10/16 01:22:39 jsg Exp $ */
/* $NetBSD: bus.h,v 1.31 2001/09/21 15:30:41 wiz Exp $ */
/*-
@@ -327,12 +327,8 @@ void bus_space_render_tag(bus_space_tag_t, char*, size_t);
#define BUS_SPACE_BARRIER_WRITE 0x02 /* force write barrier */
static inline void
-bus_space_barrier(t, h, o, s, f)
- bus_space_tag_t t;
- bus_space_handle_t h;
- bus_size_t o;
- bus_size_t s;
- int f;
+bus_space_barrier(bus_space_tag_t t, bus_space_handle_t h, bus_size_t o,
+ bus_size_t s, int f)
{
#ifdef notyet
switch (f) {