Skip to content

Commit

Permalink
[libc] fix baremetal getchar (llvm#98515)
Browse files Browse the repository at this point in the history
baremetal getchar got the wrong find/replace in the initial patch. This
patch fixes it.
  • Loading branch information
michaelrj-google authored and aaryanshukla committed Jul 14, 2024
1 parent fb7fd07 commit 00af38f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libc/src/stdio/baremetal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ add_entrypoint_object(
HDRS
../getchar.h
DEPENDS
libc.include.stdio
libc.hdr.stdio_macros
libc.src.__support.OSUtil.osutil
libc.src.__support.CPP.string_view
)
Expand Down
2 changes: 1 addition & 1 deletion libc/src/stdio/baremetal/getchar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "src/stdio/getchar.h"
#include "src/__support/OSUtil/io.h"

#include "hdr/types/FILE.h"
#include "hdr/stdio_macros.h" // for EOF.

namespace LIBC_NAMESPACE {

Expand Down

0 comments on commit 00af38f

Please sign in to comment.