From edce454d5575f7155263c8d6f8679040e75763d9 Mon Sep 17 00:00:00 2001 From: yanghuatao Date: Tue, 23 Apr 2024 20:25:09 +0800 Subject: [PATCH] toolchain/ghs: Fix trailing comma is nonstandard warnings "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/sys/types.h", line 319: warning #228-D: trailing comma is nonstandard OK = 0, ^ "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/sys/types.h", line 319: warning #228-D: trailing comma is nonstandard OK = 0, ^ "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/sys/types.h", line 319: warning #228-D: trailing comma is nonstandard OK = 0, ^ "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/sys/types.h", line 319: warning #228-D: trailing comma is nonstandard OK = 0, ^ "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/sys/types.h", line 319: warning #228-D: trailing comma is nonstandard OK = 0, ^ "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/sys/types.h", line 319: warning #228-D: trailing comma is nonstandard OK = 0, ^ "/mnt/yang/qixinwei_vela_warnings_04_23/nuttx/include/sys/types.h", line 319: warning #228-D: trailing comma is nonstandard OK = 0, Signed-off-by: yanghuatao --- include/sys/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sys/types.h b/include/sys/types.h index a316397d89b..ac4ba9fb244 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -316,7 +316,7 @@ typedef CODE int (*main_t)(int argc, FAR char *argv[]); enum { ERROR = -1, - OK = 0, + OK = 0 }; /****************************************************************************