Skip to content

Commit

Permalink
[libc] remove param names from unused uefi functions
Browse files Browse the repository at this point in the history
  • Loading branch information
RossComputerGuy committed Jan 8, 2025
1 parent f523fdd commit 2b2aa62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions libc/src/__support/OSUtil/uefi/io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@

namespace LIBC_NAMESPACE_DECL {

ssize_t read_from_stdin(char *buf, size_t size) {
(void)buf;
(void)size;
return 0;
}
ssize_t read_from_stdin(char *, size_t) { return 0; }

void write_to_stdout(cpp::string_view msg) {
// TODO: use mbstowcs once implemented
Expand Down
4 changes: 1 addition & 3 deletions libc/src/__support/UEFI/file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ void File::reset() {
}
}

size_t File::read(void *data, size_t len) {
(void)data;
(void)len;
size_t File::read(void *, size_t) {
if (needsReset())
reset();

Expand Down

0 comments on commit 2b2aa62

Please sign in to comment.