Added _socket_interrupt() for compatibility.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19409 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-12-01 12:41:21 +00:00
parent cdd2dcca7f
commit 379cdb69ee

View File

@ -22,6 +22,7 @@ struct net_settings;
extern "C" {
int *_h_errnop(void);
int _netstat(int fd, char **output, int verbose);
int _socket_interrupt(void);
int closesocket(int socket);
char *find_net_setting(net_settings* settings, const char* heading,
const char* name, char* value, unsigned numBytes);
@ -49,6 +50,13 @@ _netstat(int fd, char **output, int verbose)
}
int
_socket_interrupt(void)
{
return -1;
}
int
closesocket(int socket)
{