mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-11-05 03:02:36 -05:00
Remove unnecessary use of portLONG, portCHAR and portSHORT.
Change version number in headers.
This commit is contained in:
parent
23a5a73219
commit
f625cf929a
64 changed files with 2211 additions and 2172 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