mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 11:23:07 +08:00
nshlib/nsh_vars.c: Add missing stdio.h
nsh_vars.c: In function 'nsh_setvar': nsh_vars.c:285:3: error: incompatible implicit declaration of built-in function 'sprintf' [-Werror] 285 | sprintf(pair, "%s=%s", name, value);
This commit is contained in:

committed by
Alan Carvalho de Assis

parent
7ab1f2a957
commit
5d9811a03d
@@ -24,6 +24,7 @@
|
||||
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
|
Reference in New Issue
Block a user