mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -05:00
Ensure test programs have a dputs().
So that they don't cause a link failure when built with -DDEBUG. (testcrypt.c already had this.)
This commit is contained in:
@ -24,6 +24,11 @@ void out_of_memory(void)
|
||||
exit(1);
|
||||
}
|
||||
|
||||
void dputs(const char *buf)
|
||||
{
|
||||
fputs(buf, stderr);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
unsigned char buf[16], *outbuf;
|
||||
|
Reference in New Issue
Block a user