From 8d4a84a44b85dd982f3130d004c29c8382f516ac Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 2 Mar 2019 15:39:43 -0800 Subject: shutdown: rename shutdown RPC to shutdown_shutdown For coherency with usage, and to avoid conflicting with shutdown(2) * hurd/shutdown.defs (shutdown): Rename to shutdown_shutdown. * shutdown/shutdown.c (S_shutdown): Rename to S_shutdown_shutdown. * startup/startup.c (do_shutdown): Call shutdown_shutdown instead of shutdown. --- shutdown/shutdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shutdown/shutdown.c') diff --git a/shutdown/shutdown.c b/shutdown/shutdown.c index 44ae975a..f821b1f2 100644 --- a/shutdown/shutdown.c +++ b/shutdown/shutdown.c @@ -54,7 +54,7 @@ struct port_class *trivfs_protid_class; struct port_class *trivfs_control_class; kern_return_t -S_shutdown(trivfs_protid_t server) +S_shutdown_shutdown(trivfs_protid_t server) { disappear_via_acpi(); return 0; -- cgit v1.2.3