8000 bpo-19561: Remove unnecessary gethostname() prototype for Solaris by kulikjak · Pull Request #23208 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-19561: Remove unnecessary gethostname() prototype for Solaris #23208

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove unnecessary gethostname() prototype for Solaris
  • Loading branch information
kulikjak committed Sep 2, 2023
commit d2fc237da4ee151b8b171cfe5610f055b2e81eda
5 changes: 0 additions & 5 deletions Modules/socketmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,6 @@ Local naming conventions:
#include "pycore_fileutils.h" // _Py_set_inheritable()
#include "pycore_moduleobject.h" // _PyModule_GetState

// gethostname() prototype missing from Solaris standard header files
#ifdef __sun
< 4E67 span class=pl-k>extern int gethostname(char *, int);
#endif

#ifdef _Py_MEMORY_SANITIZER
# include <sanitizer/msan_interface.h>
#endif
Expand Down
0