Andrew Talbot Andrew.Talbot@talbotville.com writes:
Not arguing, just clarifying:
File #1: joystick_input.c has a non-static struct tag called "JoystickImpl". File #2: joystick_linuxinput.c has a differently defined non-static tag called "JoystickImpl". Since neither is declare static, do these not occupy the same namespace?
Static is for variables, not for types. Types are local to the file they are declared in, that's why you need header files when you want to share type declarations.