From: Samuel Dionne-Riel Date: Mon, 20 Dec 2021 23:19:16 +0000 (-0500) Subject: lib: export vsscanf X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=499f18446d2ceb4a48730e9ef3111bcbd9fae9de;p=u-boot.git 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 Cc: Simon Glass Reviewed-by: Simon Glass --- diff --git a/include/vsprintf.h b/include/vsprintf.h index b474630146..8bfafa0d33 100644 --- a/include/vsprintf.h +++ b/include/vsprintf.h @@ -307,6 +307,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