Linked epics statically

This commit is contained in:
2014-04-10 10:53:18 +02:00
parent 722fab935e
commit 8e1ac545ce
8 changed files with 15 additions and 11 deletions

View File

@ -67,7 +67,7 @@ struct timeval lastclose = { -1, 0 };
/*-----------------------------------------------------------------------
Redefine this function if another means of error reporting is necessary.
*/
static void NetError(char *pText)
static void NetError(const char pText[])
{
/*
SICSLogWrite(pText,eError);
@ -607,7 +607,7 @@ int NETReadTillTerm(mkChannel * self, long timeout,
gettimeofday(&start, NULL);
if (pTerm == NULL)
pTerm = "";
pTerm = strdup("");
length = strlen(pTerm);
memset(pBuffer, 0, iBufLen);
@ -842,8 +842,9 @@ mkChannel *UDPOpen(int iPort)
i = 1;
setsockopt(pRes->sockid, SOL_SOCKET, SO_REUSEADDR, &i, sizeof(int));
/*
assert(pRes->sockid < (sizeof(long) * 8));
/* if this fails the masks for select will be to
if this fails the masks for select will be to
short.
*/