]> 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 3916e5ffcf0b1d65587626df3abf27404a8d1ff9..422ad610cd7f9976f44eb4aaf5ddcbbb0a218a2c 100644 (file)
@@ -4,7 +4,7 @@
     This file is part of the FreeRTOS distribution.\r
 \r
     FreeRTOS is free software; you can redistribute it and/or modify\r
-    it under the terms of the GNU General Public License as published by\r
+    it under the terms of the GNU General Public License** as published by\r
     the Free Software Foundation; either version 2 of the License, or\r
     (at your option) any later version.\r
 \r
@@ -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