summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEunji, Lee <eunjieji.lee@samsung.com>2016-05-26 10:55:26 +0900
committerEunji, Lee <eunjieji.lee@samsung.com>2016-05-26 10:55:26 +0900
commitf5cbcaf6fea6fef65d9f70a52c379f6c34246728 (patch)
tree59cc9bf37a8432622a1b9f8dad061449044006a3
parent97cb950cb45afeaaba03e45de7c8424d378e15b9 (diff)
downloadttrace-extension-f5cbcaf6fea6fef65d9f70a52c379f6c34246728.tar.gz
ttrace-extension-f5cbcaf6fea6fef65d9f70a52c379f6c34246728.tar.bz2
ttrace-extension-f5cbcaf6fea6fef65d9f70a52c379f6c34246728.zip
Change-Id: If677218a01bb00d5fd109b02a75f09e26a56c9ce Signed-off-by: Eunji, Lee <eunjieji.lee@samsung.com>
-rwxr-xr-xinclude/ttrace-extension.h4
-rwxr-xr-xsrc/ttrace-extension.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/include/ttrace-extension.h b/include/ttrace-extension.h
index a27dec3..8ade6a1 100755
--- a/include/ttrace-extension.h
+++ b/include/ttrace-extension.h
@@ -18,11 +18,13 @@
#ifndef _CDBG_TIZEN_TTRACE_EXTENSION_H_
#define _CDBG_TIZEN_TTRACE_EXTENSION_H_
+#include <unistd.h>
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-void ttrace_extension_write();
+void ttrace_extension_write(const char* msg, size_t len);
#ifdef __cplusplus
}
diff --git a/src/ttrace-extension.c b/src/ttrace-extension.c
index e54ada3..971be81 100755
--- a/src/ttrace-extension.c
+++ b/src/ttrace-extension.c
@@ -17,7 +17,7 @@
#include "ttrace-extension.h"
-void ttrace_extension_write(const char* msg)
+void ttrace_extension_write(const char* msg, size_t len)
{
/* implement alternative logging feature to write msg */
}