lib: export vsscanf
authorSamuel Dionne-Riel <samuel@dionne-riel.com>
Mon, 20 Dec 2021 23:19:16 +0000 (18:19 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jan 2022 18:16:11 +0000 (13:16 -0500)
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>
include/vsprintf.h

index b474630..8bfafa0 100644 (file)
@@ -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