On 4 February 2015 at 07:00, Taras Kondratiuk <[email protected]> wrote:
> Signed-off-by: Taras Kondratiuk <[email protected]> > Reviewed-by: Mike Holmes <[email protected]> Note for others, Warning form checkpatch is not relevant. > --- > include/odp/api/hints.h | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/include/odp/api/hints.h b/include/odp/api/hints.h > index a7aa90e..d6bf723 100644 > --- a/include/odp/api/hints.h > +++ b/include/odp/api/hints.h > @@ -46,6 +46,11 @@ extern "C" { > #define ODP_COLD_CODE __attribute__((__cold__)) > > /** > + * Printf format attribute > + */ > +#define ODP_PRINTF_FORMAT(x, y) __attribute__((format(printf, (x), (y)))) > + > +/** > * Branch likely taken > */ > #define odp_likely(x) __builtin_expect((x), 1) > -- > 1.9.1 > > > _______________________________________________ > lng-odp mailing list > [email protected] > http://lists.linaro.org/mailman/listinfo/lng-odp > -- *Mike Holmes* Linaro Sr Technical Manager LNG - ODP
_______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
