Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/inetsrv/ntrans.c

    rb7fd2a0 rfeeac0d  
    7373 *
    7474 */
    75 errno_t ntrans_add(addr128_t ip_addr, addr48_t mac_addr)
     75int ntrans_add(addr128_t ip_addr, addr48_t mac_addr)
    7676{
    7777        inet_ntrans_t *ntrans;
     
    107107 *
    108108 */
    109 errno_t ntrans_remove(addr128_t ip_addr)
     109int ntrans_remove(addr128_t ip_addr)
    110110{
    111111        inet_ntrans_t *ntrans;
     
    134134 *
    135135 */
    136 errno_t ntrans_lookup(addr128_t ip_addr, addr48_t mac_addr)
     136int ntrans_lookup(addr128_t ip_addr, addr48_t mac_addr)
    137137{
    138138        fibril_mutex_lock(&ntrans_list_lock);
     
    153153 *
    154154 * @return EOK if woken up by another fibril
    155  * @return ETIMEOUT if timed out
     155 * @return ETIMEDOUT if timed out
    156156 *
    157157 */
    158 errno_t ntrans_wait_timeout(suseconds_t timeout)
     158int ntrans_wait_timeout(suseconds_t timeout)
    159159{
    160160        fibril_mutex_lock(&ntrans_list_lock);
    161         errno_t rc = fibril_condvar_wait_timeout(&ntrans_cv, &ntrans_list_lock,
     161        int rc = fibril_condvar_wait_timeout(&ntrans_cv, &ntrans_list_lock,
    162162            timeout);
    163163        fibril_mutex_unlock(&ntrans_list_lock);
Note: See TracChangeset for help on using the changeset viewer.