aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2023-07-19 15:23:25 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2023-07-19 15:26:14 -0500
commit480e3e353c73f2d01a9b9f77fec6812ad60b8d92 (patch)
tree21a0a01731bd16b9d418130ad18e1f3987cbf729 /libc
parent78c9122ac9ad5562d65852eb38322f131cffbfd6 (diff)
downloadllvm-480e3e353c73f2d01a9b9f77fec6812ad60b8d92.zip
llvm-480e3e353c73f2d01a9b9f77fec6812ad60b8d92.tar.gz
llvm-480e3e353c73f2d01a9b9f77fec6812ad60b8d92.tar.bz2
[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.
Diffstat (limited to 'libc')
-rw-r--r--libc/src/__support/File/gpu/file.cpp1
-rw-r--r--libc/src/__support/RPC/rpc_client.h2
-rw-r--r--libc/src/gpu/rpc_host_call.cpp1
3 files changed, 1 insertions, 3 deletions
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 <gpu/rpc.h>
+#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"