summaryrefslogtreecommitdiff
path: root/common/xprintf.S
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-05-20 22:42:29 +0900
committertmk <nobody@nowhere>2013-05-21 10:16:55 +0900
commit796defa86c3e8a756b66937f5c010640eeac2d13 (patch)
tree57a2ee4e96291eb23fbfb4d7553b2ee12430001a /common/xprintf.S
parentadbd15d5bdbd5f28657d0fa0ecdcf25768b4267d (diff)
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
Diffstat (limited to 'common/xprintf.S')
-rw-r--r--common/xprintf.S8
1 files changed, 4 insertions, 4 deletions
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