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:
Anthony Minessale 2008-11-07 00:24:31 +00:00
parent 2156075c60
commit 9557929408
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)
{