提交 95579294 authored 作者: Anthony Minessale's avatar Anthony Minessale

move macro to the core

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10276 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 2156075c
......@@ -404,6 +404,7 @@ static inline switch_bool_t switch_strstr(char *s, char *q)
\return the epoch time in usec
*/
SWITCH_DECLARE(switch_time_t) switch_str_time(const char *in);
#define switch_time_from_sec(sec) ((switch_time_t)(sec) * 1000000)
/*!
\brief Declares a function designed to set a dymaic global string
......
......@@ -1276,7 +1276,7 @@ struct cb_helper {
switch_stream_handle_t *stream;
};
#define switch_time_from_sec(sec) ((switch_time_t)(sec) * 1000000)
static int show_reg_callback(void *pArg, int argc, char **argv, char **columnNames)
{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论