]> code.delx.au - pulseaudio/blobdiff - src/pulsecore/core-rtclock.c
pulse: move pa_rtclock_now in pulsecommon
[pulseaudio] / src / pulsecore / core-rtclock.c
similarity index 96%
rename from src/pulsecore/rtclock.c
rename to src/pulsecore/core-rtclock.c
index 53c0258ca65a3ed71cc0d7046e3fb2f16d6bc73c..0610e2979a1401a439703b3d841a68d5ecdbd724 100644 (file)
@@ -37,7 +37,7 @@
 #include <pulsecore/macro.h>
 #include <pulsecore/core-error.h>
 
-#include "rtclock.h"
+#include "core-rtclock.h"
 
 pa_usec_t pa_rtclock_age(const struct timeval *tv) {
     struct timeval now;
@@ -122,12 +122,6 @@ void pa_rtclock_hrtimer_enable(void) {
 #endif
 }
 
-pa_usec_t pa_rtclock_now(void) {
-    struct timeval tv;
-
-    return pa_timeval_load(pa_rtclock_get(&tv));
-}
-
 struct timeval* pa_rtclock_from_wallclock(struct timeval *tv) {
 
 #ifdef HAVE_CLOCK_GETTIME