X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=sim%2Fucsim%2Fcmd.src%2Fnewcmdposix.cc;h=f74d6e3c2c3355f7f6597ad31740cea703d54acf;hb=34d14506fd0c12ee5434fec0f9dec27753e1aab5;hp=0ad9a533520b4d8c86cea3d2eef491932427f6ec;hpb=3fe17a6a577f64559a33c5b0f8a4d040a932f8a9;p=fw%2Fsdcc diff --git a/sim/ucsim/cmd.src/newcmdposix.cc b/sim/ucsim/cmd.src/newcmdposix.cc index 0ad9a533..f74d6e3c 100644 --- a/sim/ucsim/cmd.src/newcmdposix.cc +++ b/sim/ucsim/cmd.src/newcmdposix.cc @@ -32,6 +32,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include #include +#include #include #include #ifdef SOCKET_AVAIL @@ -71,7 +72,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA *____________________________________________________________________________ */ -cl_console::cl_console(char *fin, char *fout, class cl_app *the_app) +cl_console::cl_console(const char *fin, const char *fout, class cl_app *the_app) { FILE *f; @@ -180,7 +181,7 @@ cl_console::un_redirect(void) } int -cl_console::cmd_do_print(char *format, va_list ap) +cl_console::cmd_do_print(const char *format, va_list ap) { int ret; FILE *f = get_out();