[FIX] warning of implicit real_pthread_* declaration
authorNikita Kalyazin <n.kalyazin@samsung.com>
Wed, 18 Sep 2013 06:25:22 +0000 (10:25 +0400)
committerNikita Kalyazin <n.kalyazin@samsung.com>
Wed, 18 Sep 2013 06:25:22 +0000 (10:25 +0400)
Change-Id: Ie2bde59906950f503c34e506dda1146b12de01f8
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
probe_thread/da_sync.h
probe_thread/libdathread.c

index 1c3e4d98407907af2fa5221f9b8d2c1f4b11da5c..fe7d4d3d23b68fec7b3b21aec1a4d4d5e44cee5c 100644 (file)
@@ -41,6 +41,7 @@ extern "C"{
 
 int real_pthread_mutex_lock(pthread_mutex_t *mutex);
 int real_pthread_mutex_unlock(pthread_mutex_t *mutex);
+int real_pthread_setcancelstate(int state, int *oldstate);
 
 #define BEFORE_ORIGINAL_SYNC(FUNCNAME, LIBNAME)        \
        DECLARE_VARIABLE_STANDARD;                                              \
index f96606683febd0936b2d77ac634360d275ed29b6..54fa426ded5e2fabeded2ec1d0076fb417a4745e 100644 (file)
@@ -36,6 +36,7 @@
 #include "probeinfo.h"
 #include "dahelper.h"
 #include "da_thread.h"
+#include "da_sync.h"
 
 #include "binproto.h"