From 282bb7408c26a605870039e41d9d4d78d89bcc90 Mon Sep 17 00:00:00 2001 From: Kim Shrier Date: Tue, 12 Sep 2023 02:40:41 -0600 Subject: [PATCH] freebsd: fix compilation with the prebuilt tcc for programs doing `import stbi`, by adding newline to last line of header files (#19329) --- thirdparty/stb_image/stb_v_header.h | 2 +- vlib/v/tests/modules/sub/foo/c/foo.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/thirdparty/stb_image/stb_v_header.h b/thirdparty/stb_image/stb_v_header.h index ad83a1fbdd..b296cc0b42 100644 --- a/thirdparty/stb_image/stb_v_header.h +++ b/thirdparty/stb_image/stb_v_header.h @@ -3,4 +3,4 @@ */ void set_png_compression_level(int level); void write_force_png_filter(int level); -void write_tga_with_rle(int level); \ No newline at end of file +void write_tga_with_rle(int level); diff --git a/vlib/v/tests/modules/sub/foo/c/foo.h b/vlib/v/tests/modules/sub/foo/c/foo.h index bdfe51e562..678bc46e55 100644 --- a/vlib/v/tests/modules/sub/foo/c/foo.h +++ b/vlib/v/tests/modules/sub/foo/c/foo.h @@ -2,4 +2,4 @@ typedef struct sub_foo sub_foo; struct sub_foo { int a; -}; \ No newline at end of file +};