Skip to content

Commit

Permalink
Formatted io.c related functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ax-6 committed Aug 1, 2024
1 parent 905170e commit b2d3cec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aqvm/base/io/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ int AqvmBaseIo_getchar(void) {
}

int AqvmBaseIo_perror(const char* str) {
if (str == NULL||AqvmBaseFile_ferror(AqvmBaseIo_stdout) != 0) {
if (str == NULL || AqvmBaseFile_ferror(AqvmBaseIo_stdout) != 0) {
return -1;
}

Expand All @@ -409,7 +409,7 @@ int AqvmBaseIo_perror(const char* str) {
}

int AqvmBaseIo_printf(const char* format, ...) {
if (format == NULL||AqvmBaseFile_ferror(AqvmBaseIo_stdout) != 0) {
if (format == NULL || AqvmBaseFile_ferror(AqvmBaseIo_stdout) != 0) {
return -1;
}

Expand Down Expand Up @@ -494,7 +494,7 @@ int AqvmBaseIo_putchar(int character) {
}

int AqvmBaseIo_puts(const char* str) {
if (str == NULL||AqvmBaseFile_ferror(AqvmBaseIo_stdout) != 0) {
if (str == NULL || AqvmBaseFile_ferror(AqvmBaseIo_stdout) != 0) {
// TODO
return -1;
}
Expand Down

0 comments on commit b2d3cec

Please sign in to comment.