FreeCalypso > hg > ueda-linux
comparison pads2gpcb/parttype.c @ 65:2b71943a311b
pads2gpcb: PART section parsing implemented, compiles
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 31 Jan 2016 21:32:08 +0000 |
parents | 455a0051f9d2 |
children | ac13abc7dc0d |
comparison
equal
deleted
inserted
replaced
64:6a1197106b6f | 65:2b71943a311b |
---|---|
184 parse_input_line_fields(); | 184 parse_input_line_fields(); |
185 if (input_line_nfields) | 185 if (input_line_nfields) |
186 process_one_parttype(); | 186 process_one_parttype(); |
187 } | 187 } |
188 } | 188 } |
189 | |
190 struct part_type * | |
191 find_parttype_by_name(name) | |
192 char *name; | |
193 { | |
194 struct part_type *p; | |
195 | |
196 for (p = part_type_list; p; p = p->next) | |
197 if (!strcmp(p->name, name)) | |
198 break; | |
199 return(p); | |
200 } |