Add function is missing FAR

Signed-off-by: fengxuesong <fengxuesong@xiaomi.com>
This commit is contained in:
fengxuesong 2023-08-11 11:20:47 +08:00 committed by Xiang Xiao
parent 78792120cd
commit fad26cb3ae

View File

@ -41,7 +41,8 @@
* Private Function Prototypes
****************************************************************************/
static int i2ccmd_help(FAR struct i2ctool_s *i2ctool, int argc, char **argv);
static int i2ccmd_help(FAR struct i2ctool_s *i2ctool,
int argc, FAR char **argv);
static int i2ccmd_unrecognized(FAR struct i2ctool_s *i2ctool, int argc,
FAR char **argv);
@ -96,7 +97,8 @@ const char g_i2cxfrerror[] = "i2ctool: %s: Transfer failed: %d\n";
* Name: i2ccmd_help
****************************************************************************/
static int i2ccmd_help(FAR struct i2ctool_s *i2ctool, int argc, char **argv)
static int i2ccmd_help(FAR struct i2ctool_s *i2ctool, int argc,
FAR char **argv)
{
const struct cmdmap_s *ptr;