index 2a6abe32a3ec2f588b32d8f265248f7ab1f747aa..98482da0011132e28c55b69114112ce4d3d9a1b6 100644 (file)
int sock;
int err;
UInt16 clusterId;
+ (Void)handle;
/*
* Retrieve the socket for the AF_SYSLINK protocol associated with this
*/
Bool TransportRpmsg_control(Void *handle, UInt cmd, UArg cmdArg)
{
+ (Void)handle;
+ (Void)cmd;
+ (Void)cmdArg;
return FALSE;
}
fd_set rfds;
int maxFd;
int nfds;
- MessageQ_Msg retMsg;
+ MessageQ_Msg retMsg = NULL;
MessageQ_QueueId queueId;
MessageQ_Handle handle;
Bool run = TRUE;
int i;
int j;
int fd;
-
+ (Void)arg;
while (run) {
maxFd = TransportRpmsg_module->maxFd;
Int status = MessageQ_S_SUCCESS;
MessageQ_Msg msg;
struct sockaddr_rpmsg fromAddr; /* [Socket address of sender] */
- unsigned int len;
+ socklen_t len;
int byteCount;
/*
UInt oldSize;
UInt newCount;
UInt queueIndex;
- int i;
+ UInt i;
/* subtract port offset from queue index */
queueIndex = queuePort - MessageQ_PORTOFFSET;
- if (queueIndex >= obj->numQueues) {
+ if (queueIndex >= (UInt)obj->numQueues) {
newCount = queueIndex + TransportRpmsg_GROWSIZE;
PRINTVERBOSE1("TransportRpmsg_bind: growing numQueues to %d\n",
newCount);