From 4a1be513c08971b69d80f00478ade68cb25e7d3b Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Thu, 19 Jan 2023 14:22:12 -0500 Subject: Include mig generated device headers to avoid missing prototypes Some of the existing definitions lacked the const qualifier, which was added. Message-Id: --- device/dev_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device/dev_lookup.c') diff --git a/device/dev_lookup.c b/device/dev_lookup.c index febaebdd..bebdf6f3 100644 --- a/device/dev_lookup.c +++ b/device/dev_lookup.c @@ -116,7 +116,7 @@ dev_number_lookup(const dev_ops_t ops, int devnum) * table. */ mach_device_t -device_lookup(char *name) +device_lookup(const char *name) { dev_ops_t dev_ops; int dev_minor; -- cgit v1.2.3