Create prototype for IPC_CREATE macro on linux,

and change return type to pointer.
This commit is contained in:
Jim Norman
2006-04-24 18:47:56 +00:00
parent c6d199d3a5
commit ae815fe009
2 changed files with 198 additions and 192 deletions

View File

@@ -34,7 +34,8 @@ int firstReadAfterWrite = 0;
*/
#ifdef SSCS_LINUX_PLAT_F
int ipc_unx_create()
void* ipc_unx_create()
{
int retVal = 0;
struct sockaddr_un servAddr;
@@ -63,7 +64,7 @@ int ipc_unx_create()
else
retVal = sockFd;
}while(0);
return retVal;
return (void*)retVal;
}
#else