FreeCalypso > hg > tcs211-patches
comparison tool/main.c @ 0:12e230d431f0
started writing libpatch tool
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Wed, 03 Jun 2015 07:40:00 +0000 |
parents | |
children | 058d377fc299 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:12e230d431f0 |
---|---|
1 /* | |
2 * libpatch main module | |
3 */ | |
4 | |
5 #include <stdio.h> | |
6 #include <stdlib.h> | |
7 #include "globals.h" | |
8 | |
9 main(argc, argv) | |
10 char **argv; | |
11 { | |
12 if (argc != 4) { | |
13 fprintf(stderr, "usage: %s in.out patch-desc out.lib\n", | |
14 argv[0]); | |
15 exit(1); | |
16 } | |
17 lib_in_filename = argv[1]; | |
18 patch_desc_filename = argv[2]; | |
19 lib_out_filename = argv[3]; | |
20 read_spec_file(); | |
21 /* code to be filled here */ | |
22 exit(0); | |
23 } |