Fixed four warnings for extra ';'

-Wpedantic / -pedantic flags extra `;` characters after the function definition.