From: Joseph Huber Date: Wed, 19 Jul 2023 20:23:25 +0000 (-0500) Subject: [libc][NFC] Move the RPC types to the `rpc_client.h` header X-Git-Tag: upstream/17.0.6~1099 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=480e3e353c73f2d01a9b9f77fec6812ad60b8d92;p=platform%2Fupstream%2Fllvm.git [libc][NFC] Move the RPC types to the `rpc_client.h` header Summary: Simple cleanup of the interface so we do not depend on the installed headers and get everything we need just including rpc_client.h. --- diff --git a/libc/src/__support/File/gpu/file.cpp b/libc/src/__support/File/gpu/file.cpp index d474e38..b3a436e 100644 --- a/libc/src/__support/File/gpu/file.cpp +++ b/libc/src/__support/File/gpu/file.cpp @@ -8,7 +8,6 @@ #include "src/__support/File/file.h" -#include "llvm-libc-types/rpc_opcodes_t.h" #include "src/__support/RPC/rpc_client.h" #include "src/errno/libc_errno.h" // For error macros #include "src/string/string_utils.h" diff --git a/libc/src/__support/RPC/rpc_client.h b/libc/src/__support/RPC/rpc_client.h index 71ead0b..4a07b95 100644 --- a/libc/src/__support/RPC/rpc_client.h +++ b/libc/src/__support/RPC/rpc_client.h @@ -11,7 +11,7 @@ #include "rpc.h" -#include +#include "llvm-libc-types/rpc_opcodes_t.h" namespace __llvm_libc { namespace rpc { diff --git a/libc/src/gpu/rpc_host_call.cpp b/libc/src/gpu/rpc_host_call.cpp index 67b839d..b39bef6 100644 --- a/libc/src/gpu/rpc_host_call.cpp +++ b/libc/src/gpu/rpc_host_call.cpp @@ -8,7 +8,6 @@ #include "src/gpu/rpc_host_call.h" -#include "llvm-libc-types/rpc_opcodes_t.h" #include "src/__support/GPU/utils.h" #include "src/__support/RPC/rpc_client.h" #include "src/__support/common.h"