This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Locating the reentrant function attribute?

Hi All.

A quick, general question regarding the use of the reentrant (and perhaps other) function attributes:

This is fine:

void myFn ( void ) reentrant
{
 ...
}

Is this OK in all cases, too?
void myFn ( void )
reentrant
{
 ...
}

Same question goes for function prototypes.

IOW, must these attributes be on the same line as the function name, etc, or can they be on the next line? I suspect it's always OK for them to be on a separate line, but I'd like to make sure ...

--Andrew

0