diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2021-12-20 18:19:16 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-01-14 13:16:11 -0500 |
commit | 499f18446d2ceb4a48730e9ef3111bcbd9fae9de (patch) | |
tree | 90a3e35476fceca80f57ccd11a0eab1ac73028f9 /include/vsprintf.h | |
parent | 2f3e8d6a86cbeb45d387d47fa71220885ed7e481 (diff) | |
download | u-boot-499f18446d2ceb4a48730e9ef3111bcbd9fae9de.tar.gz u-boot-499f18446d2ceb4a48730e9ef3111bcbd9fae9de.tar.bz2 u-boot-499f18446d2ceb4a48730e9ef3111bcbd9fae9de.zip |
lib: export vsscanf
The function was missing from exports, even though it loooks like the
intent of the implementation in sscanf.c was to have it exported.
Signed-off-by: Samuel Dionne-Riel <samuel@dionne-riel.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/vsprintf.h')
-rw-r--r-- | include/vsprintf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vsprintf.h b/include/vsprintf.h index b474630146..8bfafa0d33 100644 --- a/include/vsprintf.h +++ b/include/vsprintf.h @@ -308,6 +308,14 @@ char *strmhz(char *buf, unsigned long hz); void str_to_upper(const char *in, char *out, size_t len); /** + * vsscanf - Unformat a buffer into a list of arguments + * @buf: input buffer + * @fmt: format of buffer + * @args: arguments + */ +int vsscanf(const char *inp, char const *fmt0, va_list ap); + +/** * sscanf - Unformat a buffer into a list of arguments * @buf: input buffer * @fmt: formatting of buffer |