Explorar o código

* two calling conventions specified (stdcall and cdecl)

Tomas Hajny %!s(int64=22) %!d(string=hai) anos
pai
achega
e9c1ebec7a
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      rtl/os2/pmwsock.pas

+ 5 - 2
rtl/os2/pmwsock.pas

@@ -811,7 +811,7 @@ Function socket(af, typ, protocol: LongInt): TSocket; cdecl;
 Function gethostbyaddr(addr: pchar; len: Longint; t: Longint): PHostEnt; cdecl;
 Function gethostbyaddr(addr: pchar; len: Longint; t: Longint): PHostEnt; cdecl;
     external 'PMWSock' name 'gethostbyaddr';
     external 'PMWSock' name 'gethostbyaddr';
 
 
-Function gethostbyname(name: pchar): PHostEnt;stdcall; cdecl;
+Function gethostbyname(name: pchar): PHostEnt; cdecl;
     external 'PMWSock' name 'gethostbyname';
     external 'PMWSock' name 'gethostbyname';
 
 
 Function gethostname(name: pchar; namelen: Longint): Longint; cdecl;
 Function gethostname(name: pchar; namelen: Longint): Longint; cdecl;
@@ -1056,7 +1056,10 @@ end.
 
 
 {
 {
 $Log$
 $Log$
-Revision 1.2  2003-08-15 10:53:43  yuri
+Revision 1.3  2003-10-05 20:03:58  hajny
+  * two calling conventions specified (stdcall and cdecl)
+
+Revision 1.2  2003/08/15 10:53:43  yuri
 + Winsock unit added
 + Winsock unit added
 * PMWSock unit updated (to be less or more compitilbe with win32 winsock)
 * PMWSock unit updated (to be less or more compitilbe with win32 winsock)