Skip to content

Commit

Permalink
Qualify fputs in namespace std
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Feb 25, 2024
1 parent 9c66330 commit c91f8f9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions common/miscovl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ void make_batch_file()
}
break;
}
fputs(buf, parmfile);
std::fputs(buf, parmfile);
std::fputc('\n', parmfile);
}
}
Expand Down Expand Up @@ -571,7 +571,7 @@ void make_batch_file()
while (i == 0); // skip blanks
while (i >= 0)
{
fputs(buf, parmfile);
std::fputs(buf, parmfile);
std::fputc('\n', parmfile);
i = file_gets(buf, 255, infile);
}
Expand Down Expand Up @@ -1671,8 +1671,8 @@ static void put_parm_line()
}
c = s_wbdata.buf[len];
s_wbdata.buf[len] = 0;
fputs(" ", parmfile);
fputs(s_wbdata.buf, parmfile);
std::fputs(" ", parmfile);
std::fputs(s_wbdata.buf, parmfile);
if (c && c != ' ')
{
std::fputc('\\', parmfile);
Expand Down Expand Up @@ -2231,7 +2231,7 @@ static void update_fractint_cfg()
}
else
{
fputs(buf, outfile);
std::fputs(buf, outfile);
}
}

Expand Down
2 changes: 1 addition & 1 deletion common/slideshw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ void recordshw(int key)
{
char buf[10];
vidmode_keyname(key, buf);
fputs(buf, fpss);
std::fputs(buf, fpss);
}
else // not ASCII and not FN key
{
Expand Down
2 changes: 1 addition & 1 deletion unix/os_unix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ unsigned long get_disk_space()

void init_failure(char const *message)
{
fputs(message, stderr);
std::fputs(message, stderr);
}

extern void (*dotwrite)(int, int, int); // write-a-dot routine
Expand Down

0 comments on commit c91f8f9

Please sign in to comment.