aboutsummaryrefslogtreecommitdiff
path: root/src/timer.h
diff options
context:
space:
mode:
authorJef Poskanzer <jef@mail.acme.com>2013-02-18 14:56:37 -0800
committerJef Poskanzer <jef@mail.acme.com>2013-02-18 14:56:37 -0800
commit231c56296e666e41ac5c6bb69eddd392f18619df (patch)
treeff03422f56a12c6d1562473c542576bfd7bd2c2b /src/timer.h
parent3a34e7c11b549360baad8401875408bfae6549d4 (diff)
downloadiperf3-231c56296e666e41ac5c6bb69eddd392f18619df.tar.gz
Comment out the "__attribute__((hot))" declarations because they cause
compiler warnings on older systems. They probably didn't help performance anyway. They'll remain in the source as markers.
Diffstat (limited to 'src/timer.h')
-rw-r--r--src/timer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timer.h b/src/timer.h
index 7585c7c..03dafe3 100644
--- a/src/timer.h
+++ b/src/timer.h
@@ -55,12 +55,12 @@ extern Timer* tmr_create(
** can just put the call to this routine right in your select(). Returns
** (struct timeval*) 0 if no timers are pending.
*/
-extern struct timeval* tmr_timeout( struct timeval* nowP ) __attribute__((hot));
+extern struct timeval* tmr_timeout( struct timeval* nowP ) /* __attribute__((hot)) */;
/* Run the list of timers. Your main program needs to call this every so often,
** or as indicated by tmr_timeout().
*/
-extern void tmr_run( struct timeval* nowP ) __attribute__((hot));
+extern void tmr_run( struct timeval* nowP ) /* __attribute__((hot)) */;
/* Reset the clock on a timer, to current time plus the original timeout. */
extern void tmr_reset( struct timeval* nowP, Timer* timer );