From e34237886d00b58d89944dc64deecefce97d32cf Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Thu, 17 Dec 2020 16:34:49 -0500 Subject: [PATCH] process: make it build with clang Get rid of unused template instantiation. Drop the unused realtime signals from the ntoa table. If in the future we really need to solve clang's issue with them, we'll address it then. Signed-off-by: Zygo Blaxell --- lib/process.cc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/lib/process.cc b/lib/process.cc index fc31194..dde0006 100644 --- a/lib/process.cc +++ b/lib/process.cc @@ -111,9 +111,6 @@ namespace crucible { } } - template<> - struct ResourceHandle; - pid_t gettid() { @@ -207,17 +204,6 @@ namespace crucible { NTOA_TABLE_ENTRY_ENUM(SIGUNUSED), #endif - // realtime - NTOA_TABLE_ENTRY_ENUM(SIGRTMIN), - NTOA_TABLE_ENTRY_ENUM(SIGRTMIN+1U), - NTOA_TABLE_ENTRY_ENUM(SIGRTMIN+2U), - NTOA_TABLE_ENTRY_ENUM(SIGRTMIN+3U), - NTOA_TABLE_ENTRY_ENUM(SIGRTMIN+4U), - NTOA_TABLE_ENTRY_ENUM(SIGRTMIN+5U), - NTOA_TABLE_ENTRY_ENUM(SIGRTMIN+6U), - NTOA_TABLE_ENTRY_ENUM(SIGRTMIN+7U), - NTOA_TABLE_ENTRY_ENUM(SIGRTMAX), - NTOA_TABLE_ENTRY_END(), };