OSDN Git Service

libc: add void to clock() function prototype
authorErik Gilling <konkers@android.com>
Wed, 9 Sep 2009 21:58:19 +0000 (14:58 -0700)
committerErik Gilling <konkers@android.com>
Wed, 9 Sep 2009 21:58:19 +0000 (14:58 -0700)
Signed-off-by: Erik Gilling <konkers@android.com>
libc/include/time.h

index 14066a1..5d1a0e2 100644 (file)
@@ -109,7 +109,7 @@ extern long int  timezone;
 
 #define CLOCKS_PER_SEC     1000000
 
-extern clock_t   clock();
+extern clock_t   clock(void);
 
 /* BIONIC: extra linux clock goodies */
 extern int clock_getres(int, struct timespec *);