summaryrefslogtreecommitdiff
path: root/libc/src/stdlib/gpu/abort.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-12-02 15:34:29 -0600
committerJoseph Huber <huberjn@outlook.com>2024-12-02 15:35:08 -0600
commita6ef0debb1d60966b5bcc69f7d58a2b75c9c621d (patch)
tree605761672904fd2e4efe865d8e883ad37ee88872 /libc/src/stdlib/gpu/abort.cpp
parent4226e0a0c75e5cfd784eff429f93101c03a1995c (diff)
[libc][NFC] Rename RPC opcodes to better reflect their usage
Summary: RPC_ is a generic prefix here, use LIBC_ to indicate that these are opcodes used to implement the C library
Diffstat (limited to 'libc/src/stdlib/gpu/abort.cpp')
-rw-r--r--libc/src/stdlib/gpu/abort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/stdlib/gpu/abort.cpp b/libc/src/stdlib/gpu/abort.cpp
index 3a06fb38c3f6..8a7e783990d6 100644
--- a/libc/src/stdlib/gpu/abort.cpp
+++ b/libc/src/stdlib/gpu/abort.cpp
@@ -17,7 +17,7 @@ namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(void, abort, ()) {
// We want to first make sure the server is listening before we abort.
- rpc::Client::Port port = rpc::client.open<RPC_ABORT>();
+ rpc::Client::Port port = rpc::client.open<LIBC_ABORT>();
port.send_and_recv([](rpc::Buffer *, uint32_t) {},
[](rpc::Buffer *, uint32_t) {});
port.send([&](rpc::Buffer *, uint32_t) {});