summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/include/winsock.h
diff options
context:
space:
mode:
authorMumit Khan <khan@@xraylith.wisc.edu>2000-03-30 06:08:58 +0000
committerMumit Khan <khan@@xraylith.wisc.edu>2000-03-30 06:08:58 +0000
commitf36f4868d1d9e16e9e8dd665c0b0d2e88c501ad9 (patch)
tree65822792fbfe0e0d119079c8ea621dd01ac8f50c /winsup/w32api/include/winsock.h
parentb0ddfa70a557797d4071837f33543f3f10042cbc (diff)
downloadcygnal-f36f4868d1d9e16e9e8dd665c0b0d2e88c501ad9.tar.gz
cygnal-f36f4868d1d9e16e9e8dd665c0b0d2e88c501ad9.tar.bz2
cygnal-f36f4868d1d9e16e9e8dd665c0b0d2e88c501ad9.zip
2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
* include/ole.h: Workaround for C++ parser bug. * include/rpcdcep.h: Likewise. * include/winsock.h: Likewise.
Diffstat (limited to 'winsup/w32api/include/winsock.h')
-rw-r--r--winsup/w32api/include/winsock.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/winsup/w32api/include/winsock.h b/winsup/w32api/include/winsock.h
index e4891b5f1..885354aa2 100644
--- a/winsup/w32api/include/winsock.h
+++ b/winsup/w32api/include/winsock.h
@@ -430,7 +430,7 @@ int PASCAL getpeername(SOCKET,struct sockaddr*,int*);
int PASCAL getsockname(SOCKET,struct sockaddr*,int*);
int PASCAL getsockopt(SOCKET,int,int,char*,int*);
unsigned long PASCAL inet_addr(const char*);
-char * PASCAL inet_ntoa(struct in_addr);
+PASCAL char *inet_ntoa(struct in_addr);
int PASCAL listen(SOCKET,int);
int PASCAL recv(SOCKET,char*,int,int);
int PASCAL recvfrom(SOCKET,char*,int,int,struct sockaddr*,int*);
@@ -439,12 +439,12 @@ int PASCAL sendto(SOCKET,const char*,int,int,const struct sockaddr*,int);
int PASCAL setsockopt(SOCKET,int,int,const char*,int);
int PASCAL shutdown(SOCKET,int);
SOCKET PASCAL socket(int,int,int);
-struct hostent* PASCAL gethostbyaddr(const char*,int,int);
-struct hostent* PASCAL gethostbyname(const char*);
-struct servent* PASCAL getservbyport(int,const char*);
-struct servent* PASCAL getservbyname(const char*,const char*);
-struct protoent* PASCAL getprotobynumber(int);
-struct protoent* PASCAL getprotobyname(const char*);
+PASCAL struct hostent *gethostbyaddr(const char*,int,int);
+PASCAL struct hostent *gethostbyname(const char*);
+PASCAL struct servent *getservbyport(int,const char*);
+PASCAL struct servent *getservbyname(const char*,const char*);
+PASCAL struct protoent *getprotobynumber(int);
+PASCAL struct protoent *getprotobyname(const char*);
int PASCAL WSAStartup(WORD,LPWSADATA);
int PASCAL WSACleanup(void);
void PASCAL WSASetLastError(int);