Be more pedantic aboutthe terminating null applet.
authorEric Andersen <andersen@codepoet.org>
Fri, 14 Jul 2000 06:29:10 +0000 (06:29 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 14 Jul 2000 06:29:10 +0000 (06:29 -0000)
 -Erik

applets/busybox.c
busybox.c

index 15f8e3f24a61913ef37287b6989fcb4c3bd73831..041cdeb01d3e17eca4471f8f9768ddbccd0fe6bd 100644 (file)
@@ -351,7 +351,7 @@ const struct BB_applet applets[] = {
 #ifdef BB_TEST
        {"[", test_main, _BB_DIR_USR_BIN},
 #endif
-       {0}
+       {0,NULL,0}
 };
 
 char *applet_name;
index 15f8e3f24a61913ef37287b6989fcb4c3bd73831..041cdeb01d3e17eca4471f8f9768ddbccd0fe6bd 100644 (file)
--- a/busybox.c
+++ b/busybox.c
@@ -351,7 +351,7 @@ const struct BB_applet applets[] = {
 #ifdef BB_TEST
        {"[", test_main, _BB_DIR_USR_BIN},
 #endif
-       {0}
+       {0,NULL,0}
 };
 
 char *applet_name;