diff options
author | Jef Poskanzer <jef@mail.acme.com> | 2013-02-18 14:56:37 -0800 |
---|---|---|
committer | Jef Poskanzer <jef@mail.acme.com> | 2013-02-18 14:56:37 -0800 |
commit | 231c56296e666e41ac5c6bb69eddd392f18619df (patch) | |
tree | ff03422f56a12c6d1562473c542576bfd7bd2c2b /src/timer.h | |
parent | 3a34e7c11b549360baad8401875408bfae6549d4 (diff) | |
download | iperf3-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.h | 4 |
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 ); |