]> git.sur5r.net Git - freertos/blobdiff - Demo/MCF5235_GCC/system/newlib.c
Remove unnecessary use of portLONG, portCHAR and portSHORT.
[freertos] / Demo / MCF5235_GCC / system / newlib.c
index db2ba17765c8b69b803d9961c9445b369871d900..422ad610cd7f9976f44eb4aaf5ddcbbb0a218a2c 100644 (file)
@@ -62,8 +62,8 @@
 \r
 /* ------------------------ Prototypes ------------------------------------ */\r
 void vSerialPutStringNOISR( xComPortHandle pxPort,\r
-                            const signed portCHAR * const pcString,\r
-                            unsigned portSHORT usStringLength );\r
+                            const signed char * const pcString,\r
+                            unsigned short usStringLength );\r
 \r
 /* ------------------------ Start implementation -------------------------- */\r
 void\r
@@ -109,13 +109,13 @@ write( int fd, const void *buf, size_t nbytes )
     {\r
         case STDERR_FILENO:\r
             vSerialPutStringNOISR( xSTDComPort,\r
-                                   ( const signed portCHAR * const )buf,\r
-                                   ( unsigned portSHORT )nbytes );\r
+                                   ( const signed char * const )buf,\r
+                                   ( unsigned short )nbytes );\r
             break;\r
         case STDOUT_FILENO:\r
             vSerialPutString( xSTDComPort,\r
-                              ( const signed portCHAR * const)buf,\r
-                              ( unsigned portSHORT )nbytes );\r
+                              ( const signed char * const)buf,\r
+                              ( unsigned short )nbytes );\r
             break;\r
         default:\r
             errno = EIO;\r