Commit f5ae81a7 authored by Alessandro Rubini's avatar Alessandro Rubini

Revert "wrc.h: define printf as pp_printf"

This reverts commit 0bcbe429.

Now that we are able to check for bogus printf calls, don't define the
name any more (ptp-noposix defines it anyways, but let's not do it
when building with ppsi, so the code explicitly calls pp_printf (or
mprintf, which will remain as an alias until we get rid of
ptp-noposix).
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 76b3e255
......@@ -13,9 +13,6 @@
#define mprintf pp_printf
#define vprintf pp_vprintf
#define sprintf pp_sprintf
#ifdef CONFIG_PPSI
# define printf(x, ...) pp_printf(x, ##__VA_ARGS__)
#endif
#undef offsetof
#define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment