projects
/
IRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add profile codes for multicore version
[IRC.git]
/
Robust
/
src
/
Runtime
/
Queue.h
diff --git
a/Robust/src/Runtime/Queue.h
b/Robust/src/Runtime/Queue.h
index 07260fb44e740f91cb19f3f4617fdbf1c8434c57..01253409bd66c80b531ba87922000f283a428587 100644
(file)
--- a/
Robust/src/Runtime/Queue.h
+++ b/
Robust/src/Runtime/Queue.h
@@
-13,7
+13,7
@@
struct QueueItem {
struct QueueItem * prev;
};
-#define isEmpty(x) (
x
->head==NULL)
+#define isEmpty(x) (
(x)
->head==NULL)
void * getItem(struct Queue * queue);
void freeQueue(struct Queue * q);