* device/include/asm/pic16/features.h,
[fw/sdcc] / device / lib / pic16 / libc / stdio / strmusart.c
index 634774fce8541711f00e04a2c3dffe9988ee3aa5..d2813612d982fd1cc1428c5e5c013472697f7cac 100644 (file)
@@ -33,14 +33,14 @@ extern TXREG;
 extern TXSTA;
 
 /* note that USART should already been initialized */
-void __stream_usart_putchar(unsigned char c) _naked wparam
+void __stream_usart_putchar(unsigned char c) __wparam __naked
 {
   c;
-  _asm
+  __asm
 @1:
     BTFSS      _TXSTA, 1
     BRA                @1
     MOVWF      _TXREG
     RETURN
-  _endasm;
+  __endasm;
 }