minor tweaks to python

This commit is contained in:
Heng Li
2017-09-16 18:11:43 -04:00
parent 10bd4079d1
commit 322e5a16e5
3 changed files with 11 additions and 14 deletions
+2 -2
View File
@@ -90,7 +90,7 @@ double cputime()
#include <sys/resource.h>
#include <sys/time.h>
double cputime()
double cputime(void)
{
struct rusage r;
getrusage(RUSAGE_SELF, &r);
@@ -98,7 +98,7 @@ double cputime()
}
#endif /* WIN32 || _WIN32 */
double realtime()
double realtime(void)
{
struct timeval tp;
struct timezone tzp;