diff options
author | Matt Kraai <kraai@debian.org> | 2001-02-01 19:21:20 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-02-01 19:21:20 +0000 |
commit | f2cc2762bb273fbabe8c2eadeb3b8669550582f0 (patch) | |
tree | e1bc52067709069328f058b80b9a1273c7c240d2 /include/busybox.h | |
parent | 05e782ddd3dc58245c889529bb8aeeaddf24bf71 (diff) | |
download | busybox-w32-f2cc2762bb273fbabe8c2eadeb3b8669550582f0.tar.gz busybox-w32-f2cc2762bb273fbabe8c2eadeb3b8669550582f0.tar.bz2 busybox-w32-f2cc2762bb273fbabe8c2eadeb3b8669550582f0.zip |
Create find_applet_by_name function. Save 32 bytes.
Diffstat (limited to 'include/busybox.h')
-rw-r--r-- | include/busybox.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/busybox.h b/include/busybox.h index e332ed412..fc5e8d874 100644 --- a/include/busybox.h +++ b/include/busybox.h | |||
@@ -88,7 +88,6 @@ extern const struct BB_applet applets[]; | |||
88 | #undef PROTOTYPES | 88 | #undef PROTOTYPES |
89 | 89 | ||
90 | extern const char *applet_name; | 90 | extern const char *applet_name; |
91 | extern int applet_name_compare(const void *x, const void *y); | ||
92 | 91 | ||
93 | extern void usage(const char *usage) __attribute__ ((noreturn)); | 92 | extern void usage(const char *usage) __attribute__ ((noreturn)); |
94 | extern void error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); | 93 | extern void error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2))); |
@@ -153,6 +152,7 @@ extern char *get_last_path_component(char *path); | |||
153 | extern FILE *wfopen(const char *path, const char *mode); | 152 | extern FILE *wfopen(const char *path, const char *mode); |
154 | extern FILE *xfopen(const char *path, const char *mode); | 153 | extern FILE *xfopen(const char *path, const char *mode); |
155 | extern void chomp(char *s); | 154 | extern void chomp(char *s); |
155 | extern struct BB_applet *find_applet_by_name(const char *name); | ||
156 | 156 | ||
157 | #ifndef DMALLOC | 157 | #ifndef DMALLOC |
158 | extern void *xmalloc (size_t size); | 158 | extern void *xmalloc (size_t size); |