diff options
Diffstat (limited to 'sal/qa/osl/socket/sockethelper.hxx')
-rw-r--r-- | sal/qa/osl/socket/sockethelper.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/qa/osl/socket/sockethelper.hxx b/sal/qa/osl/socket/sockethelper.hxx index 4debc78d87f4..9e400d8f3c05 100644 --- a/sal/qa/osl/socket/sockethelper.hxx +++ b/sal/qa/osl/socket/sockethelper.hxx @@ -109,10 +109,10 @@ void printUString( const ::rtl::OUString & str, const char * msg = "" ); mindy: gethostbyname( "localhost" ), on Linux, it returns the hostname in /etc/hosts + domain name, if no entry in /etc/hosts, it returns "localhost" + domain name */ -::rtl::OUString getHost( void ); +::rtl::OUString getHost(); /** get the full host name of the current processor, such as "aegean.prc.sun.com" --mindyliu */ -::rtl::OUString getThisHostname( void ); +::rtl::OUString getThisHostname(); /** get IP by name, search /etc/hosts first, then search from dns, fail return OUString("") */ ::rtl::OUString getIPbyName( rtl::OString const& str_name ); |