return c;と最後のprintfのところでエラーが出てきてしまいます
どうすればいいのでしょうか?

#include <stdio.h>
#include <stdlib.h> //For random functions
#include <time.h> //For time functions

int set_door()
{
 //0か1か2を乱数で返す
 int a;
 a = rand() % 3;
 return a;
}

int select_door(int a, int b)
{
 //0か1か2のうち、引数a,bに
 //受け取っていない番号を返す
 int c;
 c = 3 - a - b