Skip to content

Commit 38d8f6e

Browse files
[libc] Remove unnecessary include from putchar.h (llvm#95576)
The putchar header was including the public stdio.h. It doesn't need to do that and it was causing build failures for downstream baremetal users so this patch fixes it.
1 parent 4184d33 commit 38d8f6e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libc/src/stdio/putchar.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
#ifndef LLVM_LIBC_SRC_STDIO_PUTCHAR_H
1010
#define LLVM_LIBC_SRC_STDIO_PUTCHAR_H
1111

12-
#include <stdio.h>
13-
1412
namespace LIBC_NAMESPACE {
1513

1614
int putchar(int c);

0 commit comments

Comments
 (0)