From 27ce10b5039e931eaad33e9499a630552d4e1f06 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 5 Jun 2022 20:24:51 -0400 Subject: Separate private and public function implementations --- test/test_inline_cpp.cpp | 3 ++- test/test_inline_objcpp.mm | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/test_inline_cpp.cpp b/test/test_inline_cpp.cpp index 5b5278e..f5694eb 100644 --- a/test/test_inline_cpp.cpp +++ b/test/test_inline_cpp.cpp @@ -23,7 +23,8 @@ # pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant" #endif -#include "../src/implementation.c" // IWYU pragma: keep +#include "../src/common.c" // IWYU pragma: keep +#include "../src/internal.c" // IWYU pragma: keep #if defined(_WIN32) # include "../src/win.c" // IWYU pragma: keep diff --git a/test/test_inline_objcpp.mm b/test/test_inline_objcpp.mm index 0c35f73..1c9079b 100644 --- a/test/test_inline_objcpp.mm +++ b/test/test_inline_objcpp.mm @@ -9,10 +9,11 @@ # pragma clang diagnostic ignored "-Wold-style-cast" #endif -#include "../src/implementation.c" // IWYU pragma: keep -#include "../src/mac.h" // IWYU pragma: keep -#include "../src/mac.m" // IWYU pragma: keep -#include "../src/mac_stub.m" // IWYU pragma: keep +#include "../src/common.c" // IWYU pragma: keep +#include "../src/internal.c" // IWYU pragma: keep +#include "../src/mac.h" // IWYU pragma: keep +#include "../src/mac.m" // IWYU pragma: keep +#include "../src/mac_stub.m" // IWYU pragma: keep #if defined(WITH_CAIRO) # include "../src/mac_cairo.m" // IWYU pragma: keep -- cgit v1.2.1