summaryrefslogtreecommitdiff
path: root/wince/wincesck.c
diff options
context:
space:
mode:
Diffstat (limited to 'wince/wincesck.c')
-rw-r--r--wince/wincesck.c39
1 files changed, 17 insertions, 22 deletions
diff --git a/wince/wincesck.c b/wince/wincesck.c
index 64a1cab0c5..beb7489e4f 100644
--- a/wince/wincesck.c
+++ b/wince/wincesck.c
@@ -28,11 +28,6 @@
#include "EXTERN.h"
#include "perl.h"
-#if defined(PERL_OBJECT)
-#define NO_XSLOCKS
-#include "XSUB.h"
-#endif
-
#include "Win32iop.h"
#include <sys/socket.h>
@@ -103,7 +98,7 @@ static int wsock_started = 0;
void
start_sockets(void)
{
- dTHXo;
+ dTHX;
unsigned short version;
WSADATA retdata;
int ret;
@@ -329,7 +324,7 @@ win32_getprotobynumber(int num)
struct servent *
win32_getservbyname(const char *name, const char *proto)
{
- dTHXo;
+ dTHX;
struct servent *r;
SOCKET_TEST(r = getservbyname(name, proto), NULL);
@@ -342,7 +337,7 @@ win32_getservbyname(const char *name, const char *proto)
struct servent *
win32_getservbyport(int port, const char *proto)
{
- dTHXo;
+ dTHX;
struct servent *r;
SOCKET_TEST(r = getservbyport(port, proto), NULL);
@@ -355,7 +350,7 @@ win32_getservbyport(int port, const char *proto)
int
win32_ioctl(int i, unsigned int u, char *data)
{
- dTHXo;
+ dTHX;
u_long argp = (u_long)data;
int retval;
@@ -396,28 +391,28 @@ win32_inet_addr(const char FAR *cp)
void
win32_endhostent()
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("endhostent not implemented!\n");
}
void
win32_endnetent()
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("endnetent not implemented!\n");
}
void
win32_endprotoent()
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("endprotoent not implemented!\n");
}
void
win32_endservent()
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("endservent not implemented!\n");
}
@@ -425,7 +420,7 @@ win32_endservent()
struct netent *
win32_getnetent(void)
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("getnetent not implemented!\n");
return (struct netent *) NULL;
}
@@ -433,7 +428,7 @@ win32_getnetent(void)
struct netent *
win32_getnetbyname(char *name)
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("getnetbyname not implemented!\n");
return (struct netent *)NULL;
}
@@ -441,7 +436,7 @@ win32_getnetbyname(char *name)
struct netent *
win32_getnetbyaddr(long net, int type)
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("getnetbyaddr not implemented!\n");
return (struct netent *)NULL;
}
@@ -449,7 +444,7 @@ win32_getnetbyaddr(long net, int type)
struct protoent *
win32_getprotoent(void)
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("getprotoent not implemented!\n");
return (struct protoent *) NULL;
}
@@ -457,7 +452,7 @@ win32_getprotoent(void)
struct servent *
win32_getservent(void)
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("getservent not implemented!\n");
return (struct servent *) NULL;
}
@@ -465,7 +460,7 @@ win32_getservent(void)
void
win32_sethostent(int stayopen)
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("sethostent not implemented!\n");
}
@@ -473,7 +468,7 @@ win32_sethostent(int stayopen)
void
win32_setnetent(int stayopen)
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("setnetent not implemented!\n");
}
@@ -481,7 +476,7 @@ win32_setnetent(int stayopen)
void
win32_setprotoent(int stayopen)
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("setprotoent not implemented!\n");
}
@@ -489,7 +484,7 @@ win32_setprotoent(int stayopen)
void
win32_setservent(int stayopen)
{
- dTHXo;
+ dTHX;
Perl_croak_nocontext("setservent not implemented!\n");
}