1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

env: Move get_env_id() to env.h

Move this function over to the new header file. Also rename it to have an
env_ prefix like the other functions.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Simon Glass
2019-08-01 09:46:41 -06:00
committed by Tom Rini
parent af95f2061a
commit f1f0ae6a9c
5 changed files with 18 additions and 7 deletions

View File

@@ -11,6 +11,16 @@
#include <stdbool.h>
/**
* env_get_id() - Gets a sequence number for the environment
*
* This value increments every time the environment changes, so can be used an
* an indication of this
*
* @return environment ID
*/
int env_get_id(void);
/**
* env_complete() - return an auto-complete for environment variables
*