Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trace.c: do not mark getnanotime() as "inline"
Oracle Studio compilers don't allow for static variables in functions that are defined to be inline. GNU C does permit this. Let's reference the C99 standard though, which doesn't allow for inline functions to contain modifiable static variables. Signed-off-by: Ben Walton <bdwalton@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information