diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 16:34:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-22 16:34:50 +0200 |
commit | ea4c7f05a5f6fa6fd4f688556f84279c3038adda (patch) | |
tree | 99c9d925f262fab52a25ffdc9875d4bd75fee274 /sal | |
parent | 235b1f3dfdee3e765e43105342dac69eeb8fb5fe (diff) |
Avoid reserved identifiers
Change-Id: I0164df28e2d05f4f73bd640d3ca3cc3220b57df6
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/unx/socket.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sal/osl/unx/socket.cxx b/sal/osl/unx/socket.cxx index 49b8a250866c..02fb6c90c8e0 100644 --- a/sal/osl/unx/socket.cxx +++ b/sal/osl/unx/socket.cxx @@ -709,11 +709,11 @@ static struct hostent* osl_gethostbyname_r ( char *buffer, int buflen, int *h_errnop) { #if defined(LINUX) || defined(ANDROID) || defined(FREEBSD) || defined(DRAGONFLY) || defined(EMSCRIPTEN) - struct hostent *__result; /* will be the same as result */ - int __error; - __error = gethostbyname_r (name, result, buffer, buflen, - &__result, h_errnop); - return __error ? nullptr : __result ; + struct hostent *result_; /* will be the same as result */ + int e; + e = gethostbyname_r (name, result, buffer, buflen, + &result_, h_errnop); + return e ? nullptr : result_ ; #elif defined(AIX) *h_errnop = gethostbyname_r (name, result, (struct hostent_data *)buffer); (void)buflen; |