Made all function declarations in header files extern, for stylistic consistency only.