Mercurial > hg > toybox
comparison toys.h @ 94:884c03c29f21
Teach build to build only the toys/*.c selected in .config, and teach
CFG_TOYSH_DEBUG to shut up the spurious "gcc can't tell that this is never
actually used uninitialized because gcc is stupid" warnings.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 03 Feb 2007 14:10:00 -0500 |
parents | 612c8d6c2829 |
children | ce6956dfc0cf |
comparison
equal
deleted
inserted
replaced
93:cc0a6789f92a | 94:884c03c29f21 |
---|---|
4 * Copyright 2006 Rob Landley <rob@landley.net> | 4 * Copyright 2006 Rob Landley <rob@landley.net> |
5 * | 5 * |
6 * Licensed under GPL version 2, see file LICENSE in this tarball for details. | 6 * Licensed under GPL version 2, see file LICENSE in this tarball for details. |
7 */ | 7 */ |
8 | 8 |
9 #include "gen_config.h" | |
10 | |
9 #include "lib/portability.h" | 11 #include "lib/portability.h" |
10 | 12 |
11 #include <ctype.h> | 13 #include <ctype.h> |
14 #include <dirent.h> | |
12 #include <errno.h> | 15 #include <errno.h> |
13 #include <fcntl.h> | 16 #include <fcntl.h> |
14 #include <inttypes.h> | 17 #include <inttypes.h> |
15 #include <limits.h> | 18 #include <limits.h> |
16 #include <setjmp.h> | 19 #include <setjmp.h> |
28 #include <sys/wait.h> | 31 #include <sys/wait.h> |
29 #include <time.h> | 32 #include <time.h> |
30 #include <unistd.h> | 33 #include <unistd.h> |
31 | 34 |
32 #include "lib/lib.h" | 35 #include "lib/lib.h" |
33 #include "gen_config.h" | |
34 #include "toys/e2fs.h" | 36 #include "toys/e2fs.h" |
35 #include "toys/toylist.h" | 37 #include "toys/toylist.h" |
36 | 38 |
37 // These live in main.c | 39 // These live in main.c |
38 | 40 |