view tool/main.c @ 1:b9fe017905f8

let's call it ti-libpatch
author Space Falcon <falcon@ivan.Harhan.ORG>
date Fri, 05 Jun 2015 01:17:39 +0000
parents 12e230d431f0
children 058d377fc299
line wrap: on
line source

/*
 * libpatch main module
 */

#include <stdio.h>
#include <stdlib.h>
#include "globals.h"

main(argc, argv)
	char **argv;
{
	if (argc != 4) {
		fprintf(stderr, "usage: %s in.out patch-desc out.lib\n",
			argv[0]);
		exit(1);
	}
	lib_in_filename = argv[1];
	patch_desc_filename = argv[2];
	lib_out_filename = argv[3];
	read_spec_file();
	/* code to be filled here */
	exit(0);
}