From: Patrik Gornicz Date: Thu, 22 Jan 2009 01:33:25 +0000 (-0500) Subject: refactoed ticks X-Git-Tag: v0.10~8 X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?p=physics.git;a=commitdiff_plain;h=7cc2eb352c8aa0a1c8d95f39635af8b5bdd72a46 refactoed ticks --- diff --git a/src/ticks.cpp b/src/ticks.cpp index 5bcefd6..54699b1 100644 --- a/src/ticks.cpp +++ b/src/ticks.cpp @@ -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;