Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/inet/host.c

    rb7fd2a0 ra62ceaf  
    5454 *         extra characters at the end. ENOMEM if out of memory
    5555 */
    56 errno_t inet_host_parse(const char *str, inet_host_t **rhost,
     56int inet_host_parse(const char *str, inet_host_t **rhost,
    5757    char **endptr)
    5858{
     
    6161        char *name;
    6262        char *aend;
    63         errno_t rc;
     63        int rc;
    6464
    6565        host = calloc(1, sizeof(inet_host_t));
     
    106106 * @return EOK on success, ENOMEM if out of memory
    107107 */
    108 errno_t inet_host_format(inet_host_t *host, char **rstr)
    109 {
    110         errno_t rc;
     108int inet_host_format(inet_host_t *host, char **rstr)
     109{
     110        int rc;
    111111        char *str = NULL;
    112112
     
    161161 * @reutrn EOK on success, ENOENT on resolurion failure
    162162 */
    163 errno_t inet_host_lookup_one(inet_host_t *host, ip_ver_t version, inet_addr_t *addr)
     163int inet_host_lookup_one(inet_host_t *host, ip_ver_t version, inet_addr_t *addr)
    164164{
    165165        dnsr_hostinfo_t *hinfo = NULL;
    166         errno_t rc;
     166        int rc;
    167167
    168168        switch (host->hform) {
     
    201201 *         ENOMEM if out of memory
    202202 */
    203 errno_t inet_host_plookup_one(const char *str, ip_ver_t version, inet_addr_t *addr,
     203int inet_host_plookup_one(const char *str, ip_ver_t version, inet_addr_t *addr,
    204204    char **endptr, const char **errmsg)
    205205{
    206206        inet_host_t *host = NULL;
    207207        char *eptr;
    208         errno_t rc;
     208        int rc;
    209209
    210210        rc = inet_host_parse(str, &host, endptr != NULL ? &eptr : NULL);
Note: See TracChangeset for help on using the changeset viewer.