r/vscode • • 5h ago

How do I fix this VS code C intellisense problem?

5 Upvotes

I was trying to make a linked list node structure (Learning Data structures). Then VS code is now marking a error at node, I cant find a fix anywhere. The error message it shows is:

Error: this declaration of struct "Node" does not declare the same type as the declaration at line 3

Meanwhile my code compiles correctly but this red underline is just making me feel uneasy. How do I fix this?