| 41 | } |
| 42 | |
| 43 | static void __swap |
| 44 | ( |
| 45 | heap_t *hp, |
| 46 | const int i1, |
| 47 | const int i2 |
| 48 | ) { |
| 49 | void *tmp = hp->array[i1]; |
| 50 | |
| 51 | hp->array[i1] = hp->array[i2]; |
| 52 | hp->array[i2] = tmp; |
| 53 | } |
| 54 | |
| 55 | static int __pushup |
| 56 | ( |
no outgoing calls
no test coverage detected