aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-11-17 18:51:45 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-11-17 18:51:45 +0000
commit3e7ba777c9c8066ddbe3f513a248b063b03fa882 (patch)
tree0d6fa23ebe6b2c0f3ffc26b2e848e3b480804573 /include
parentefe980aa9a42b1c8235ed52ce0298e096c282e96 (diff)
downloadbusybox-w32-3e7ba777c9c8066ddbe3f513a248b063b03fa882.tar.gz
busybox-w32-3e7ba777c9c8066ddbe3f513a248b063b03fa882.tar.bz2
busybox-w32-3e7ba777c9c8066ddbe3f513a248b063b03fa882.zip
"I will always compile before I commit."
"I will always compile before I commit." "I will always compile before I commit." -Erik git-svn-id: svn://busybox.net/trunk/busybox@1324 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
-rw-r--r--include/applets.h2
-rw-r--r--include/busybox.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/applets.h b/include/applets.h
index a2d73bc59..f21a49076 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -371,5 +371,5 @@ const struct BB_applet applets[] = {
371}; 371};
372 372
373/* The -1 arises because of the {0,NULL,0,NULL} entry above. */ 373/* The -1 arises because of the {0,NULL,0,NULL} entry above. */
374#define NUM_APPLETS (sizeof (applets) / sizeof (struct BB_applet) - 1) 374size_t NUM_APPLETS = (sizeof (applets) / sizeof (struct BB_applet) - 1);
375 375
diff --git a/include/busybox.h b/include/busybox.h
index 2bc1c997e..f0f8d5dd9 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -108,6 +108,9 @@ struct BB_applet {
108/* From busybox.c */ 108/* From busybox.c */
109extern const struct BB_applet applets[]; 109extern const struct BB_applet applets[];
110 110
111extern size_t NUM_APPLETS;
112
113
111extern int applet_name_compare(const void *x, const void *y); 114extern int applet_name_compare(const void *x, const void *y);
112 115
113extern int ar_main(int argc, char **argv); 116extern int ar_main(int argc, char **argv);