From c5134c7759b7a3f0c4ed0b57a1ab8e49666ee4b6 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Thu, 19 Jan 2023 14:22:31 -0500 Subject: Remove existing old style definitions and use -Wold-style-definition. Message-Id: --- device/dev_lookup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'device/dev_lookup.c') diff --git a/device/dev_lookup.c b/device/dev_lookup.c index bebdf6f3..994452cd 100644 --- a/device/dev_lookup.c +++ b/device/dev_lookup.c @@ -295,8 +295,7 @@ dev_port_lookup(ipc_port_t port) * Consumes a device reference; produces a naked send right. */ ipc_port_t -convert_device_to_port(device) - const device_t device; +convert_device_to_port(const device_t device) { if (device == DEVICE_NULL) return IP_NULL; -- cgit v1.2.3