Changeset 222 for trunk/src/helpers/tree.c
- Timestamp:
- Sep 3, 2002, 8:17:46 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/tree.c
r196 r222 269 269 270 270 #define LEAF &sentinel // all leafs are sentinels 271 staticTREE sentinel = { LEAF, LEAF, 0, BLACK};271 STATIC TREE sentinel = { LEAF, LEAF, 0, BLACK}; 272 272 273 273 /* … … 359 359 */ 360 360 361 staticvoid rotateLeft(TREE **root,361 STATIC void rotateLeft(TREE **root, 362 362 TREE *x) 363 363 { … … 396 396 */ 397 397 398 staticvoid rotateRight(TREE **root,398 STATIC void rotateRight(TREE **root, 399 399 TREE *x) 400 400 { … … 433 433 */ 434 434 435 staticvoid insertFixup(TREE **root,435 STATIC void insertFixup(TREE **root, 436 436 TREE *x) 437 437 { … … 583 583 */ 584 584 585 staticvoid deleteFixup(TREE **root,585 STATIC void deleteFixup(TREE **root, 586 586 TREE *tree) 587 587 {
Note:
See TracChangeset
for help on using the changeset viewer.