Skip to content

Commit c11dc64

Browse files
committed
Merge branch 'bw/trace-no-inline-getnanotime'
No file-scope static variables in an inlined function, please. * bw/trace-no-inline-getnanotime: trace.c: do not mark getnanotime() as "inline"
2 parents 1cb3324 + 6433d56 commit c11dc64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ static inline uint64_t gettimeofday_nanos(void)
385385
* Returns nanoseconds since the epoch (01/01/1970), for performance tracing
386386
* (i.e. favoring high precision over wall clock time accuracy).
387387
*/
388-
inline uint64_t getnanotime(void)
388+
uint64_t getnanotime(void)
389389
{
390390
static uint64_t offset;
391391
if (offset > 1) {

0 commit comments

Comments
 (0)