apps/testcase: fix a link error
authorEunBong Song <eunb.song@samsung.com>
Thu, 6 Apr 2017 07:57:04 +0000 (16:57 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:09 +0000 (12:02 +0900)
This patch fixes a link error below:

    make[2]: Leaving directory `/home/ebsong/tizenrt/os/arch/arm/src/sidk_s5jt200/src'
    LD: tinyara
    /home/ebsong/tizenrt/os/../build/output/libraries/libapps.a(tc_tash_stackmonitor.o): In function `tc_tash_stackmonitor':
    /home/ebsong/tizenrt/apps/examples/testcase/le_tc/kernel/tc_tash_stackmonitor.c:64: undefined reference to `TC_ASSERT_EQ'
    /home/ebsong/tizenrt/apps/examples/testcase/le_tc/kernel/tc_tash_stackmonitor.c:68: undefined reference to `TC_SUCCESS_RESULT'

Change-Id: If6a7d19886cae779112b4b2165673d0547b6316a
Signed-off-by: EunBong Song <eunb.song@samsung.com>
apps/examples/testcase/le_tc/kernel/tc_tash_stackmonitor.c

index 0e5b741..4ae8410 100644 (file)
@@ -28,6 +28,7 @@
 #include <stdlib.h>
 #include <sched.h>
 #include <apps/shell/tash.h>
+#include "tc_internal.h"
 
 #define DEFAULT_STKSIZE 1024
 #define TC_STACKMONITOR_TASKNAME "tc_stackmonitor"