Evas (gl_x11 engine): Fix compiler warning about get_time function.
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 11 Jan 2012 09:48:47 +0000 (09:48 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 11 Jan 2012 09:48:47 +0000 (09:48 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@67058 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/modules/engines/gl_x11/evas_engine.c

index 742acff..1fd5847 100644 (file)
@@ -1242,16 +1242,16 @@ eng_output_redraws_next_update_get(void *data, int *x, int *y, int *w, int *h, i
 
 //#define FRAMECOUNT 1
 
-//#ifdef FRAMECOUNT
+#ifdef FRAMECOUNT
 static double
 get_time(void)
 {
-   struct timeval      timev;
+   struct timeval timev;
 
    gettimeofday(&timev, NULL);
    return (double)timev.tv_sec + (((double)timev.tv_usec) / 1000000);
 }
-//#endif
+#endif
 
 static int safe_native = -1;