Adding new .C files to the project

I am trying to add a new C file and a new header to the project. Basically, I am trying to create a new Queue structure and add some functionalities like enqueueing and dequeueing items to it but I can’t figure out how to modify link the .h file with the .c file and include them whereever I need to use this queue struct. I have added the path to the c file I want to add to config.kern, reconfigure DUMBVM and created a .h file in the includes folder and added the function prototype but still when compiling it tells me implicit function declaration