X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fsprintf.c;h=def6d20f035a207968700ce39653f8786f98ed78;hb=98987d2acece707588d10148fc04c0a05a99560d;hp=4ca511e390284d5b000536f40bb59a6b8a9f9832;hpb=96f0ef786b54356c56cc3d4e4f0838df2505cfcc;p=bertos.git diff --git a/mware/sprintf.c b/mware/sprintf.c index 4ca511e3..def6d20f 100755 --- a/mware/sprintf.c +++ b/mware/sprintf.c @@ -14,6 +14,11 @@ /* * $Log$ + * Revision 1.3 2004/06/27 15:20:26 aleph + * Change UNUSED() macro to accept two arguments: type and name; + * Add macro GNUC_PREREQ to detect GCC version during build; + * Some spacing cleanups and typo fix + * * Revision 1.2 2004/06/03 11:27:09 bernie * Add dual-license information. * @@ -53,7 +58,7 @@ static void __str_put_char(char c, void *ptr) (*((char **)ptr))++; } -static void __null_put_char(UNUSED(char c), UNUSED(void *ptr)) +static void __null_put_char(UNUSED(char, c), UNUSED(void *, ptr)) { /* nop */ }