[libc-commits] [libc] 09c6c7b - [libc][NFC] Remove useless header guards from implementation file

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue Mar 28 08:22:19 PDT 2023


Author: Joseph Huber
Date: 2023-03-28T10:22:08-05:00
New Revision: 09c6c7bea1403f6059508e2ec81f2fcffef8f775

URL: https://github.com/llvm/llvm-project/commit/09c6c7bea1403f6059508e2ec81f2fcffef8f775
DIFF: https://github.com/llvm/llvm-project/commit/09c6c7bea1403f6059508e2ec81f2fcffef8f775.diff

LOG: [libc][NFC] Remove useless header guards from implementation file

Summary:
These were accidentally added and don't do anything.

Added: 
    

Modified: 
    libc/src/__support/RPC/rpc_client.cpp

Removed: 
    


################################################################################
diff  --git a/libc/src/__support/RPC/rpc_client.cpp b/libc/src/__support/RPC/rpc_client.cpp
index 3e64fe5ec67c8..8f71b654627f6 100644
--- a/libc/src/__support/RPC/rpc_client.cpp
+++ b/libc/src/__support/RPC/rpc_client.cpp
@@ -6,9 +6,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef LLVM_LIBC_SRC_SUPPORT_RPC_RPC_CLIENT_H
-#define LLVM_LIBC_SRC_SUPPORT_RPC_RPC_CLIENT_H
-
 #include "rpc.h"
 
 namespace __llvm_libc {
@@ -23,5 +20,3 @@ extern "C" [[gnu::visibility("protected")]] const bool __llvm_libc_rpc = false;
 
 } // namespace rpc
 } // namespace __llvm_libc
-
-#endif


        


More information about the libc-commits mailing list