prog.c: In function ‘umwandlung’:
prog.c:37:22: warning: passing argument 1 of ‘lueckeSchliessen’ makes pointer from integer without a cast [-Wint-conversion]
lueckeSchliessen(*(str + schritt + 1));
^
prog.c:3:6: note: expected ‘char *’ but argument is of type ‘char’
void lueckeSchliessen(char *str) {
^~~~~~~~~~~~~~~~
prog.c:45:5: warning: ‘main’ is normally a non-static function [-Wmain]
int main(void) {
^~~~
prog.c:57:1: error: expected declaration or statement at end of input
}
^
At top level:
prog.c:45:5: warning: ‘main’ defined but not used [-Wunused-function]
int main(void) {
^~~~