summaryrefslogtreecommitdiff
path: root/include/env_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/env_internal.h')
-rw-r--r--include/env_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/env_internal.h b/include/env_internal.h
index 708c833a55..b7bddcb00d 100644
--- a/include/env_internal.h
+++ b/include/env_internal.h
@@ -211,6 +211,7 @@ struct env_driver {
#endif
#define ENV_SAVE_PTR(x) (CONFIG_IS_ENABLED(SAVEENV) ? (x) : NULL)
+#define ENV_ERASE_PTR(x) (CONFIG_IS_ENABLED(CMD_ERASEENV) ? (x) : NULL)
extern struct hsearch_data env_htab;