added an empty impl for _netstat

should fix bug #654


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17724 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2006-06-05 09:16:32 +00:00
parent 79adc02bc6
commit 5f09b6a38e

View File

@ -23,6 +23,7 @@ void _init(void);
void _fini(void);
void initialize_before(void);
void terminate_after(void);
int _netstat(int fd, char **output, int verbose);
void _b_pre_accept(void);
void _b_post_accept(void);
@ -50,6 +51,13 @@ _EXPORT void terminate_after(void)
}
_EXPORT int
_netstat(int fd, char **output, int verbose)
{
return ENOSYS;
}
_EXPORT int closesocket(int sock)
{
return close(sock);