title: Duplicate symbol in C using Clang
body: <p>I am currently working on my first "serious" C project, a 16-bit vm. When I split up the files form one big source file into multiple source files, the linker (whether invoked through clang, gcc, cc, or ld) spits out a the error:</p>
  
  <pre><code>ld: duplicate symbol _registers in register.o and main.o for inferred 
      architecture x86_64
  </code></pre>
  
  <p>There is no declaration of <code>registers</code> anywhere in the main file. It is a <code>uint16_t</code> array if that helps. I am on Mac OS 10.7.3 using the built in compilers (not GNU gcc). Any help?</p>