This is a prototype
float getquote();

> but does anyone know why the compiler is not recognising my function?
Perhaps it's gcc with the -Wmissing-prototypes warning enabled?

Of course, if you'd actually stated your OS and compiler, then there would be less guessing going on right?