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.
This commit is contained in:
Christophe Fergeau 2011-04-22 16:43:48 +02:00 committed by Marc-André Lureau
parent 62ef19f8c7
commit c04b58bf7a

View File

@ -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