aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2021-12-20 18:19:16 -0500
committerTom Rini <trini@konsulko.com>2022-01-14 13:16:11 -0500
commit499f18446d2ceb4a48730e9ef3111bcbd9fae9de (patch)
tree90a3e35476fceca80f57ccd11a0eab1ac73028f9 /include
parent2f3e8d6a86cbeb45d387d47fa71220885ed7e481 (diff)
downloadu-boot-499f18446d2ceb4a48730e9ef3111bcbd9fae9de.zip
u-boot-499f18446d2ceb4a48730e9ef3111bcbd9fae9de.tar.gz
u-boot-499f18446d2ceb4a48730e9ef3111bcbd9fae9de.tar.bz2
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')
-rw-r--r--include/vsprintf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/vsprintf.h b/include/vsprintf.h
index b474630..8bfafa0 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