title: Void Parameter Type Causes Missing Type Error
body: <p>Here is the prototype:</p>
  
  <pre><code>void RecvProxy_ToggleSights( const CRecvProxyData* pData, void* pStruct, void* pOut );
  </code></pre>
  
  <p>And then the function itself:</p>
  
  <pre><code>void RecvProxy_ToggleSights( const CRecvProxyData* pData, void* pStruct, void* pOut ){
  
  CBaseCombatWeapon *pWeapon = (CBaseCombatWeapon*)pStruct;
  if( pData-&gt;m_Value.m_Int )
      pWeapon-&gt;EnableIronsights();
  else
      pWeapon-&gt;DisableIronsights();}
  </code></pre>
  
  <p>And then the error message this code, both the prototype and the definition, generates:</p>
  
  <blockquote>
    <p>Error 19  error C4430: missing type specifier - int assumed. Note: C++ does not support default-int   f:\Mods\CI Testbed\src\game\shared\basecombatweapon_shared.cpp  47</p>
  </blockquote>
  
  <p>How can I resolve this error?</p>