int add2(int val1, val2) { return val1 + val2; }
Both arguments need a type specifier, even though they are bot int.
float mul2(float v1; float v2) { return v1 * v2; }
Arguments in the list are separated by commas, not semi-colons.
Back to the questions.