From caa6a1a5be25d41b5634ab00effb8f589c822975 Mon Sep 17 00:00:00 2001 From: Zhou Kang Date: Mon, 19 Jun 2023 09:04:03 +0000 Subject: [PATCH] add .clang-format-ignore --- .clang-format-ignore | 4 ++++ tests/test_app/test_app.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .clang-format-ignore diff --git a/.clang-format-ignore b/.clang-format-ignore new file mode 100644 index 0000000..7a11125 --- /dev/null +++ b/.clang-format-ignore @@ -0,0 +1,4 @@ +build/* +vendor/* +target/* +src/binfmt_rto/binfmt_rto.c diff --git a/tests/test_app/test_app.c b/tests/test_app/test_app.c index a1959d7..19cb556 100644 --- a/tests/test_app/test_app.c +++ b/tests/test_app/test_app.c @@ -1,5 +1,7 @@ /* SPDX-License-Identifier: MulanPSL-2.0 */ #define _GNU_SOURCE +#define __USE_GNU 1 +#include #include #include #include @@ -7,7 +9,6 @@ #include #include #include -#include extern int lib1_add(int a, int b); extern int lib2_add(int a, int b); -- Gitee