Skip to content

Commit d650b0c

Browse files
committed
Remove unnecessary gethostname() prototype for Solaris
1 parent 16ebae4 commit d650b0c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Include/pyport.h

-5
Original file line numberDiff line numberDiff line change
@@ -417,11 +417,6 @@ Please be conservative with adding new ones, document them and enclose them
417417
in platform-specific #ifdefs.
418418
**************************************************************************/
419419

420-
#ifdef SOLARIS
421-
/* Unchecked */
422-
extern int gethostname(char *, int);
423-
#endif
424-
425420
#ifdef HAVE__GETPTY
426421
#include <sys/types.h> /* we need to import mode_t */
427422
extern char * _getpty(int *, int, mode_t, int);

0 commit comments

Comments
 (0)