diff --git a/src/ids.c b/src/ids.c index 1b75a0d..2ce117a 100644 --- a/src/ids.c +++ b/src/ids.c @@ -119,7 +119,7 @@ int msgQueueIdIntern( int msgQueueElemIdIntern( msgQueueElemId dest, - msgQueueId src + msgQueueId src, int counter){ if (strlen(src)>MSGSPACE_ID_LEN){ return -1; diff --git a/src/iface.h b/src/iface.h index bb59dd8..c0756aa 100644 --- a/src/iface.h +++ b/src/iface.h @@ -78,8 +78,8 @@ typedef struct MsgQueueElem { typedef struct MsgQueue { msgQueueId id; int elemCounter; - msgQueueElemId head; - msgQueueElemId tail; + msgQueueElemId headId; + msgQueueElemId tailId; } msgQueue; #endif