FS-3709 --resolve

This commit is contained in:
Jeff Lenk 2011-11-21 09:53:27 -06:00
parent 5b65045d1f
commit 8ca4efea75
3 changed files with 4 additions and 4 deletions

View File

@ -1308,11 +1308,11 @@ SWITCH_DECLARE(void *) switch_core_hash_find_rdlock(_In_ switch_hash_t *hash, _I
/*! /*!
\brief Gets the first element of a hashtable \brief Gets the first element of a hashtable
\param depricate_me [deprecated] NULL \param deprecate_me [deprecated] NULL
\param hash the hashtable to use \param hash the hashtable to use
\return The element, or NULL if it wasn't found \return The element, or NULL if it wasn't found
*/ */
SWITCH_DECLARE(switch_hash_index_t *) switch_hash_first(char *depricate_me, _In_ switch_hash_t *hash); SWITCH_DECLARE(switch_hash_index_t *) switch_hash_first(char *deprecate_me, _In_ switch_hash_t *hash);
/*! /*!
\brief Gets the next element of a hashtable \brief Gets the next element of a hashtable

View File

@ -222,7 +222,7 @@ SWITCH_DECLARE(void *) switch_core_hash_find_rdlock(switch_hash_t *hash, const c
return val; return val;
} }
SWITCH_DECLARE(switch_hash_index_t *) switch_hash_first(char *depricate_me, switch_hash_t *hash) SWITCH_DECLARE(switch_hash_index_t *) switch_hash_first(char *deprecate_me, switch_hash_t *hash)
{ {
return (switch_hash_index_t *) sqliteHashFirst(&hash->table); return (switch_hash_index_t *) sqliteHashFirst(&hash->table);
} }

View File

@ -420,7 +420,7 @@ SWITCH_DECLARE(void) switch_time_sync(void)
runtime.offset = runtime.reference - time_now(0); runtime.offset = runtime.reference - time_now(0);
runtime.reference = time_now(runtime.offset); runtime.reference = time_now(runtime.offset);
if (runtime.reference - last_time > 1000000 || last_time == 0) { if (runtime.reference - last_time > 1000000 || last_time == 0) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Clock syncronized to system time.\n"); switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Clock synchronized to system time.\n");
} }
last_time = runtime.reference; last_time = runtime.reference;
} }