summaryrefslogtreecommitdiffstats
path: root/innbbsd/mkhistory.c
blob: 98e0a6ab458954df77196fa7aabfc739314d15c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>
#include "his.h"
#include "externs.h"

int
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]);
    return 0;
}