Need help with pset5's unload fuction. I'm trying to use recursion.
When I compile, I'm getting:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Here's my code. I'm not sure if it's my syntax or my logic (or both!). Any help you can give is appreciated.
XXXX
****EDIT*** Here is the full error message:
lieberscott@ide50:~/workspace/pset5 $ make speller
clang -ggdb3 -O0 -Qunused-arguments -std=c11 -Wall -Werror -c -o speller.o speller.c
clang -ggdb3 -O0 -Qunused-arguments -std=c11 -Wall -Werror -c -o dictionary.o dictionary.c
clang -ggdb3 -O0 -Qunused-arguments -std=c11 -Wall -Werror -o speller speller.o dictionary.o
dictionary.o: In function `unloader':
/home/ubuntu/workspace/pset5/./dictionary.h:80: multiple definition of `unloader'
speller.o:/home/ubuntu/workspace/pset5/./dictionary.h:80: first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [speller] Error 1
****EDIT 2****
Editing to delete my code. Just needed to move my code from dictionary.h to dictionary.c.