FreeCalypso > hg > ueda-linux
comparison ueda/mclutils/mkbom.c @ 3:d098f8548b44
ueda/mclutils Linuxified
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 20 Jul 2015 00:45:40 +0000 |
parents | cd92449fdb51 |
children | df98a82b807e |
comparison
equal
deleted
inserted
replaced
2:c91e7a30fab3 | 3:d098f8548b44 |
---|---|
1 /* | 1 /* |
2 * This program generates a procurement-oriented BOM from the MCL. | 2 * This program generates a procurement-oriented BOM from the MCL. |
3 */ | 3 */ |
4 | 4 |
5 #include <stdio.h> | 5 #include <stdio.h> |
6 #include <stdlib.h> | |
7 #include <string.h> | |
6 #include <strings.h> | 8 #include <strings.h> |
9 #include <unistd.h> | |
7 #include "../libueda/mcl.h" | 10 #include "../libueda/mcl.h" |
8 | |
9 extern char *optarg; | |
10 extern char *malloc(); | |
11 | 11 |
12 extern char *MCLfile; | 12 extern char *MCLfile; |
13 extern struct component components[]; | 13 extern struct component components[]; |
14 extern int ncomponents; | 14 extern int ncomponents; |
15 extern char *get_comp_attr(), *get_comp_multiattr(); | 15 extern char *get_comp_attr(), *get_comp_multiattr(); |