Changeset 39e8406 in mainline for uspace/app/sbi/src/stree.c
- Timestamp:
- 2010-03-20T21:57:13Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b535aeb
- Parents:
- 6ba20a6b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/sbi/src/stree.c
r6ba20a6b r39e8406 136 136 } 137 137 138 stree_proc_t *stree_proc_new(void) 139 { 140 stree_proc_t *proc; 141 142 proc = calloc(1, sizeof(stree_proc_t)); 143 if (proc == NULL) { 144 printf("Memory allocation failed.\n"); 145 exit(1); 146 } 147 148 return proc; 149 } 150 138 151 stree_proc_arg_t *stree_proc_arg_new(void) 139 152 { … … 507 520 } 508 521 509 stree_tliteral_t *stree_tliteral_new( void)522 stree_tliteral_t *stree_tliteral_new(tliteral_class_t tlc) 510 523 { 511 524 stree_tliteral_t *tliteral; … … 517 530 } 518 531 532 tliteral->tlc = tlc; 519 533 return tliteral; 520 534 }
Note:
See TracChangeset
for help on using the changeset viewer.