[libc][NFC] Move the RPC types to the `rpc_client.h` header
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 19 Jul 2023 20:23:25 +0000 (15:23 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 19 Jul 2023 20:26:14 +0000 (15:26 -0500)
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.

libc/src/__support/File/gpu/file.cpp
libc/src/__support/RPC/rpc_client.h
libc/src/gpu/rpc_host_call.cpp

index d474e38..b3a436e 100644 (file)
@@ -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"
index 71ead0b..4a07b95 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "rpc.h"
 
-#include <gpu/rpc.h>
+#include "llvm-libc-types/rpc_opcodes_t.h"
 
 namespace __llvm_libc {
 namespace rpc {
index 67b839d..b39bef6 100644 (file)
@@ -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"