chiark / gitweb /
merge changes from trunk into our branch; cvs up -j branchpoint-hostside-wip-2006...
[trains.git] / hostside / main.c
index 7f2cc6d14edc71e51f9140b95d678da53572a427..1a8ffbd16c3ab2b6e63d3ec18c5ed04e03068733 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "common.h"
 
+const char *progname= "hostside-old";
 static FILE *dump_stream= 0;
 
 static int repeat_delay= -1, iterations= -1;
@@ -26,9 +27,8 @@ static const char *serial_port;
 
 static Nmra buf;
 
-static void badusage(const char *why) {
-  fprintf(stderr,"bad usage: %s\n",why); exit(8);
-}
+void die_hook(void) { }
+void die_vprintf_hook(const char *fmt, va_list al) { }
 
 static void pahex(const char **argv) {
   const char *data_string;