Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorMumit Khan <khan@@xraylith.wisc.edu>2000-03-30 10:08:58 +0400
committerMumit Khan <khan@@xraylith.wisc.edu>2000-03-30 10:08:58 +0400
commitf36f4868d1d9e16e9e8dd665c0b0d2e88c501ad9 (patch)
tree65822792fbfe0e0d119079c8ea621dd01ac8f50c /winsup
parentb0ddfa70a557797d4071837f33543f3f10042cbc (diff)
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')
-rw-r--r--winsup/w32api/ChangeLog6
-rw-r--r--winsup/w32api/include/ole.h2
-rw-r--r--winsup/w32api/include/rpcdcep.h2
-rw-r--r--winsup/w32api/include/winsock.h14
4 files changed, 15 insertions, 9 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 1249423d6..30039abca 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
Sun Mar 26 13:41:47 2000 Christopher Faylor <cgf@cygnus.com>
* include/winnt.h: Eliminate duplicate PCONTEXT and LPCONTEXT typedefs.
diff --git a/winsup/w32api/include/ole.h b/winsup/w32api/include/ole.h
index 1aa3f0245..f96745932 100644
--- a/winsup/w32api/include/ole.h
+++ b/winsup/w32api/include/ole.h
@@ -252,7 +252,7 @@ OLESTATUS WINAPI OleUpdate(LPOLEOBJECT);
OLESTATUS WINAPI OleReconnect(LPOLEOBJECT);
OLESTATUS WINAPI OleGetLinkUpdateOptions(LPOLEOBJECT,OLEOPT_UPDATE*);
OLESTATUS WINAPI OleSetLinkUpdateOptions(LPOLEOBJECT,OLEOPT_UPDATE);
-void *WINAPI OleQueryProtocol(LPOLEOBJECT,LPCSTR);
+WINAPI void *OleQueryProtocol(LPOLEOBJECT,LPCSTR);
OLESTATUS WINAPI OleQueryReleaseStatus(LPOLEOBJECT);
OLESTATUS WINAPI OleQueryReleaseError(LPOLEOBJECT);
OLE_RELEASE_METHOD WINAPI OleQueryReleaseMethod(LPOLEOBJECT);
diff --git a/winsup/w32api/include/rpcdcep.h b/winsup/w32api/include/rpcdcep.h
index 82d731ebd..8479360a9 100644
--- a/winsup/w32api/include/rpcdcep.h
+++ b/winsup/w32api/include/rpcdcep.h
@@ -81,7 +81,7 @@ long __stdcall I_RpcFreeBuffer(RPC_MESSAGE*);
void __stdcall I_RpcRequestMutex(I_RPC_MUTEX*);
void __stdcall I_RpcClearMutex(I_RPC_MUTEX);
void __stdcall I_RpcDeleteMutex(I_RPC_MUTEX);
-void* __stdcall I_RpcAllocate(unsigned int);
+__stdcall void *I_RpcAllocate(unsigned int);
void __stdcall I_RpcFree(void*);
void __stdcall I_RpcPauseExecution(unsigned long);
typedef void(__stdcall *PRPC_RUNDOWN) (void*);
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);