diff --git a/testsc.c b/testsc.c index 132270ca..a977084e 100644 --- a/testsc.c +++ b/testsc.c @@ -1414,6 +1414,11 @@ TESTLIST(STRUCT_TEST) #undef STRUCT_TEST }; +void dputs(const char *buf) +{ + fputs(buf, stderr); +} + int main(int argc, char **argv) { bool doing_opts = true; diff --git a/testzlib.c b/testzlib.c index 95419e9a..0e7b424b 100644 --- a/testzlib.c +++ b/testzlib.c @@ -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;