Mercurial > public > mercurial-scm > hg-stable
diff contrib/chg/util.c @ 35998:9724f54923ec
chg: enable clang-format on all .c and .h files
Nothing in here looks awful, so I think we may as well just do it.
# skip-blame because it's just reformatting with no functionality change
Differential Revision: https://phab.mercurial-scm.org/D2058
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 06 Feb 2018 05:24:28 -0500 |
parents | b94db1780365 |
children | 763b45bc4483 |
line wrap: on
line diff
--- a/contrib/chg/util.c Wed Feb 07 06:28:43 2018 -0500 +++ b/contrib/chg/util.c Tue Feb 06 05:24:28 2018 -0500 @@ -62,7 +62,8 @@ static int debugmsgenabled = 0; static double debugstart = 0; -static double now() { +static double now() +{ struct timeval t; gettimeofday(&t, NULL); return t.tv_usec / 1e6 + t.tv_sec;