summaryrefslogblamecommitdiffstats
path: root/innbbsd/mkhistory.c
blob: c1278adb95f783edc0e62913e68996c007364406 (plain) (tree)
1
2
3
4
5
6
7
8
9
                   
                    


                       
   


                           

                   

                                                             


                       
             
 
#include <stdlib.h>
#include "externs.h"
#include "innbbsconf.h"
#include "bbslib.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;
}