diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-01 20:09:09 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-01 20:09:09 +0000 |
commit | 8839ff95dfcd9f62120244c94270db086959b52f (patch) | |
tree | 58cb5122fb4163af88e9349eba5fcab318915d3a /include/asterisk/time.h | |
parent | c24c35e5b6a29a44f211a50c5bcd61748be46d2e (diff) |
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
Diffstat (limited to 'include/asterisk/time.h')
-rwxr-xr-x | include/asterisk/time.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/asterisk/time.h b/include/asterisk/time.h index c957cb142..8132e9cd1 100755 --- a/include/asterisk/time.h +++ b/include/asterisk/time.h @@ -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), { |