Mercurial > hg > octave-lyh
diff liboctave/lo-sysdep.h @ 10266:82db36545def
use gnulib gethostname module
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 04 Feb 2010 04:43:08 -0500 |
parents | 4c0cdbe0acca |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/liboctave/lo-sysdep.h +++ b/liboctave/lo-sysdep.h @@ -32,10 +32,6 @@ extern int octave_chdir (const std::string&); -#if ! defined (HAVE_GETHOSTNAME) && defined (HAVE_SYS_UTSNAME_H) -extern int gethostname (char *, int); -#endif - #if defined (__WIN32__) && ! defined (__CYGWIN__) extern pid_t octave_popen2 (const std::string&, const string_vector&, bool, int *, std::string&);