diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-05-26 12:09:12 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2016-05-30 07:02:14 +0200 |
commit | ef7b17a2a11c03569652cc65b84d94311a551ec3 (patch) | |
tree | 860f0a356940511ea8c737add9c6cff194e15171 | |
parent | 8e5e3965bdb5a8089294982d4f5107f9af768af3 (diff) | |
download | barebox-ef7b17a2a11c03569652cc65b84d94311a551ec3.tar.gz barebox-ef7b17a2a11c03569652cc65b84d94311a551ec3.tar.xz |
nvvar: add missing static inline stubs
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | include/globalvar.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/globalvar.h b/include/globalvar.h index e94e9ed6ee..5dfa371409 100644 --- a/include/globalvar.h +++ b/include/globalvar.h @@ -153,6 +153,18 @@ static inline int nvvar_load(void) return 0; } +static inline void nvvar_print(void) {} + +static inline int nvvar_add(const char *name, const char *value) +{ + return 0; +} + +static inline int nvvar_remove(const char *name) +{ + return 0; +} + #endif #endif /* __GLOBALVAR_H */ |