Skip to content
Snippets Groups Projects
Commit 9818b97e authored by rswindell's avatar rswindell
Browse files

Only prototype listSem functions if LINK_LIST_THREADSAFE defined.

parent 3c26e229
Branches
Tags
No related merge requests found
......@@ -86,10 +86,12 @@ BOOL listFree(link_list_t*);
long listFreeNodes(link_list_t*);
BOOL listFreeNodeData(list_node_t* node);
#if defined(LINK_LIST_THREADSAFE)
BOOL listSemPost(const link_list_t*);
BOOL listSemWait(const link_list_t*);
BOOL listSemTryWait(const link_list_t*);
BOOL listSemTryWaitBlock(const link_list_t*, unsigned long timeout);
#endif
/* Lock/unlock mutex-protected linked lists (no-op for unprotected lists) */
void listLock(const link_list_t*);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment