diff --git a/.clang-format-ignore b/.clang-format-ignore new file mode 100644 index 0000000000000000000000000000000000000000..7a11125a80df6dbbfdabad7551afba2957fce11f --- /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 a1959d735aed0b9a4f51029394e50b09b15ee094..19cb55613543108e2c73a11ecbfa3a19b2e81679 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);