move macro to the core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10276 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
2156075c60
commit
9557929408
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue