summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/spice_common.h7
-rw-r--r--server/main_channel.c7
2 files changed, 7 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
diff --git a/server/main_channel.c b/server/main_channel.c
index e0fa1e43..1a6a89c4 100644
--- a/server/main_channel.c
+++ b/server/main_channel.c
@@ -489,6 +489,13 @@ void main_channel_push_notify(Channel *channel, uint8_t *mess, const int mess_le
red_channel_pipe_add_push(&main_chan->base, &item->base);
}
+static 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;
+}
+
static void main_channel_marshall_notify(SpiceMarshaller *m, NotifyPipeItem *item)
{
SpiceMsgNotify notify;