For nodes, you'd want to use listNode *sPtr as the parameter. Pointers are many times more flexible, though I am a bit less experienced than I want to be, so I can't really explain exactly why this...
Type: Posts; User: workisnotfun
For nodes, you'd want to use listNode *sPtr as the parameter. Pointers are many times more flexible, though I am a bit less experienced than I want to be, so I can't really explain exactly why this...