9
0
Fork 0
barebox/scripts/mod
Loïc Minier 3808cb7a45 Avoid warnings by using format(__printf__)
When building sandbox, barebox is built with -Dprintf=barebox_printf as
to not collide with the printf provided by libc.  This would also match
the format(printf) function __attribute__.

Since gcc documents that __printf__ can be used instead of printf as a
format attribute, use this instead and avoid a lot of noisy warnings.

NB: this relates to 6b082cfe9f which was
an earlier attempt at solving this, which got reverted due to other
regressions.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2011-10-18 09:18:41 +02:00
..
.gitignore update some .gitignore files 2007-10-24 13:22:09 +02:00
Makefile add modpost 2007-10-04 12:54:56 +02:00
empty.c add modpost 2007-10-04 12:54:56 +02:00
file2alias.c add modpost 2007-10-04 12:54:56 +02:00
mk_elfconfig.c add modpost 2007-10-04 12:54:56 +02:00
modpost.c Avoid warnings by using format(__printf__) 2011-10-18 09:18:41 +02:00
modpost.h Avoid warnings by using format(__printf__) 2011-10-18 09:18:41 +02:00
sumversion.c add modpost 2007-10-04 12:54:56 +02:00