When the GCC extensions setting is on, the compiler allows you to place expressions of type void in a return statement. Returning void shows an example.
void f(int a)
{
/* ... */
return; /* Always OK. */
}
void g(int b)
{
/* ... */
return f(b); /* Allowed when GCC extensions are on. */
}