summaryrefslogtreecommitdiff
path: root/source3/include/smb_macros.h
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2010-09-16 19:45:43 +0200
committerBjörn Jacke <bj@sernet.de>2010-09-16 21:38:20 +0200
commit0fd16018a1c993166eae72390433398347538a81 (patch)
treec6c6319c0f6b27ff1bd3a71533800666de9655ef /source3/include/smb_macros.h
parentaada7196940377ca6942eed470fc2e0e42f71b32 (diff)
downloadsamba-0fd16018a1c993166eae72390433398347538a81.tar.gz
samba-0fd16018a1c993166eae72390433398347538a81.tar.bz2
samba-0fd16018a1c993166eae72390433398347538a81.zip
s3: remove TspecDiff macro, we can use the shared nsec_time_diff function
Diffstat (limited to 'source3/include/smb_macros.h')
-rw-r--r--source3/include/smb_macros.h9
1 files changed, 0 insertions, 9 deletions
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
****************************************************************************/