diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-01 20:09:09 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-11-01 20:09:09 +0000 |
commit | a0701f033856f6abfd1784c3b9bce8b7fb4d7b98 (patch) | |
tree | 58cb5122fb4163af88e9349eba5fcab318915d3a /include/asterisk/time.h | |
parent | 5dee2ffa810fabe164d3b9673d78a9aac0a7aa09 (diff) |
add new GCC-specific macro and force inlining of certain functions where speed is paramount, even when optimization is disabled
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6929 f38db490-d61c-443f-a65b-d21fe96a405b
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), { |