view netdiff/flip2pin/main.c @ 152:d41cdd682db5

m4-fp: support for CUI DS04-254-SMT DIP switch series
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 24 Jun 2021 05:13:16 +0000
parents 7ddfb9a67b0c
children
line wrap: on
line source

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

struct flip_list *flip_list;

main(argc, argv)
	char **argv;
{
	int i;

	if (argc != 3) {
		fprintf(stderr, "usage: %s input-donl flip-list-file\n",
			argv[0]);
		exit(1);
	}
	read_flip_list(argv[2]);
	main_process(argv[1]);
	exit(0);
}