Changeset 132ab5d1 in mainline for uspace/lib/c/generic/dnsr.c


Ignore:
Timestamp:
2018-01-30T03:20:45Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5a6cc679
Parents:
8bfb163 (diff), 6a5d05b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into forwardport

Separate return value from error code in gen_irq_code*().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/dnsr.c

    r8bfb163 r132ab5d1  
    9090            sizeof(inet_addr_t), &answer_addr);
    9191       
    92         sysarg_t retval_addr;
     92        int retval_addr;
    9393        async_wait_for(req_addr, &retval_addr);
    9494       
     
    9797                async_forget(req);
    9898                free(info);
    99                 return (int) retval_addr;
     99                return retval_addr;
    100100        }
    101101       
     
    107107        dnsr_exchange_end(exch);
    108108       
    109         sysarg_t retval_cname;
     109        int retval_cname;
    110110        async_wait_for(req_cname, &retval_cname);
    111111       
     
    113113                async_forget(req);
    114114                free(info);
    115                 return (int) retval_cname;
     115                return retval_cname;
    116116        }
    117117       
    118         sysarg_t retval;
     118        int retval;
    119119        async_wait_for(req, &retval);
    120120       
     
    122122                async_forget(req);
    123123                free(info);
    124                 return (int) retval;
     124                return retval;
    125125        }
    126126       
     
    165165        }
    166166       
    167         sysarg_t retval;
     167        int retval;
    168168        async_wait_for(req, &retval);
    169169       
    170         return (int) retval;
     170        return retval;
    171171}
    172172
     
    186186        }
    187187       
    188         sysarg_t retval;
     188        int retval;
    189189        async_wait_for(req, &retval);
    190190       
    191         return (int) retval;
     191        return retval;
    192192}
    193193
Note: See TracChangeset for help on using the changeset viewer.