Changeset 39e8406 in mainline for uspace/app/sbi/src/stree.c


Ignore:
Timestamp:
2010-03-20T21:57:13Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b535aeb
Parents:
6ba20a6b
Message:

Update SBI to rev. 128.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/stree.c

    r6ba20a6b r39e8406  
    136136}
    137137
     138stree_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
    138151stree_proc_arg_t *stree_proc_arg_new(void)
    139152{
     
    507520}
    508521
    509 stree_tliteral_t *stree_tliteral_new(void)
     522stree_tliteral_t *stree_tliteral_new(tliteral_class_t tlc)
    510523{
    511524        stree_tliteral_t *tliteral;
     
    517530        }
    518531
     532        tliteral->tlc = tlc;
    519533        return tliteral;
    520534}
Note: See TracChangeset for help on using the changeset viewer.