From bee0f13ce4ebc475b1727c5715e8222c0e472a78 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Mon, 29 Apr 2019 15:37:10 +0200 Subject: nxagent: Remove own GetTimeInMillis() implementation along with the DDXTIME define that has been dropped in Xorg upstream, too. commit 985c34bf06af70a7296db8307899a17347a25558 Author: Adam Jackson Date: Thu Jul 20 17:33:13 2006 -0400 Remove the DDXTIME conditional, for being unused. --- nx-X11/programs/Xserver/hw/nxagent/Millis.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'nx-X11/programs/Xserver/hw/nxagent/Millis.c') diff --git a/nx-X11/programs/Xserver/hw/nxagent/Millis.c b/nx-X11/programs/Xserver/hw/nxagent/Millis.c index ba801b62a..d3eb09a66 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Millis.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Millis.c @@ -29,19 +29,6 @@ #include "Xos.h" #include "Millis.h" -#ifdef DDXTIME - -CARD32 GetTimeInMillis() -{ - struct timeval ts; - - X_GETTIMEOFDAY(&ts); - - return(ts.tv_sec * 1000) + (ts.tv_usec / 1000); -} - -#endif - const char *GetTimeAsString() { char *value; -- cgit v1.2.3