From 84e0fb3f287864eca3a9322ef364b913f6a260bd Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sun, 25 Dec 2022 20:41:46 -0500 Subject: Fix some warnings with -Wmissing-prototypes. Marked some functions as static (private) as needed and added missing includes. This also revealed some dead code which was removed. Note that -Wmissing-prototypes is not enabled here since there is a bunch more warnings. Message-Id: --- vm/vm_debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/vm_debug.c') diff --git a/vm/vm_debug.c b/vm/vm_debug.c index 3339d0c8..c76e63b7 100644 --- a/vm/vm_debug.c +++ b/vm/vm_debug.c @@ -65,7 +65,7 @@ * or IP_NULL if the object or its name port is null. */ -ipc_port_t +static ipc_port_t vm_object_real_name(vm_object_t object) { ipc_port_t port = IP_NULL; -- cgit v1.2.3