Skip to content

Commit 214b434

Browse files
committed
[NFC][libc] Fix formatting for baremetal OSUtils
This reformats the headers to address formatting issues.
1 parent 16124a3 commit 214b434

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

libc/src/__support/OSUtil/baremetal/io.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace LIBC_NAMESPACE {
1515

1616
// This is intended to be provided by the vendor.
17-
extern "C" void __llvm_libc_log_write(const char* msg, size_t len);
17+
extern "C" void __llvm_libc_log_write(const char *msg, size_t len);
1818

1919
void write_to_stderr(cpp::string_view msg) {
2020
__llvm_libc_log_write(msg.data(), msg.size());

libc/src/__support/OSUtil/baremetal/quick_exit.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ namespace LIBC_NAMESPACE {
1414
// This is intended to be provided by the vendor.
1515
extern "C" void __llvm_libc_quick_exit(int status);
1616

17-
void quick_exit(int status) {
18-
__llvm_libc_quick_exit(status);
19-
}
17+
void quick_exit(int status) { __llvm_libc_quick_exit(status); }
2018

2119
} // namespace LIBC_NAMESPACE
2220

0 commit comments

Comments
 (0)