sandbox: Move ulib_init_with_data() declaration to init.h
To avoid needing an #ifdef in the C code, move this sandbox-specific declaration to the common init.h header. Update ulib.c to include init.h to avoid warnings. Fix the ordering while we are here. Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
@@ -9,8 +9,9 @@
|
||||
#include <string.h>
|
||||
#include <version.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <version_string.h>
|
||||
#include <init.h>
|
||||
#include <u-boot-lib.h>
|
||||
#include <version_string.h>
|
||||
|
||||
/* Static storage for global data when using simplified API */
|
||||
static struct global_data static_gd;
|
||||
|
||||
Reference in New Issue
Block a user