You cannot instance variables in the .h file as that causes them to become multiply defined. Instead, you "extern" them in .h, and instance them in one of the .c files that includes that header.