Make your inputs inputs to your function, and dot not leave them undefined:
void matrixIntoQuaternions(
float m11, float m12, float m13, // Make these function parameters!
float m21, float m22, float m23,
float m31, float m32, float m33
)
{
// Rest of your code...
}