]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib/hashtable.c
imx: hab: Check if CSF contains deprecated commands
[people/ms/u-boot.git] / lib / hashtable.c
index 4e52b368e44db20668b69367b9b98ceb54f3a073..f08847758a091da8d9960ff94ec830fbcfa502ce 100644 (file)
@@ -477,11 +477,11 @@ int hdelete_r(const char *key, struct hsearch_data *htab, int flag)
        return 1;
 }
 
+#if !(defined(CONFIG_SPL_BUILD) && !defined(CONFIG_SPL_SAVEENV))
 /*
  * hexport()
  */
 
-#ifndef CONFIG_SPL_BUILD
 /*
  * Export the data stored in the hash table in linearized form.
  *
@@ -499,7 +499,7 @@ int hdelete_r(const char *key, struct hsearch_data *htab, int flag)
  *
  * If the separator character is different from NUL, then any
  * separator characters and backslash characters in the values will
- * be escaped by a preceeding backslash in output. This is needed for
+ * be escaped by a preceding backslash in output. This is needed for
  * example to enable multi-line values, especially when the output
  * shall later be parsed (for example, for re-import).
  *