diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-22 16:43:48 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-03 14:44:12 +0200 |
commit | 68c6014ff0a384cde8fb158456804525e9ac653d (patch) | |
tree | 9717a8c76d7769b0ceab3c74ce409314dabe96ca /common | |
parent | 54f028a01d691c4b13c46a77c2ad33b03419f8b1 (diff) | |
download | spice-68c6014ff0a384cde8fb158456804525e9ac653d.tar.gz spice-68c6014ff0a384cde8fb158456804525e9ac653d.tar.xz spice-68c6014ff0a384cde8fb158456804525e9ac653d.zip |
move get_time_stamp to main_channel.c
There is only one user of get_time_stamp from spice_common.h so
it's not really useful to keep it there.
Diffstat (limited to 'common')
-rw-r--r-- | common/spice_common.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/common/spice_common.h b/common/spice_common.h index d324ca18..bc74486b 100644 --- a/common/spice_common.h +++ b/common/spice_common.h @@ -63,11 +63,4 @@ } \ } while (0) -static inline uint64_t get_time_stamp(void) -{ - struct timespec time_space; - clock_gettime(CLOCK_MONOTONIC, &time_space); - return time_space.tv_sec * 1000 * 1000 * 1000 + time_space.tv_nsec; -} - #endif |