[LTP] [PATCH v2 4/4] Add delay bias for difficult races

Cyril Hrubis chrubis@suse.cz
Wed Oct 3 13:30:23 CEST 2018


Hi!
> > Minor warning due being in header and not in C file:
> > ../../../include/tst_fuzzy_sync.h:753:13: warning: ???tst_fzsync_pair_add_bias??? defined but not used [-Wunused-function]
> >  static void tst_fzsync_pair_add_bias(struct tst_fzsync_pair *pair, int change)
> >
> >
> > Kind regards,
> > Petr
> 
> OK, I have added unused attribute to this function for the next version

static inline is a canonical way for functions implemented in headers,
that shouldn't produce warnings.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list