summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-01-07 19:48:46 +0100
committerDavid Robillard <d@drobilla.net>2021-01-07 19:48:46 +0100
commit6c5849b68e264822d0524e8e5a55409ee8d52d7c (patch)
treef677bfb4e95998a73963c8db992cd785e98706f6
parent7cc90d01f3cd0c9fe620e8dec17e89a91d2d8345 (diff)
downloadraul-6c5849b68e264822d0524e8e5a55409ee8d52d7c.tar.gz
raul-6c5849b68e264822d0524e8e5a55409ee8d52d7c.tar.bz2
raul-6c5849b68e264822d0524e8e5a55409ee8d52d7c.zip
Make include mappings more general
Though only <ctime> is needed by Raul, having that mapping will suggest it even in C code when included as a subproject. So, add the C variant as well so that include-what-you-use does not complain about either.
-rw-r--r--.includes.imp13
1 files changed, 9 insertions, 4 deletions
diff --git a/.includes.imp b/.includes.imp
index 22d8884..88032d4 100644
--- a/.includes.imp
+++ b/.includes.imp
@@ -1,10 +1,15 @@
[
+ { "symbol": [ "CLOCK_REALTIME", "private", "<ctime>", "public" ] },
+ { "symbol": [ "CLOCK_REALTIME", "private", "<time.h>", "public" ] },
+ { "symbol": [ "__syscall_slong_t", "private", "<ctime>", "public" ] },
+ { "symbol": [ "__time_t", "private", "<ctime>", "public" ] },
+ { "symbol": [ "__time_t", "private", "<time.h>", "public" ] },
{ "symbol": [ "std::exception", "private", "<exception>", "public" ] },
{ "symbol": [ "std::max", "private", "<algorithm>", "public" ] },
{ "symbol": [ "std::min", "private", "<algorithm>", "public" ] },
- { "symbol": [ "uint32_t", "private", "<cstdint>", "public" ] },
- { "symbol": [ "timespec", "private", "<ctime>", "public" ] },
{ "symbol": [ "time_t", "private", "<ctime>", "public" ] },
- { "symbol": [ "CLOCK_REALTIME", "private", "<ctime>", "public" ] },
- { "symbol": [ "__syscall_slong_t", "private", "<ctime>", "public" ] }
+ { "symbol": [ "time_t", "private", "<time.h>", "public" ] },
+ { "symbol": [ "timespec", "private", "<ctime>", "public" ] },
+ { "symbol": [ "timespec", "private", "<time.h>", "public" ] },
+ { "symbol": [ "uint32_t", "private", "<cstdint>", "public" ] }
]