diff options
author | Rob Landley <rob@landley.net> | 2006-03-10 19:22:06 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-03-10 19:22:06 +0000 |
commit | bc68cd14ccaebc17e7e03a08e51fddfb91007624 (patch) | |
tree | beb32cedafc6232bf8a49fe90f0769d471ea6791 /console-tools/chvt.c | |
parent | dae6aa28598cb2353291f18ca52e768c3259165a (diff) | |
download | busybox-w32-bc68cd14ccaebc17e7e03a08e51fddfb91007624.tar.gz busybox-w32-bc68cd14ccaebc17e7e03a08e51fddfb91007624.tar.bz2 busybox-w32-bc68cd14ccaebc17e7e03a08e51fddfb91007624.zip |
Patch from Denis Vlasenko turning static const int (which gets emitted into
the busybox binary) into enums (which don't).
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r-- | console-tools/chvt.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c index b1a429eb3..252aed740 100644 --- a/console-tools/chvt.c +++ b/console-tools/chvt.c | |||
@@ -29,8 +29,10 @@ | |||
29 | #include "busybox.h" | 29 | #include "busybox.h" |
30 | 30 | ||
31 | /* From <linux/vt.h> */ | 31 | /* From <linux/vt.h> */ |
32 | static const int VT_ACTIVATE = 0x5606; /* make vt active */ | 32 | enum { |
33 | static const int VT_WAITACTIVE = 0x5607; /* wait for vt active */ | 33 | VT_ACTIVATE = 0x5606, /* make vt active */ |
34 | VT_WAITACTIVE = 0x5607 /* wait for vt active */ | ||
35 | }; | ||
34 | 36 | ||
35 | int chvt_main(int argc, char **argv) | 37 | int chvt_main(int argc, char **argv) |
36 | { | 38 | { |