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

env: re-add support for auto-completion

Currently, only basic completion is supported (no globs), but this is
what we had previously.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger
2010-12-17 16:51:59 -05:00
committed by Wolfgang Denk
parent 42df1e1618
commit 560d424b6d
6 changed files with 50 additions and 27 deletions

View File

@@ -16,6 +16,7 @@
* bcc and gcc. */
#include <linux/types.h>
#include <exports.h>
#if 0
#include <assert.h>
#else
@@ -67,3 +68,8 @@ void qsort(void *base,
} while (wgap);
}
}
int strcmp_compar(const void *p1, const void *p2)
{
return strcmp(*(const char **)p1, *(const char **)p2);
}