add telegram account, fix db insert error.
[apps/native/telegram-tizen.git] / tg-engine-service / tg_engine_utils / tg_common.h
index 3a989cb..2a7445d 100644 (file)
@@ -48,12 +48,7 @@ typedef struct msg_list_container {
        int current_index;
 } msg_list_container_s;
 
-static uint64_t get_time_stamp_in_macro()
-{
-       struct timeval tv;
-       gettimeofday(&tv, NULL);
-       return tv.tv_sec*(uint64_t)1000000+tv.tv_usec;
-}
+extern uint64_t get_time_stamp_in_macro();
 
 extern char *ui_utils_get_resource(const char *res_name);