I'm receiving an error: "conflicting types for 'size'" and a warning: "passing argument 1 of 'size' fro incompatible pointer type". This occurs in many spots in my code, but here is an example of one of the things I'm having issues with:
int bst_size(struct bst* bst) {
return size(bst->root);
}
int size(struct bst_node* curNode){ //This is where I'm receiving the error
//stuff here that is irrelevant to my question
}