| 632 | |
| 633 | |
| 634 | static Node *getfreepos (Table *t) { |
| 635 | if (!isdummy(t)) { |
| 636 | while (t->lastfree > t->node) { |
| 637 | t->lastfree--; |
| 638 | if (keyisnil(t->lastfree)) |
| 639 | return t->lastfree; |
| 640 | } |
| 641 | } |
| 642 | return NULL; /* could not find a free place */ |
| 643 | } |
| 644 | |
| 645 | |
| 646 |