| # | Line 5 | Line 5 | static const char RCSid[] = "$Id$"; | |
|---|---|---|
| 5 | * Quadtree driver support routines. | |
| 6 | */ | |
| 7 | ||
| 8 | + | #include <string.h> |
| 9 | + | |
| 10 | #include "standard.h" | |
| 11 | #include "rhd_qtree.h" | |
| 12 | /* quantity of leaves to free at a time */ | |
| # | Line 81 | Line 83 | int really; | |
| 83 | nexttwig = 0; | |
| 84 | if (!really) { /* just clear allocated blocks */ | |
| 85 | while (i--) | |
| 86 | < | bzero((char *)twigbundle[i], TBUNDLESIZ*sizeof(RTREE)); |
| 86 | > | memset((char *)twigbundle[i], '\0', TBUNDLESIZ*sizeof(RTREE)); |
| 87 | return; | |
| 88 | } | |
| 89 | /* else "really" means free up memory */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |