| 32 | } |
| 33 | |
| 34 | Attr attr_find(Attr attrs, const char *key) |
| 35 | { |
| 36 | while (attrs) { |
| 37 | if (string_eq(attrs->key, key)) |
| 38 | return attrs; |
| 39 | attrs = attrs->next; |
| 40 | } |
| 41 | return NULL; |
| 42 | } |
| 43 | |
| 44 | static void graph_add_attr(Graph g, Attr a) |
| 45 | { |
no test coverage detected