inline -> __inline

svn path=/trunk/; revision=19670
This commit is contained in:
Steven Edwards 2005-11-27 05:50:19 +00:00
parent 589f2e1ef1
commit 4ff9658852

View file

@ -336,7 +336,7 @@ InfpFindKeyLine(PINFCACHESECTION Section,
/* push the current state on the parser stack */
inline static void push_state( struct parser *parser, enum parser_state state )
__inline static void push_state( struct parser *parser, enum parser_state state )
{
// assert( parser->stack_pos < sizeof(parser->stack)/sizeof(parser->stack[0]) );
parser->stack[parser->stack_pos++] = state;
@ -344,7 +344,7 @@ inline static void push_state( struct parser *parser, enum parser_state state )
/* pop the current state */
inline static void pop_state( struct parser *parser )
__inline static void pop_state( struct parser *parser )
{
// assert( parser->stack_pos );
parser->state = parser->stack[--parser->stack_pos];
@ -352,7 +352,7 @@ inline static void pop_state( struct parser *parser )
/* set the parser state and return the previous one */
inline static enum parser_state set_state( struct parser *parser, enum parser_state state )
__inline static enum parser_state set_state( struct parser *parser, enum parser_state state )
{
enum parser_state ret = parser->state;
parser->state = state;
@ -361,14 +361,14 @@ inline static enum parser_state set_state( struct parser *parser, enum parser_st
/* check if the pointer points to an end of file */
inline static int is_eof( struct parser *parser, const CHAR *ptr )
__inline static int is_eof( struct parser *parser, const CHAR *ptr )
{
return (ptr >= parser->end || *ptr == CONTROL_Z);
}
/* check if the pointer points to an end of line */
inline static int is_eol( struct parser *parser, const CHAR *ptr )
__inline static int is_eol( struct parser *parser, const CHAR *ptr )
{
return (ptr >= parser->end ||
*ptr == CONTROL_Z ||