aboutsummaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-20 06:14:08 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-20 06:14:08 +0000
commitcbe31dace5fb24304694d399b9eb267fbe752516 (patch)
tree49d1bb722d95eb1aded6b5d354ac86e56c481c10 /console-tools
parent94456f598417f2f61edb97b5ab67ddfdc408ad10 (diff)
downloadbusybox-w32-cbe31dace5fb24304694d399b9eb267fbe752516.tar.gz
busybox-w32-cbe31dace5fb24304694d399b9eb267fbe752516.tar.bz2
busybox-w32-cbe31dace5fb24304694d399b9eb267fbe752516.zip
It turns out that DODMALLOC was broken when I reorganized busybox.h
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/chvt.c2
-rw-r--r--console-tools/clear.c2
-rw-r--r--console-tools/deallocvt.c2
-rw-r--r--console-tools/dumpkmap.c2
-rw-r--r--console-tools/loadacm.c4
-rw-r--r--console-tools/loadfont.c2
-rw-r--r--console-tools/loadkmap.c2
-rw-r--r--console-tools/reset.c2
-rw-r--r--console-tools/setkeycodes.c2
9 files changed, 10 insertions, 10 deletions
diff --git a/console-tools/chvt.c b/console-tools/chvt.c
index f2e6d5f17..c4b3639df 100644
--- a/console-tools/chvt.c
+++ b/console-tools/chvt.c
@@ -4,12 +4,12 @@
4 * 4 *
5 * busyboxed by Erik Andersen 5 * busyboxed by Erik Andersen
6 */ 6 */
7#include "busybox.h"
8#include <stdio.h> 7#include <stdio.h>
9#include <stdlib.h> 8#include <stdlib.h>
10#include <fcntl.h> 9#include <fcntl.h>
11#include <sys/types.h> 10#include <sys/types.h>
12#include <sys/ioctl.h> 11#include <sys/ioctl.h>
12#include "busybox.h"
13 13
14/* From <linux/vt.h> */ 14/* From <linux/vt.h> */
15static const int VT_ACTIVATE = 0x5606; /* make vt active */ 15static const int VT_ACTIVATE = 0x5606; /* make vt active */
diff --git a/console-tools/clear.c b/console-tools/clear.c
index dab4b05a7..503bafa16 100644
--- a/console-tools/clear.c
+++ b/console-tools/clear.c
@@ -22,9 +22,9 @@
22 * 22 *
23 */ 23 */
24 24
25#include "busybox.h"
26#include <stdio.h> 25#include <stdio.h>
27#include <stdlib.h> 26#include <stdlib.h>
27#include "busybox.h"
28 28
29 29
30extern int clear_main(int argc, char **argv) 30extern int clear_main(int argc, char **argv)
diff --git a/console-tools/deallocvt.c b/console-tools/deallocvt.c
index 8c390c261..15cd0c9b9 100644
--- a/console-tools/deallocvt.c
+++ b/console-tools/deallocvt.c
@@ -3,12 +3,12 @@
3 * disalloc.c - aeb - 940501 - Disallocate virtual terminal(s) 3 * disalloc.c - aeb - 940501 - Disallocate virtual terminal(s)
4 * Renamed deallocvt. 4 * Renamed deallocvt.
5 */ 5 */
6#include "busybox.h"
7#include <stdlib.h> 6#include <stdlib.h>
8#include <stdio.h> 7#include <stdio.h>
9#include <fcntl.h> 8#include <fcntl.h>
10#include <sys/types.h> 9#include <sys/types.h>
11#include <sys/ioctl.h> 10#include <sys/ioctl.h>
11#include "busybox.h"
12 12
13/* From <linux/vt.h> */ 13/* From <linux/vt.h> */
14static const int VT_DISALLOCATE = 0x5608; /* free memory associated to vt */ 14static const int VT_DISALLOCATE = 0x5608; /* free memory associated to vt */
diff --git a/console-tools/dumpkmap.c b/console-tools/dumpkmap.c
index b9f1bd233..0da01868b 100644
--- a/console-tools/dumpkmap.c
+++ b/console-tools/dumpkmap.c
@@ -20,7 +20,6 @@
20 * 20 *
21 */ 21 */
22 22
23#include "busybox.h"
24#include <errno.h> 23#include <errno.h>
25#include <fcntl.h> 24#include <fcntl.h>
26#include <stdio.h> 25#include <stdio.h>
@@ -28,6 +27,7 @@
28#include <string.h> 27#include <string.h>
29#include <stdlib.h> 28#include <stdlib.h>
30#include <sys/ioctl.h> 29#include <sys/ioctl.h>
30#include "busybox.h"
31 31
32/* From <linux/kd.h> */ 32/* From <linux/kd.h> */
33struct kbentry { 33struct kbentry {
diff --git a/console-tools/loadacm.c b/console-tools/loadacm.c
index 6422137a1..81b973b02 100644
--- a/console-tools/loadacm.c
+++ b/console-tools/loadacm.c
@@ -7,7 +7,6 @@
7 * Peter Novodvorsky <petya@logic.ru> 7 * Peter Novodvorsky <petya@logic.ru>
8 */ 8 */
9 9
10#include "busybox.h"
11#include <stdio.h> 10#include <stdio.h>
12#include <stdlib.h> 11#include <stdlib.h>
13#include <memory.h> 12#include <memory.h>
@@ -17,9 +16,10 @@
17#include <assert.h> 16#include <assert.h>
18#include <errno.h> 17#include <errno.h>
19#include <signal.h> 18#include <signal.h>
19#include <sys/kd.h>
20#include <sys/types.h> 20#include <sys/types.h>
21#include <sys/ioctl.h> 21#include <sys/ioctl.h>
22#include <sys/kd.h> 22#include "busybox.h"
23 23
24typedef unsigned short unicode; 24typedef unsigned short unicode;
25 25
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c
index d7bd7e8f5..1a724ca85 100644
--- a/console-tools/loadfont.c
+++ b/console-tools/loadfont.c
@@ -7,7 +7,6 @@
7 * Loads the console font, and possibly the corresponding screen map(s). 7 * Loads the console font, and possibly the corresponding screen map(s).
8 * (Adapted for busybox by Matej Vela.) 8 * (Adapted for busybox by Matej Vela.)
9 */ 9 */
10#include "busybox.h"
11#include <stdio.h> 10#include <stdio.h>
12#include <string.h> 11#include <string.h>
13#include <fcntl.h> 12#include <fcntl.h>
@@ -20,6 +19,7 @@
20#include <sys/ioctl.h> 19#include <sys/ioctl.h>
21#include <sys/kd.h> 20#include <sys/kd.h>
22#include <endian.h> 21#include <endian.h>
22#include "busybox.h"
23 23
24static const int PSF_MAGIC1 = 0x36; 24static const int PSF_MAGIC1 = 0x36;
25static const int PSF_MAGIC2 = 0x04; 25static const int PSF_MAGIC2 = 0x04;
diff --git a/console-tools/loadkmap.c b/console-tools/loadkmap.c
index 5ecd819f9..dcb5c1caa 100644
--- a/console-tools/loadkmap.c
+++ b/console-tools/loadkmap.c
@@ -20,7 +20,6 @@
20 * 20 *
21 */ 21 */
22 22
23#include "busybox.h"
24#include <errno.h> 23#include <errno.h>
25#include <fcntl.h> 24#include <fcntl.h>
26#include <stdio.h> 25#include <stdio.h>
@@ -28,6 +27,7 @@
28#include <stdlib.h> 27#include <stdlib.h>
29#include <unistd.h> 28#include <unistd.h>
30#include <sys/ioctl.h> 29#include <sys/ioctl.h>
30#include "busybox.h"
31 31
32#define BINARY_KEYMAP_MAGIC "bkeymap" 32#define BINARY_KEYMAP_MAGIC "bkeymap"
33 33
diff --git a/console-tools/reset.c b/console-tools/reset.c
index 294cab3c4..755c4c335 100644
--- a/console-tools/reset.c
+++ b/console-tools/reset.c
@@ -23,9 +23,9 @@
23 * 23 *
24 */ 24 */
25 25
26#include "busybox.h"
27#include <stdio.h> 26#include <stdio.h>
28#include <stdlib.h> 27#include <stdlib.h>
28#include "busybox.h"
29 29
30extern int reset_main(int argc, char **argv) 30extern int reset_main(int argc, char **argv)
31{ 31{
diff --git a/console-tools/setkeycodes.c b/console-tools/setkeycodes.c
index 0be4724ca..c3c7e09aa 100644
--- a/console-tools/setkeycodes.c
+++ b/console-tools/setkeycodes.c
@@ -22,11 +22,11 @@
22 * 22 *
23 */ 23 */
24 24
25#include "busybox.h"
26#include <stdio.h> 25#include <stdio.h>
27#include <stdlib.h> 26#include <stdlib.h>
28#include <fcntl.h> 27#include <fcntl.h>
29#include <sys/ioctl.h> 28#include <sys/ioctl.h>
29#include "busybox.h"
30 30
31 31
32/* From <linux/kd.h> */ 32/* From <linux/kd.h> */