Skip to content

Commit 93e64c8

Browse files
committed
Remove unnecessary gethostname() prototype for Solaris
1 parent c21f828 commit 93e64c8

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
@@ -429,11 +429,6 @@ Please be conservative with adding new ones, document them and enclose them
429429
in platform-specific #ifdefs.
430430
**************************************************************************/
431431

432-
#ifdef SOLARIS
433-
/* Unchecked */
434-
extern int gethostname(char *, int);
435-
#endif
436-
437432
#ifdef HAVE__GETPTY
438433
#include <sys/types.h> /* we need to import mode_t */
439434
extern char * _getpty(int *, int, mode_t, int);

0 commit comments

Comments
 (0)