From 0fd16018a1c993166eae72390433398347538a81 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Thu, 16 Sep 2010 19:45:43 +0200 Subject: s3: remove TspecDiff macro, we can use the shared nsec_time_diff function --- source3/include/smb_macros.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source3') diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index e72f2aab68..757c8a2c1e 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -153,15 +153,6 @@ values (((tvalnew)->tv_sec - (tvalold)->tv_sec)*1000 + \ ((int)(tvalnew)->tv_usec - (int)(tvalold)->tv_usec)/1000) -/******************************************************************* -find the difference in milliseconds between two struct timespec -values -********************************************************************/ - -#define TspecDiff(tvalold,tvalnew) \ - (((tvalnew)->tv_sec - (tvalold)->tv_sec)*1000 + \ - ((int)(tvalnew)->tv_nsec - (int)(tvalold)->tv_nsec)/1000000) - /**************************************************************************** true if two IPv4 addresses are equal ****************************************************************************/ -- cgit