int retval;  retval = niserr2nss (result->status);
enum nss_status retval = niserr2nss (result->status);
internal_nisplus_gethostent_r (struct hostent *host, char *buffer,			       size_t buflen, int *herrnop){  int parse_res;  /* Get the next entry until we found a correct one. */  do    {      if (result == NULL)	{	  if (tablename_val == NULL)	    if (_nss_create_tablename() != NSS_STATUS_SUCCESS)	      return NSS_STATUS_UNAVAIL;	  result = nis_first_entry(tablename_val);	  if (niserr2nss (result->status) != NSS_STATUS_SUCCESS)            {              int retval;              retval = niserr2nss (result->status);              if (retval == NSS_STATUS_TRYAGAIN)                {                  *herrnop = NETDB_INTERNAL;                  __set_errno (EAGAIN);                }              return retval;            }	}      else	{	  nis_result *res2;	  res2 = nis_next_entry(tablename_val, &result->cookie);	  nis_freeresult (result);	  result = res2;	  if (niserr2nss (result->status) != NSS_STATUS_SUCCESS)            {              int retval;              retval = niserr2nss (result->status);              if (retval == NSS_STATUS_TRYAGAIN)                {                  *herrnop = NETDB_INTERNAL;                  __set_errno (EAGAIN);                }              return retval;            }	}      parse_res = _nss_nisplus_parse_hostent (result, AF_INET6,					      host, buffer, buflen);      if (!parse_res && errno != ERANGE)	parse_res = _nss_nisplus_parse_hostent (result, AF_INET, host,						buffer, buflen);      if (!parse_res && errno == ERANGE)        {          *herrnop = NETDB_INTERNAL;          return NSS_STATUS_TRYAGAIN;        }    } while (!parse_res);  return NSS_STATUS_SUCCESS;}