title: Error "this declaration has no storage class or type specifier"
body: <p>I'm programing my first app with Visual Studio and I don't understand an Error that it shows me. </p>
  
  <p>There're two files, Session and Login. Login uses the set and get functions of Session. As you can see bellow, Login calls "setCurrentLang" and this is the message Visual Studio shows: "this declaration has no storage class or type specifier" on Login.cpp. if I compile, this is the error then: </p>
  
  <blockquote>
    <p>"Error    26  error C2365: 'setCurrentLang' : redefinition; previous definition was 'function'    (....)\GUI\Login.cpp".</p>
  </blockquote>
  
  <p>This is the Session.cpp file:</p>
  
  <pre><code>#include "Session.h"
  const char* CURRENT_LANG;
  void setCurrentLang( char* lang){
      CURRENT_LANG = strdup(lang);
  }
  const char* getCurrentLang(){
      return CURRENT_LANG;
  }
  </code></pre>
  
  <p>Session.h</p>
  
  <pre><code>#ifndef __SESSION_H__
  #define __SESSION_H__
  
  #include &lt;cstring&gt;
  #include &lt;stdio.h&gt;
  
  void setCurrentLang( char* lang);
  const char* getCurrentLang();
  
  #endif
  </code></pre>
  
  <p>Login.cpp</p>
  
  <pre><code>#include "Login.h"
  #include "../data/Session.h"
  
  setCurrentLang("English"); 
  </code></pre>
  
  <p>Thank you very much for your help!</p>