[LTP] [PATCH] common_timers: staticize all definitions

Viresh Kumar viresh.kumar@linaro.org
Tue Apr 28 09:47:18 CEST 2020


On 28-04-20, 09:25, Petr Vorel wrote:
> > There is usually no warning about variables in header files
> > that are marked 'static const' rather than just 'static', as that
> > is a common way to do things in C++.
> Correct, static const clock_t clock_list[] would work.
> I'd be for this solution.

static const it is then :)

-- 
viresh


More information about the ltp mailing list