Adopt C99 bool in the tree234 API.

The only affected function here is splitpos234, which I don't think
these puzzles are even using at the moment.
This commit is contained in:
Simon Tatham
2018-11-13 21:41:45 +00:00
parent 836a5c4ea7
commit 33b55db48e
3 changed files with 6 additions and 4 deletions

View File

@ -1376,7 +1376,7 @@ static node234 *split234_internal(tree234 *t, int index) {
t->root = halves[1];
return halves[0];
}
tree234 *splitpos234(tree234 *t, int index, int before) {
tree234 *splitpos234(tree234 *t, int index, bool before) {
tree234 *ret;
node234 *n;
int count;