Update main.c

error fix: deleted types from function arguments were causing errors.