refactoed ticks
[physics.git] / src / ticks.cpp
index 5bcefd6..54699b1 100644 (file)
@@ -26,7 +26,7 @@
 // returns the current microseconds from unix time
 MICRO tickCountMicro()
 {
-  struct timeval tv;
+  timeval tv;
   gettimeofday(&tv, 0);
 
   return (long int)tv.tv_sec * 1000000 + tv.tv_usec;