summaryrefslogtreecommitdiff
path: root/sh.c
diff options
context:
space:
mode:
authorEric Andersen2000-11-30 00:27:06 +0000
committerEric Andersen2000-11-30 00:27:06 +0000
commit8c725e624a6fa97175f48e0fc34b37403e3b8613 (patch)
tree69a9da9b595aef4aa44cb0dd90723f6d8364ddc1 /sh.c
parent8c2d3f46ab4fd7310174a96ca770859dabcf325e (diff)
downloadbusybox-8c725e624a6fa97175f48e0fc34b37403e3b8613.zip
busybox-8c725e624a6fa97175f48e0fc34b37403e3b8613.tar.gz
Patch from Larry Doolittle (with minor touchups from me so everything compiles
and works) to use the applet definitions in applets.h to autogenerate the applet function and usage prototypes.
Diffstat (limited to 'sh.c')
-rw-r--r--sh.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sh.c b/sh.c
index 87d4fbf..eba60b3 100644
--- a/sh.c
+++ b/sh.c
@@ -52,6 +52,7 @@
#define MAX_LINE 256 /* size of input buffer for `read' builtin */
#define MAX_READ 128 /* size of input buffer for `read' builtin */
#define JOB_STATUS_FORMAT "[%d] %-22s %.40s\n"
+extern size_t NUM_APPLETS;
enum redirectionType { REDIRECT_INPUT, REDIRECT_OVERWRITE,