[libc-commits] [libc] [libc] Remove the `stdio.h` include from `puts.h` (PR #98132)

via libc-commits libc-commits at lists.llvm.org
Tue Jul 9 01:47:23 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Petr Hosek (petrhosek)

<details>
<summary>Changes</summary>

This is unused.

---
Full diff: https://github.com/llvm/llvm-project/pull/98132.diff


1 Files Affected:

- (modified) libc/src/stdio/puts.h (-2) 


``````````diff
diff --git a/libc/src/stdio/puts.h b/libc/src/stdio/puts.h
index 11fbd0be897cf..68d5225b00a17 100644
--- a/libc/src/stdio/puts.h
+++ b/libc/src/stdio/puts.h
@@ -9,8 +9,6 @@
 #ifndef LLVM_LIBC_SRC_STDIO_PUTS_H
 #define LLVM_LIBC_SRC_STDIO_PUTS_H
 
-#include <stdio.h>
-
 namespace LIBC_NAMESPACE {
 
 int puts(const char *__restrict str);

``````````

</details>


https://github.com/llvm/llvm-project/pull/98132


More information about the libc-commits mailing list