title: Local function defined with same signature in two cpp files. Why should they be visible to each other?
body: <p>Why am I getting an error in Eclipse about having two definitions of the same function:</p>
  
  <pre><code>int readPath(const String &amp;destDir, String &amp;pathToFile) {/*Filler*/}
  </code></pre>
  
  <p>One is an old version (or new) that I dropped temporarily to focus on another version. I'd like to keep it in my project directory again.</p>
  
  <p>I can move it but I don't think it's right that identifiers in a cpp file should risk naming collisions with those in other cpp files, unless you are actually <code>#include</code>'ing those cpp files, which I'm not.</p>