[libc-commits] [libc] 00ba1a3 - [libc] remove useless headers

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Tue Sep 15 13:04:22 PDT 2020


Author: Guillaume Chatelet
Date: 2020-09-15T20:04:12Z
New Revision: 00ba1a3de7faad80f7bb75d07a1a5da09a009895

URL: https://github.com/llvm/llvm-project/commit/00ba1a3de7faad80f7bb75d07a1a5da09a009895
DIFF: https://github.com/llvm/llvm-project/commit/00ba1a3de7faad80f7bb75d07a1a5da09a009895.diff

LOG: [libc] remove useless headers

Added: 
    

Modified: 
    libc/src/string/memcpy.h
    libc/src/string/memset.h

Removed: 
    


################################################################################
diff  --git a/libc/src/string/memcpy.h b/libc/src/string/memcpy.h
index 39ca4a46f7f3..f643f1de6294 100644
--- a/libc/src/string/memcpy.h
+++ b/libc/src/string/memcpy.h
@@ -9,7 +9,6 @@
 #ifndef LLVM_LIBC_SRC_STRING_MEMCPY_H
 #define LLVM_LIBC_SRC_STRING_MEMCPY_H
 
-#include "include/string.h"
 #include <stddef.h> // size_t
 
 namespace __llvm_libc {

diff  --git a/libc/src/string/memset.h b/libc/src/string/memset.h
index 611e70705b20..e38eb7d78a97 100644
--- a/libc/src/string/memset.h
+++ b/libc/src/string/memset.h
@@ -9,7 +9,7 @@
 #ifndef LLVM_LIBC_SRC_STRING_MEMSET_H
 #define LLVM_LIBC_SRC_STRING_MEMSET_H
 
-#include "include/string.h"
+#include <stddef.h> // size_t
 
 namespace __llvm_libc {
 


        


More information about the libc-commits mailing list