[app] change the app api to have an init and entry point

This commit is contained in:
Travis Geiselbrecht
2009-01-24 21:44:52 -08:00
parent 3f14b667d3
commit 668383c506
5 changed files with 34 additions and 28 deletions

View File

@@ -35,12 +35,12 @@ STATIC_COMMAND_END(tests);
#endif
static void tests_init(const struct _app_descriptor *app, void *args)
static void tests_init(const struct app_descriptor *app)
{
}
APP_START(tests)
.entry = tests_init,
.flags = APP_FLAG_BOOT_START,
.init = tests_init,
.flags = 0,
APP_END