aboutsummaryrefslogtreecommitdiff
path: root/console-tools/chvt.c
diff options
context:
space:
mode:
authorlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-10 19:22:06 +0000
committerlandley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-10 19:22:06 +0000
commit07ea853040a1240d40fefe5bb871a5c3c98c77a6 (patch)
treebeb32cedafc6232bf8a49fe90f0769d471ea6791 /console-tools/chvt.c
parent8ee3984df387bf31ba1d652a861d7fedbac7bfa8 (diff)
downloadbusybox-w32-07ea853040a1240d40fefe5bb871a5c3c98c77a6.tar.gz
busybox-w32-07ea853040a1240d40fefe5bb871a5c3c98c77a6.tar.bz2
busybox-w32-07ea853040a1240d40fefe5bb871a5c3c98c77a6.zip
Patch from Denis Vlasenko turning static const int (which gets emitted into
the busybox binary) into enums (which don't). git-svn-id: svn://busybox.net/trunk/busybox@14513 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'console-tools/chvt.c')
-rw-r--r--console-tools/chvt.c6
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> */
32static const int VT_ACTIVATE = 0x5606; /* make vt active */ 32enum {
33static 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
35int chvt_main(int argc, char **argv) 37int chvt_main(int argc, char **argv)
36{ 38{