| 56 | } |
| 57 | |
| 58 | int test_stack_pop(AUT_LINE *test_line acl_unused, void *arg acl_unused) |
| 59 | { |
| 60 | const char *myname = "test_stack_pop"; |
| 61 | MY_TYPE *t; |
| 62 | int i = 0; |
| 63 | |
| 64 | __stack_init(); |
| 65 | |
| 66 | while (1) { |
| 67 | t = acl_stack_pop(__stack); |
| 68 | if (t == NULL) |
| 69 | break; |
| 70 | printf("%s: %d %s\r\n", myname, i++, t->name); |
| 71 | acl_myfree(t); |
| 72 | } |
| 73 | |
| 74 | printf("%s: total is %d\r\n", myname, i); |
| 75 | return (0); |
| 76 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…