From b432aee484bfca4d53cdce13343e6ee5c850d0f3 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 6 Jan 2018 15:43:17 -0600 Subject: Move millitime() into lib.c. --- toys/posix/ps.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'toys/posix') diff --git a/toys/posix/ps.c b/toys/posix/ps.c index 8d643576..76884c55 100644 --- a/toys/posix/ps.c +++ b/toys/posix/ps.c @@ -1341,14 +1341,6 @@ static int header_line(int line, int rev) return line-1; } -static long long millitime(void) -{ - struct timespec ts; - - clock_gettime(CLOCK_MONOTONIC, &ts); - return ts.tv_sec*1000+ts.tv_nsec/1000000; -} - static void top_common( int (*filter)(long long *oslot, long long *nslot, int milis)) { -- cgit v1.2.3