lib: export vsscanf
PATCH 1/1 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.
---
This is needed for porting an external library to U-Boot, in WIP changes. It builds with a warning, and does link since the symbol is present. Though when treating warnings as errors during development, it becomes an issue.
include/vsprintf.h | 8 ++++++++ 1 file changed, 8 insertions(+)
include/vsprintf.h +8 -0
@@ -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
Signature · 6 lines
2.34.0 -- Samuel Dionne-Riel
Quoted 8 lines · Samuel Dionne-Riel
The function was missing from exports, even though it loooks like the intent of the implementation in
sscanf.cwas to have it exported.Signed-off-by Samuel Dionne-Riel <[email protected]>Cc Simon Glass <[email protected]>---
Quoted 7 lines
This is needed for porting an external library to U-Boot, in WIP changes. It builds with a warning, and does link since the symbol is present. Though when treating warnings as errors during development, it becomes an issue.
include/vsprintf.h | 8 ++++++++ 1 file changed, 8 insertions(+)
Quoted 6 lines · Samuel Dionne-Riel
The function was missing from exports, even though it loooks like the intent of the implementation in
sscanf.cwas to have it exported.Signed-off-by Samuel Dionne-Riel <[email protected]>Cc Simon Glass <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom