Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/table.c

    rb7fd2a0 rd5c1051  
    5151 * @return EOK on success, ENOMEM if out of memory
    5252 */
    53 static errno_t table_add_row(table_t *table, table_row_t **rrow)
     53static int table_add_row(table_t *table, table_row_t **rrow)
    5454{
    5555        table_row_t *row;
     
    7474 * @return EOK on success, ENOMEM if out of memory
    7575 */
    76 static errno_t table_row_add_cell(table_row_t *row, table_cell_t **rcell)
     76static int table_row_add_cell(table_row_t *row, table_cell_t **rcell)
    7777{
    7878        table_cell_t *cell;
     
    9999 * @return EOK on success, ENOMEM if out of memory
    100100 */
    101 static errno_t table_add_column(table_t *table, table_column_t **rcolumn)
     101static int table_add_column(table_t *table, table_column_t **rcolumn)
    102102{
    103103        table_column_t *column;
     
    121121 * @return EOK on success, ENOMEM if out of memory
    122122 */
    123 static errno_t table_write_next_cell(table_t *table)
    124 {
    125         errno_t rc;
     123static int table_write_next_cell(table_t *table)
     124{
     125        int rc;
    126126
    127127        rc = table_row_add_cell(table->wrow, &table->wcell);
     
    155155 * @return EOK on success, ENOMEM if out of memory
    156156 */
    157 static errno_t table_write_next_row(table_t *table)
    158 {
    159         errno_t rc;
     157static int table_write_next_row(table_t *table)
     158{
     159        int rc;
    160160
    161161        rc = table_add_row(table, &table->wrow);
     
    272272 * @return EOK on success, ENOMEM if out of memory
    273273 */
    274 static errno_t table_cell_extend(table_cell_t *cell, const char *str, size_t len)
     274static int table_cell_extend(table_cell_t *cell, const char *str, size_t len)
    275275{
    276276        char *cstr;
     
    298298 * @return EOK on success, ENOMEM if out of memory
    299299 */
    300 errno_t table_create(table_t **rtable)
     300int table_create(table_t **rtable)
    301301{
    302302        table_t *table;
    303         errno_t rc;
     303        int rc;
    304304
    305305        table = calloc(1, sizeof(table_t));
     
    377377 * @return EOK on success, EIO on I/O error
    378378 */
    379 errno_t table_print_out(table_t *table, FILE *f)
     379int table_print_out(table_t *table, FILE *f)
    380380{
    381381        table_row_t *row;
     
    474474 * @return EOK on success, ENOMEM if out of memory
    475475 */
    476 errno_t table_printf(table_t *table, const char *fmt, ...)
     476int table_printf(table_t *table, const char *fmt, ...)
    477477{
    478478        va_list args;
    479         errno_t rc;
     479        int rc;
    480480        int ret;
    481481        char *str;
     
    548548 * @return EOK if no error indicated, non-zero error code otherwise
    549549 */
    550 errno_t table_get_error(table_t *table)
     550int table_get_error(table_t *table)
    551551{
    552552        return table->error;
Note: See TracChangeset for help on using the changeset viewer.