Commit 4a6c212e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Don't include stdarg.h.

Only define isc_printf and isc_vprintf if HAVE_STDARG_H.
parent b5fc9ada
......@@ -9,7 +9,6 @@
*/
#include <stdio.h>
#include <stdarg.h>
#ifdef HAVE_STRING_H
# include <string.h>
#endif
......@@ -84,7 +83,7 @@ static int send_putc(int c)
return isc_putc(c, send_scb);
}
#ifdef HAVE_STDARG_H
int
isc_vprintf(IscSession * scb,
const char * format,
......@@ -94,8 +93,9 @@ isc_vprintf(IscSession * scb,
return UCB_printf(send_putc, format, AP);
}
#endif
#ifdef HAVE_STDARG_H
int
isc_printf(IscSession * scb,
const char * format,
......@@ -115,3 +115,4 @@ isc_printf(IscSession * scb,
return cnt;
}
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment