aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hurd/shutdown.defs2
-rw-r--r--shutdown/shutdown.c2
-rw-r--r--startup/startup.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/hurd/shutdown.defs b/hurd/shutdown.defs
index b2ceb751..afd586bc 100644
--- a/hurd/shutdown.defs
+++ b/hurd/shutdown.defs
@@ -28,6 +28,6 @@ SHUTDOWN_IMPORTS
/*
* Shut down the computer
*/
-routine shutdown (
+routine shutdown_shutdown (
server : shutdown_t
);
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;
diff --git a/startup/startup.c b/startup/startup.c
index 33b5b9f2..fd16eb73 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -189,7 +189,7 @@ do_shutdown (void)
if (! MACH_PORT_VALID (pc))
return errno;
- shutdown (pc);
+ shutdown_shutdown (pc);
return 0;
}