Compiler warnings removed.
[cake.git] / workbench / c / Shutdown.c
blob14d083c820f47575333fcf79a85e57a510f4814b
1 #include <exec/tasks.h>
2 #include <proto/dos.h>
3 #include <proto/exec.h>
5 /**************************************************************************
7 NAME
8 Shutdown
10 SYNOPSIS
11 (N/A)
13 LOCATION
14 Sys:c
16 FUNCTION
17 Shut down AROS and power off the machine.
19 **************************************************************************/
22 int main(void)
24 ShutdownA(SD_ACTION_POWEROFF);
25 PutStr("Software power off is not supported\n");
26 return 0;