compile fixes for mingw32.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 3 Dec 2010 16:45:04 +0000 (16:45 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 3 Dec 2010 16:45:04 +0000 (16:45 +0000)
source/blender/blenkernel/intern/cloth.c
source/blender/blenkernel/intern/implicit.c
source/blender/blenkernel/intern/smoke.c
source/blender/blenkernel/intern/writeframeserver.c
source/blender/editors/space_view3d/drawvolume.c

index 2469f7f..7473ff6 100644 (file)
@@ -49,7 +49,7 @@ void tstart ( void )
 void tend ( void )
 {
 }
-double tval()
+double tval( void )
 {
        return 0;
 }
index 3d6710b..e19f36a 100644 (file)
@@ -63,7 +63,7 @@ static void itend(void)
 {
        QueryPerformanceCounter(&_itend);
 }
-double itval()
+double itval(void)
 {
        return ((double)_itend.QuadPart -
                        (double)_itstart.QuadPart)/((double)ifreq.QuadPart);
index cca02dd..1833cc4 100644 (file)
@@ -94,7 +94,7 @@ static void tend ( void )
 {
        QueryPerformanceCounter ( &liCurrentTime );
 }
-static double tval()
+static double tval( void )
 {
        return ((double)( (liCurrentTime.QuadPart - liStartTime.QuadPart)* (double)1000.0/(double)liFrequency.QuadPart ));
 }
index 3bdfd6c..dd63c26 100644 (file)
@@ -62,17 +62,17 @@ static int render_height;
 
 
 #if defined(_WIN32)
-static int startup_socket_system()
+static int startup_socket_system(void)
 {
        WSADATA wsa;
        return (WSAStartup(MAKEWORD(2,0),&wsa) == 0);
 }
 
-static void shutdown_socket_system()
+static void shutdown_socket_system(void)
 {
        WSACleanup();
 }
-static int select_was_interrupted_by_signal()
+static int select_was_interrupted_by_signal(void)
 {
        return (WSAGetLastError() == WSAEINTR);
 }
index 611cf68..89bb004 100644 (file)
@@ -100,7 +100,7 @@ static void tend ( void )
 {
        QueryPerformanceCounter ( &liCurrentTime );
 }
-static double tval()
+static double tval( void )
 {
        return ((double)( (liCurrentTime.QuadPart - liStartTime.QuadPart)* (double)1000.0/(double)liFrequency.QuadPart ));
 }