Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 9818b97e authored by rswindell's avatar rswindell

Only prototype listSem functions if LINK_LIST_THREADSAFE defined.

parent 3c26e229
......@@ -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*);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment