summaryrefslogtreecommitdiff
path: root/console-tools/deallocvt.c
diff options
context:
space:
mode:
authorEric Andersen2000-07-08 18:55:24 +0000
committerEric Andersen2000-07-08 18:55:24 +0000
commitbd22ed806782eec76929bcd2ec556717e79d24c7 (patch)
treee225367aaef198eacec8ed0b530d36a9d888d92f /console-tools/deallocvt.c
parent877a71bbf0b8386add4631c08f7101259ad2dc07 (diff)
downloadbusybox-bd22ed806782eec76929bcd2ec556717e79d24c7.zip
busybox-bd22ed806782eec76929bcd2ec556717e79d24c7.tar.gz
Update files to reduce dependance on kernel version...
-Erik
Diffstat (limited to 'console-tools/deallocvt.c')
-rw-r--r--console-tools/deallocvt.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c
index b65f7b0..0cad771 100644
--- a/console-tools/deallocvt.c
+++ b/console-tools/deallocvt.c
@@ -5,11 +5,14 @@
*/
#include "internal.h"
#include <stdlib.h>
+#include <stdio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/ioctl.h>
-#include <linux/vt.h>
-#include <stdio.h>
+
+/* From <linux/vt.h> */
+#define VT_DISALLOCATE 0x5608 /* free memory associated to vt */
+
char *progname;