diff options
author | Tom Rini <trini@konsulko.com> | 2020-05-19 10:51:43 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-05-19 10:51:43 -0400 |
commit | c2279d784e35fa25ee3a9fa28a74a1ba545f8c1e (patch) | |
tree | 158fd30f3d06142f6a99cbae6ed8ccb0f3be567b /lib/uuid.c | |
parent | ed9a3aa6452f57af65eb74f73bd2a54c3a2f4b03 (diff) | |
parent | cd93d625fd751d55c729c78b10f82109d56a5f1d (diff) |
Merge branch '2020-05-18-reduce-size-of-common.h'
Bring in the latest round of Simon's changes to reduce what's in
<common.h> overall.
Diffstat (limited to 'lib/uuid.c')
-rw-r--r-- | lib/uuid.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/uuid.c b/lib/uuid.c index c1cb9df6aac..e62d5ca2643 100644 --- a/lib/uuid.c +++ b/lib/uuid.c @@ -4,8 +4,11 @@ */ #include <common.h> +#include <command.h> #include <env.h> +#include <rand.h> #include <time.h> +#include <uuid.h> #include <linux/ctype.h> #include <errno.h> #include <common.h> @@ -284,7 +287,7 @@ void gen_rand_uuid_str(char *uuid_str, int str_format) } #if !defined(CONFIG_SPL_BUILD) && defined(CONFIG_CMD_UUID) -int do_uuid(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +int do_uuid(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) { char uuid[UUID_STR_LEN + 1]; int str_format; |