summaryrefslogtreecommitdiffstats
path: root/innbbsd/mkhistory.c
diff options
context:
space:
mode:
Diffstat (limited to 'innbbsd/mkhistory.c')
-rw-r--r--innbbsd/mkhistory.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/innbbsd/mkhistory.c b/innbbsd/mkhistory.c
new file mode 100644
index 00000000..4be980ea
--- /dev/null
+++ b/innbbsd/mkhistory.c
@@ -0,0 +1,14 @@
+#include "innbbsconf.h"
+#include "bbslib.h"
+
+main(argc,argv)
+int argc;
+char *argv[];
+{
+ if (argc < 2) {
+ fprintf(stderr,"Usage: %s history-file\n",argv[0]);
+ exit(1);
+ }
+ initial_bbs(NULL);
+ mkhistory(argv[1]);
+}