inappropriate for this program. Log to stderr instead.
(program): Unused, remove.
#else
#include <direct.h>
#endif
+#include <stdarg.h>
#include <stdio.h>
#include "options.h"
#include "prototypes.h"
#include "optlist.h"
-s_char program[] = "file";
-
static void comminit(int fd);
static int make(char *filename);
static void file_sct_init(coord x, coord y, s_char *ptr);
sp->sct_dist_y = y;
}
+void
+logerror(s_char *format, ...)
+{
+ va_list ap;
+
+ va_start(ap, format);
+ vfprintf(stderr, format, ap);
+ va_end(ap);
+}
+
void
log_last_commands(void)
{