summaryrefslogtreecommitdiff
path: root/include/busybox.h
diff options
context:
space:
mode:
authorMatt Kraai2001-02-01 19:21:20 +0000
committerMatt Kraai2001-02-01 19:21:20 +0000
commitf2cc2762bb273fbabe8c2eadeb3b8669550582f0 (patch)
treee1bc52067709069328f058b80b9a1273c7c240d2 /include/busybox.h
parent05e782ddd3dc58245c889529bb8aeeaddf24bf71 (diff)
downloadbusybox-f2cc2762bb273fbabe8c2eadeb3b8669550582f0.zip
busybox-f2cc2762bb273fbabe8c2eadeb3b8669550582f0.tar.gz
Create find_applet_by_name function. Save 32 bytes.
Diffstat (limited to 'include/busybox.h')
-rw-r--r--include/busybox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/busybox.h b/include/busybox.h
index e332ed4..fc5e8d8 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -88,7 +88,6 @@ extern const struct BB_applet applets[];
#undef PROTOTYPES
extern const char *applet_name;
-extern int applet_name_compare(const void *x, const void *y);
extern void usage(const char *usage) __attribute__ ((noreturn));
extern void error_msg(const char *s, ...) __attribute__ ((format (printf, 1, 2)));
@@ -153,6 +152,7 @@ extern char *get_last_path_component(char *path);
extern FILE *wfopen(const char *path, const char *mode);
extern FILE *xfopen(const char *path, const char *mode);
extern void chomp(char *s);
+extern struct BB_applet *find_applet_by_name(const char *name);
#ifndef DMALLOC
extern void *xmalloc (size_t size);