diff options
author | Tom Rini <trini@konsulko.com> | 2023-11-07 18:33:09 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-07 18:33:09 -0500 |
commit | 1e4d9dd871512e1955e45ac1c3095fb063c0d07c (patch) | |
tree | 3770d9ca70d5f8447a25bdabe03c7c60f4fd29aa /include/env.h | |
parent | 3af0e9556c968fc2c40e3778d8f1e668a90af92e (diff) | |
parent | d7f592da6ee90b11cea4d2ad4d0f39d6d26fc3b6 (diff) |
Merge branch '2023-11-07-assorted-big-cleanups' into next
- Merge in changes such that CONFIG_CMDLINE can be disabled and merge
in a series that starts to remove <common.h> usage.
Diffstat (limited to 'include/env.h')
-rw-r--r-- | include/env.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/env.h b/include/env.h index 430c4fa94a..9778e3e4f2 100644 --- a/include/env.h +++ b/include/env.h @@ -73,6 +73,14 @@ enum env_redund_flags { int env_get_id(void); /** + * env_inc_id() - Increase the sequence number for the environment + * + * Increment the value that is used by env_get_id() to inform callers + * if the environment has changed since they last checked. + */ +void env_inc_id(void); + +/** * env_init() - Set up the pre-relocation environment * * This locates the environment or uses the default if nothing is available. |