FreeCalypso > hg > ueda-linux
comparison netdiff/flip2pin/main.c @ 146:7ddfb9a67b0c
netdiff: donl-flip2pin utility written, compiles
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Sun, 15 Nov 2020 03:32:48 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 145:5e91200bf609 | 146:7ddfb9a67b0c |
|---|---|
| 1 #include <stdio.h> | |
| 2 #include <stdlib.h> | |
| 3 #include "struct.h" | |
| 4 | |
| 5 struct flip_list *flip_list; | |
| 6 | |
| 7 main(argc, argv) | |
| 8 char **argv; | |
| 9 { | |
| 10 int i; | |
| 11 | |
| 12 if (argc != 3) { | |
| 13 fprintf(stderr, "usage: %s input-donl flip-list-file\n", | |
| 14 argv[0]); | |
| 15 exit(1); | |
| 16 } | |
| 17 read_flip_list(argv[2]); | |
| 18 main_process(argv[1]); | |
| 19 exit(0); | |
| 20 } |
