Update main.c

Added the extern so that the compiler could easily find the UserInt Function