#ifdef WINDOWS
/* Drop extension (typically .EXE) from executable filename. */
- windows_main_junk (&argc, (char **) argv, (char **) &exec_name);
+ windows_main (&argc, (char **) argv, (char **) &exec_name);
#endif
/* Set option defaults; read the system wgetrc and ~/.wgetrc. */
break;
case OPT_FUNCALL:
{
- void (*func) PARAMS ((void)) = opt->data;
+ void (*func) PARAMS ((void)) = (void (*) PARAMS ((void))) opt->data;
func ();
}
break;
output_stream = stdout;
else
{
- struct stat st;
+ struct_stat st;
output_stream = fopen (opt.output_document,
opt.always_rest ? "ab" : "wb");
if (output_stream == NULL)