]> 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 665e1eda2004d8835b623daf82e6da04a0089f06..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
     of http://www.FreeRTOS.org for full details of how and when the exception\r
     can be applied.\r
 \r
-       ***************************************************************************\r
-\r
-       Please ensure to read the configuration and relevant port sections of the \r
+    ***************************************************************************\r
+    ***************************************************************************\r
+    *                                                                         *\r
+    * Get the FreeRTOS eBook!  See http://www.FreeRTOS.org/Documentation      *\r
+       *                                                                         *\r
+       * This is a concise, step by step, 'hands on' guide that describes both   *\r
+       * general multitasking concepts and FreeRTOS specifics. It presents and   *\r
+       * explains numerous examples that are written using the FreeRTOS API.     *\r
+       * Full source code for all the examples is provided in an accompanying    *\r
+       * .zip file.                                                              *\r
+    *                                                                         *\r
+    ***************************************************************************\r
+    ***************************************************************************\r
+\r
+       Please ensure to read the configuration and relevant port sections of the\r
        online documentation.\r
 \r
-       +++ http://www.FreeRTOS.org +++\r
-       Documentation, latest information, license and contact details.  \r
-\r
-       +++ http://www.SafeRTOS.com +++\r
-       A version that is certified for use in safety critical systems.\r
+       http://www.FreeRTOS.org - Documentation, latest information, license and \r
+       contact details.\r
 \r
-       +++ http://www.OpenRTOS.com +++\r
-       Commercial support, development, porting, licensing and training services.\r
+       http://www.SafeRTOS.com - A version that is certified for use in safety \r
+       critical systems.\r
 \r
-       ***************************************************************************\r
+       http://www.OpenRTOS.com - Commercial support, development, porting, \r
+       licensing and training services.\r
 */\r
 \r
 /* ------------------------ System includes ------------------------------- */\r
@@ -52,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
@@ -99,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