> placing the retun value in eax is the default behaviour
Code:
double foo ( void ) {
  return 123.456;
}

        pushl   %ebp
        movl    %esp, %ebp
        fldl    LC0
        popl    %ebp
        ret
I see no eax

But I recall the original question was about getting past the "function returns no value" warning from the compiler.