* device/include/pic16/pic18fregs.h,
[fw/sdcc] / device / lib / printf_tiny.c
index 3a889f404d0a57a22fe0c0cfef52e1eb96eb9b5a..0ebded46115da41f7600453ac15a711fa04a74d2 100644 (file)
 
 
 
-void printf_tiny(code char *fmt, ...) reentrant
+void printf_tiny(__code char *fmt, ...) __reentrant
 {
        fmt;    /* suppress unreferenced variable warning */
 
-       _asm
+       __asm
 
 printf_begin:
        mov     a, _bp          // r0 will point to va_args (stack)
@@ -285,9 +285,8 @@ printf_ret:
 
 
 printf_end:
-       _endasm;
+       __endasm;
 }
 
 
 #endif // defines compatible with printf_tiny
-