Sei que isso faz parte do fazer profissional do DEV. Ainda bem que posso pedir os reforços Alura.
Segue o código, vis Gist:
https://gist.github.com/mxeliezer/07b2c10d676520e2b319518efcbc800c
Seguem as menagens de erro, que ainda não percebo bem:
forca.c: In function ‘adiciona_palavra’:
forca.c:17:1: error: parameter ‘chutes_dados’ is initialized
int chutes_dados = 0;
^~~
forca.c:22:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
void abertura(){
^
forca.c:36:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
void chuta(){
^
forca.c:44:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
int ja_chutou (char letra){
^
forca.c:55:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
void desenha_forca(){
^
forca.c:69:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
void escolhe_palavra (){
^
forca.c:89:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
void adiciona_palavra(){
^
forca.c:121:14: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’