[PATCH] ! fixed error while compiling in Thread/IoThread.c
Alexander Kluth <[email protected]> Tue, 17 Jan 2012 20:28:42 +0100
| Newsgroups | gmane.comp.lang.io |
|---|---|
| Message-ID | <[email protected]> |
Error while compiling was: IoThread.c:24:15: error: ‘IoTag_newWithName_protoId’ undeclared It was caused by a missing open parantheses (. Signed-off-by: Alexander Kluth <[email protected]> --- addons/Thread/source/IoThread.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/addons/Thread/source/IoThread.c b/addons/Thread/source/IoThread.c index 7416658..7a73768 100644 --- a/addons/Thread/source/IoThread.c +++ b/addons/Thread/source/IoThread.c @@ -21,7 +21,7 @@ static const char *protoId = "Thread"; IoTag *IoThread_newTag(void *state) { - IoTag *tag = IoTag_newWithName_protoId); + IoTag *tag = IoTag_newWithName_protoId(); IoTag_state_(tag, state); IoTag_freeFunc_(tag, (IoTagFreeFunc *)IoThread_free); IoTag_cloneFunc_(tag, (IoTagCloneFunc *)IoThread_rawClone); -- 1.7.7