8000 Remove unnecessary gethostname() prototype for Solaris · python/cpython@3f551bd · GitHub
[go: up one dir, main page]

Skip to content

Commit 3f551bd

Browse files
committed
Remove unnecessary gethostname() prototype for Solaris
1 parent 2d9f252 commit 3f551bd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

Include/pyport.h

Lines changed: 0 additions & 5 deletions
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)
0