diff --git a/src/kits/network/libnet/Jamfile b/src/kits/network/libnet/Jamfile index c435dc5f44..19ceb09ca3 100644 --- a/src/kits/network/libnet/Jamfile +++ b/src/kits/network/libnet/Jamfile @@ -4,7 +4,7 @@ UsePrivateHeaders net ; { # Default libs include BeOS R5 libnet.so, something we don't want here! -LINKFLAGS on libnet.so = [ on libnet.so return $(LINKFLAGS) ] -nostdlib ; +LINKFLAGS on libnet.so = [ on libnet.so return $(LINKFLAGS) ] -nodefaultlibs ; } Depends libnet.so : install_network_etc_files ; diff --git a/src/kits/network/libnet/compat.c b/src/kits/network/libnet/compat.c index c983687bad..adf9f379ae 100644 --- a/src/kits/network/libnet/compat.c +++ b/src/kits/network/libnet/compat.c @@ -29,22 +29,9 @@ int _socket_interrupt(void); int _netconfig_find(void); -/* These should probably be moved to a seperate file as they - * are unique to the library as a whole... - */ - -_EXPORT void _init() -{ - h_errno_tls = tls_allocate(); -} - -_EXPORT void _fini() -{ -} - - _EXPORT void initialize_before(void) { + h_errno_tls = tls_allocate(); } _EXPORT void terminate_after(void)