2bf27f5953
Normally main.c file doesn't have a header file, because it doesn't need to declare any interfaces to other modules. In this sample, it's better to put the shared variables in one place, and provide the interfaces to other modules, such as app_a, app_b, and main. Signed-off-by: Paul He <pawpawhe@gmail.com> |
||
---|---|---|
.. | ||
app_a.c | ||
app_a.h | ||
app_b.c | ||
app_b.h | ||
app_shared.c | ||
app_shared.h | ||
app_syscall.c | ||
app_syscall.h | ||
main.c | ||
sample_driver.h | ||
sample_driver_foo.c | ||
sample_driver_handlers.c |