diff options
author | Larwan Berke <apocal@cpan.org> | 2011-01-27 12:54:14 -0700 |
---|---|---|
committer | Jesse Vincent <jesse@bestpractical.com> | 2011-01-29 14:11:29 -0500 |
commit | 80531fbd26ea3e54d276165c4d86208c8e629a83 (patch) | |
tree | bc44911d2f6789b5a32fa5cc679bc8c7e713aa62 /ext | |
parent | 881ffab65cdbee2f146ada660e5593bad2e71472 (diff) | |
download | perl-80531fbd26ea3e54d276165c4d86208c8e629a83.tar.gz |
Move IN6ADDR_ANY and IN6ADDR_LOOPBACK to @EXPORT_OK in Socket.pm, requested by Nicholas
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Socket/Socket.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/Socket/Socket.pm b/ext/Socket/Socket.pm index c35509e0ca..3e4d56ae81 100644 --- a/ext/Socket/Socket.pm +++ b/ext/Socket/Socket.pm @@ -312,6 +312,9 @@ use warnings::register; require Exporter; require XSLoader; @ISA = qw(Exporter); + +# <@Nicholas> you can't change @EXPORT without breaking the implicit API +# Please put any new constants in @EXPORT_OK! @EXPORT = qw( inet_aton inet_ntoa sockaddr_family @@ -320,7 +323,6 @@ require XSLoader; pack_sockaddr_in6 unpack_sockaddr_in6 sockaddr_in sockaddr_in6 sockaddr_un INADDR_ANY INADDR_BROADCAST INADDR_LOOPBACK INADDR_NONE - IN6ADDR_ANY IN6ADDR_LOOPBACK AF_802 AF_AAL AF_APPLETALK @@ -483,6 +485,8 @@ require XSLoader; getaddrinfo getnameinfo + IN6ADDR_ANY IN6ADDR_LOOPBACK + AI_CANONNAME AI_NUMERICHOST AI_NUMERICSERV |