| 249 | }; |
| 250 | |
| 251 | static bool |
| 252 | add_array_entry(struct bsearch4_array *ba, struct bsearch4_record *br_new) |
| 253 | { |
| 254 | |
| 255 | if (ba->num_items < ba->alloc_items) { |
| 256 | ba->arr[ba->num_items++] = *br_new; |
| 257 | return (true); |
| 258 | } |
| 259 | return (false); |
| 260 | } |
| 261 | |
| 262 | static struct bsearch4_record * |
| 263 | get_last_entry(struct bsearch4_array *ba) |
no outgoing calls
no test coverage detected