From e0cf11f31c24cfb17f44ed46c254d84c78e7f6e9 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Fri, 12 Jun 2015 16:01:30 +0300 Subject: timer: Use a single definition of NSEC_PER_SEC for the whole codebase Signed-off-by: Alberto Garcia Message-id: c6e55468856ba0b8f95913c4da111cc0ef266541.1434113783.git.berto@igalia.com Signed-off-by: Stefan Hajnoczi --- hw/timer/mc146818rtc.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/timer') diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c index 2e3ffc8..954c34d 100644 --- a/hw/timer/mc146818rtc.c +++ b/hw/timer/mc146818rtc.c @@ -48,7 +48,6 @@ # define DPRINTF_C(format, ...) do { } while (0) #endif -#define NSEC_PER_SEC 1000000000LL #define SEC_PER_MIN 60 #define MIN_PER_HOUR 60 #define SEC_PER_HOUR 3600 -- cgit v1.1