Subversion Repositories HelenOS

Rev

Rev 4271 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4271 Rev 4708
Line 246... Line 246...
246
    return EOK;
246
    return EOK;
247
}
247
}
248
 
248
 
249
size_t * prepare_lengths( const measured_string_ref strings, size_t count ){
249
size_t * prepare_lengths( const measured_string_ref strings, size_t count ){
250
    size_t *    lengths;
250
    size_t *    lengths;
251
    int         index;
251
    size_t      index;
252
    size_t      length;
252
    size_t      length;
253
 
253
 
254
    lengths = ( size_t * ) malloc( sizeof( size_t ) * ( count + 1 ));
254
    lengths = ( size_t * ) malloc( sizeof( size_t ) * ( count + 1 ));
255
    if( ! lengths ) return NULL;
255
    if( ! lengths ) return NULL;
256
    length = 0;
256
    length = 0;