From 796defa86c3e8a756b66937f5c010640eeac2d13 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 20 May 2013 22:42:29 +0900 Subject: Fix deprecated 'prog_*' typedef - Issue #34 - Remove prog_char from xpritnf - Remove prog_macro_t from acton_macro avr-libc-1.8 removed 'prog_*' typedef because the usage of the __progmem__ attribute on a type is not supported in GCC. http://www.nongnu.org/avr-libc/changes-1.8.html --- common/xprintf.S | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'common/xprintf.S') diff --git a/common/xprintf.S b/common/xprintf.S index b5a97b20a9..0cec70ce22 100644 --- a/common/xprintf.S +++ b/common/xprintf.S @@ -80,7 +80,7 @@ xputc: ;--------------------------------------------------------------------------- ; Direct ROM string output ; -;Prototype: void xputs (const prog_char *str // rom string to be output +;Prototype: void xputs (const char *str_p // rom string to be output ; ); .func xputs @@ -179,9 +179,9 @@ xitoa: ; Formatted string output (16/32bit version) ; ;Prototype: -; void xprintf (const prog_char *format, ...); -; void xsprintf(char*, const prog_char *format, ...); -; void xfprintf(void(*func)(char), const prog_char *format, ...); +; void __xprintf (const char *format_p, ...); +; void __xsprintf(char*, const char *format_p, ...); +; void __xfprintf(void(*func)(char), const char *format_p, ...); ; #if USE_XPRINTF -- cgit v1.2.3