mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-02 12:24:07 -04:00
Remove unnecessary use of portLONG, portCHAR and portSHORT.
Change version number in headers.
This commit is contained in:
parent
4322b8d649
commit
23a5a73219
59 changed files with 2136 additions and 2087 deletions
|
@ -62,8 +62,8 @@
|
|||
|
||||
/* ------------------------ Prototypes ------------------------------------ */
|
||||
void vSerialPutStringNOISR( xComPortHandle pxPort,
|
||||
const signed portCHAR * const pcString,
|
||||
unsigned portSHORT usStringLength );
|
||||
const signed char * const pcString,
|
||||
unsigned short usStringLength );
|
||||
|
||||
/* ------------------------ Start implementation -------------------------- */
|
||||
void
|
||||
|
@ -109,13 +109,13 @@ write( int fd, const void *buf, size_t nbytes )
|
|||
{
|
||||
case STDERR_FILENO:
|
||||
vSerialPutStringNOISR( xSTDComPort,
|
||||
( const signed portCHAR * const )buf,
|
||||
( unsigned portSHORT )nbytes );
|
||||
( const signed char * const )buf,
|
||||
( unsigned short )nbytes );
|
||||
break;
|
||||
case STDOUT_FILENO:
|
||||
vSerialPutString( xSTDComPort,
|
||||
( const signed portCHAR * const)buf,
|
||||
( unsigned portSHORT )nbytes );
|
||||
( const signed char * const)buf,
|
||||
( unsigned short )nbytes );
|
||||
break;
|
||||
default:
|
||||
errno = EIO;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue