summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:19 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:23:08 -0500
commit8bef79bf3c30cd1fc5367cc1f78f72e6552629e9 (patch)
tree318647c77cc039fd2a0e8d611c2156027a3c4691 /env
parentf083583786913de7652312c137dd4fea5c2e291f (diff)
downloadu-boot-8bef79bf3c30cd1fc5367cc1f78f72e6552629e9.tar.gz
common: Move sorting functions to their own header file
These don't need to be in common.h so move them out into a new header. Also add some missing comments. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'env')
-rw-r--r--env/common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/env/common.c b/env/common.c
index 0edb6fb04c..1fd1bd01d3 100644
--- a/env/common.c
+++ b/env/common.c
@@ -11,6 +11,7 @@
#include <command.h>
#include <env.h>
#include <env_internal.h>
+#include <sort.h>
#include <linux/stddef.h>
#include <search.h>
#include <errno.h>