fixed a syntax error

error: expected expression before 'void'
error: too many arguments to function