| 35 | // Helper function. |
| 36 | int listlen(struct list_head *tokens); |
| 37 | int listlen(struct list_head *tokens) { |
| 38 | struct graphql_token *tok; |
| 39 | int n=0; |
| 40 | list_for_each(tokens, tok, node) { |
| 41 | n++; |
| 42 | } |
| 43 | return n; |
| 44 | } |
| 45 | |
| 46 | /* Test case function prototypes */ |
| 47 |
no outgoing calls
no test coverage detected