 <pre><code>27 struct timeval tv; 28 struct ExpandedTime etime; 29 gettimeofday(&amp;tv, NULL); 30 localTime(&amp;tv,&amp;etime); </code></pre> <p>This code isn't inside of any function. It's sitting bare naked out in the global scope wilderness. It needs to be shown back home, back inside a function, any function. There are wolves out there.</p>