aboutsummaryrefslogtreecommitdiff
path: root/libc/src/stdio/gpu/rename.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/stdio/gpu/rename.cpp
parent4226e0a0c75e5cfd784eff429f93101c03a1995c (diff)
downloadllvm-a6ef0debb1d60966b5bcc69f7d58a2b75c9c621d.zip
llvm-a6ef0debb1d60966b5bcc69f7d58a2b75c9c621d.tar.gz
llvm-a6ef0debb1d60966b5bcc69f7d58a2b75c9c621d.tar.bz2
[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/stdio/gpu/rename.cpp')
-rw-r--r--libc/src/stdio/gpu/rename.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/stdio/gpu/rename.cpp b/libc/src/stdio/gpu/rename.cpp
index e6396e2..589bf24 100644
--- a/libc/src/stdio/gpu/rename.cpp
+++ b/libc/src/stdio/gpu/rename.cpp
@@ -17,7 +17,7 @@ namespace LIBC_NAMESPACE_DECL {
LLVM_LIBC_FUNCTION(int, rename, (const char *oldpath, const char *newpath)) {
int ret;
- rpc::Client::Port port = rpc::client.open<RPC_RENAME>();
+ rpc::Client::Port port = rpc::client.open<LIBC_RENAME>();
port.send_n(oldpath, internal::string_length(oldpath) + 1);
port.send_n(newpath, internal::string_length(newpath) + 1);
port.recv([&](rpc::Buffer *buffer, uint32_t) {