Remove inline keyword.

This commit is contained in:
Richard Barry 2008-05-01 09:06:26 +00:00
parent 9c87f922b3
commit 019ab1b908
28 changed files with 3 additions and 52 deletions

View file

@ -104,7 +104,7 @@
#define portOUTPUT_BYTE( xAddr, ucValue ) outp( xAddr, ucValue )
#define portINPUT_WORD( xAddr ) inpw( xAddr )
#define portOUTPUT_WORD( xAddr, usValue ) outpw( xAddr, usValue )
#define inline
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */

View file

@ -103,7 +103,7 @@
/* Compiler specifics. */
#define portINPUT_BYTE( xAddr ) inp( xAddr )
#define portOUTPUT_BYTE( xAddr, ucValue ) outp( xAddr, ucValue )
#define inline
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */

View file

@ -216,7 +216,5 @@
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define inline
#endif /* PORTMACRO_H */

View file

@ -138,7 +138,6 @@ extern void vPortExitCritical( void );
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define inline
#define portNOP()
#ifdef __cplusplus

View file

@ -146,9 +146,6 @@ extern void vTaskSwitchContext( void ); \
}
/*-----------------------------------------------------------*/
/* Compiler specifics */
#define inline
/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )

View file

@ -123,7 +123,6 @@ extern void vPortClearInterruptMask( void );
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define inline
#define portNOP()
#ifdef __cplusplus

View file

@ -116,10 +116,6 @@ void vPortYield( void );
#endif
/*-----------------------------------------------------------*/
/* Compiler specifics. */
#define inline
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )

View file

@ -664,8 +664,6 @@ extern void *pvPortRealloc( void *pv, size_t xSize );
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define inline
#ifdef __cplusplus
}
#endif

View file

@ -115,9 +115,6 @@ extern void vTaskSwitchContext( void ); \
}
/*-----------------------------------------------------------*/
/* Compiler specifics. */
#define inline
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters )

View file

@ -117,10 +117,6 @@ extern void vTaskSwitchContext( void ); \
}
/*-----------------------------------------------------------*/
/* Compiler specifics. */
#define inline
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )

View file

@ -125,9 +125,6 @@ extern void vTaskSwitchContext( void ); \
/*-----------------------------------------------------------*/
/* Compiler specifics */
#define inline
/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )

View file

@ -115,8 +115,6 @@ extern void vTaskSwitchContext( void ); \
}
/*-----------------------------------------------------------*/
/* Compiler specifics */
#define inline
/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters )

View file

@ -117,8 +117,6 @@ extern void vTaskSwitchContext( void ); \
}
/*-----------------------------------------------------------*/
/* Compiler specifics */
#define inline
/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters )

View file

@ -231,8 +231,6 @@ extern void vPortExitCritical( void );
#define portEXIT_CRITICAL() vPortExitCritical();
/*-----------------------------------------------------------*/
/* Compiler specifics. */
#define inline
#define register
#define portNOP() __asm{ NOP }
/*-----------------------------------------------------------*/

View file

@ -116,8 +116,6 @@ extern void vPortYield( void );
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
/*-----------------------------------------------------------*/
/* Compiler specifics. */
#define inline
#define portNOP() _asm \
NOP \

View file

@ -113,8 +113,6 @@ extern void vPortYield( void );
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
/*-----------------------------------------------------------*/
/* Compiler specifics. */
#define inline
#define portNOP() asm volatile ( "NOP" )

View file

@ -108,7 +108,6 @@ extern "C" {
#define portOUTPUT_BYTE( xAddr, ucValue ) outp( xAddr, ucValue )
#define portINPUT_WORD( xAddr ) inpw( xAddr )
#define portOUTPUT_WORD( xAddr, usValue ) outpw( xAddr, usValue )
#define inline
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */

View file

@ -110,7 +110,6 @@ typedef void ( __interrupt __far *pxISR )();
#define portOUTPUT_BYTE( xAddr, ucValue ) outp( xAddr, ucValue )
#define portINPUT_WORD( xAddr ) inpw( xAddr )
#define portOUTPUT_WORD( xAddr, usValue ) outpw( xAddr, usValue )
#define inline
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */

View file

@ -116,7 +116,6 @@ extern void vPortExitCritical( void );
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define inline
#define portNOP()
#ifdef __cplusplus

View file

@ -137,8 +137,6 @@ extern void vPortYield( void );
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters ) __toplevel
/* Compiler specifics. */
#define inline
/* Just used by the demo application to indicate which form of interrupt
service routine should be used. See the online port documentation for more

View file

@ -148,7 +148,6 @@ extern void vPortYield( void );
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters ) __toplevel
/* Compiler specifics. */
#define inline
#define portNOP()

View file

@ -138,8 +138,6 @@ extern void vPortYield( void );
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters ) __toplevel
/* Compiler specifics. */
#define inline
/* Just used by the demo application to indicate which form of interrupt
service routine should be used. See the online port documentation for more

View file

@ -118,8 +118,6 @@ void vPortYield( void ) _naked;
#define portYIELD() vPortYield();
/*-----------------------------------------------------------*/
/* Compiler specifics. */
#define inline
#define portNOP() _asm \
nop \
_endasm;

View file

@ -121,8 +121,6 @@
#define portMINIMAL_STACK_SIZE configMINIMAL_STACK_SIZE
/* Remove the inline statement from within the kernel code. */
#define inline
#endif /* PORTMACRO_H */

View file

@ -131,8 +131,6 @@ FreeRTOSConfig.h to set the configMEMMODEL value. */
#define portMINIMAL_STACK_SIZE configMINIMAL_STACK_SIZE
/* Remove the inline declaration from within the kernel code. */
#define inline
#endif /* PORTMACRO_H */

View file

@ -432,7 +432,7 @@ extern void vPortYield( void );
#define portTASK_FUNCTION_PROTO portTASK_FUNCTION
/*-----------------------------------------------------------*/
#define inline
#define volatile
#define register

View file

@ -113,7 +113,6 @@ void portENABLE_INTERRUPTS( void );
#define portOUTPUT_BYTE( xAddr, ucValue ) outp( xAddr, ucValue )
#define portINPUT_WORD( xAddr ) inpw( xAddr )
#define portOUTPUT_WORD( xAddr, usValue ) outpw( xAddr, usValue )
#define inline
/*-----------------------------------------------------------*/
/* Task function macros as described on the FreeRTOS.org WEB site. */

View file

@ -109,7 +109,6 @@ void portENABLE_INTERRUPTS( void );
/* Compiler specifics. */
#define portINPUT_BYTE( xAddr ) inp( xAddr )
#define portOUTPUT_BYTE( xAddr, ucValue ) outp( xAddr, ucValue )
#define inline
#define portNOP() __asm{ nop }
/*-----------------------------------------------------------*/