forked from nuttx/nuttx-update
fix compile warning
libs/libc/locale/lib_catalog.c:197:9: warning: implicit declaration of function ‘lib_get_pathbuffer’ [-Wimplicit-function-declaration] 197 | buf = lib_get_pathbuffer(); | ^~~~~~~~~~~~~~~~~~ libs/libc/locale/lib_catalog.c:197:7: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 197 | buf = lib_get_pathbuffer(); | ^ libs/libc/locale/lib_catalog.c:294:13: warning: implicit declaration of function ‘lib_put_pathbuffer’ [-Wimplicit-function-declaration] 294 | lib_put_pathbuffer(buf); Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
This commit is contained in:
parent
2cf26036a5
commit
50e89a54cb
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@
|
|||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <nuttx/lib/lib.h>
|
||||
|
||||
#ifdef CONFIG_LIBC_LOCALE_CATALOG
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in a new issue