diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2015-03-18 14:10:22 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2015-03-18 14:10:52 +0100 |
commit | 4cd69dc57f99d0741543cfd2f69631187dce3b22 (patch) | |
tree | 5b9a67b7867efd8f0488ba162d8861c16c0bff7e | |
parent | b10756d64cc918f2dcb2db198cfe01cace851082 (diff) | |
download | runit-void-4cd69dc57f99d0741543cfd2f69631187dce3b22.tar.gz runit-void-4cd69dc57f99d0741543cfd2f69631187dce3b22.tar.xz runit-void-4cd69dc57f99d0741543cfd2f69631187dce3b22.zip |
halt: don't violate POSIX namespace.
-rw-r--r-- | halt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/halt.c b/halt.c index 90d5930..0405ced 100644 --- a/halt.c +++ b/halt.c @@ -6,13 +6,13 @@ extern char *__progname; -typedef enum {NOOP, HALT, REBOOT, POWEROFF} action_t; +typedef enum {NOOP, HALT, REBOOT, POWEROFF} action_type; int main(int argc, char *argv[]) { int do_sync = 1; int do_force = 0; int opt; - action_t action = NOOP; + action_type action = NOOP; if (strcmp(__progname, "halt") == 0) action = HALT; |