You need to declare the parameter types in your function definitions:
void discriminant( a, b, c)
void discriminant(int a, int b, int c)
And the same for the
roots
function. Although you probably need to make all variables float type for consistency.