mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-10 06:49:40 +00:00
add new GCC-specific macro and force inlining of certain functions where speed is paramount, even when optimization is disabled
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -118,15 +118,6 @@ struct timeval ast_tvsub(struct timeval a, struct timeval b);
|
||||
/*!
|
||||
* \brief Returns a timeval from sec, usec
|
||||
*/
|
||||
#if 0
|
||||
AST_INLINE_API(
|
||||
struct timeval ast_tv(int sec, int usec),
|
||||
{
|
||||
struct timeval t = { sec, usec};
|
||||
return t;
|
||||
}
|
||||
)
|
||||
#endif
|
||||
AST_INLINE_API(
|
||||
struct timeval ast_tv(ast_time_t sec, ast_suseconds_t usec),
|
||||
{
|
||||
|
Reference in New Issue
Block a user