[vlc-devel] [PATCH 3/6] include: rename vlc_mtime.h to vlc_tick.h

Steve Lhomme robux4 at ycbcr.xyz
Wed Jun 20 08:54:33 CEST 2018


---
 include/vlc_common.h                | 2 +-
 include/{vlc_mtime.h => vlc_tick.h} | 2 +-
 modules/control/dbus/dbus.c         | 2 +-
 modules/video_filter/oldmovie.c     | 2 +-
 modules/video_filter/vhs.c          | 2 +-
 src/Makefile.am                     | 2 +-
 src/misc/mtime.c                    | 2 +-
 test/libvlc/media_list_player.c     | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
 rename include/{vlc_mtime.h => vlc_tick.h} (98%)

diff --git a/include/vlc_common.h b/include/vlc_common.h
index bba8d47750..e94af42203 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -499,7 +499,7 @@ typedef int ( * vlc_list_callback_t ) ( vlc_object_t *,      /* variable's objec
 #   include <os2.h>
 #endif
 
-#include "vlc_mtime.h"
+#include "vlc_tick.h"
 #include "vlc_threads.h"
 
 /**
diff --git a/include/vlc_mtime.h b/include/vlc_tick.h
similarity index 98%
rename from include/vlc_mtime.h
rename to include/vlc_tick.h
index 63649bc47f..8a7c6539c8 100644
--- a/include/vlc_mtime.h
+++ b/include/vlc_tick.h
@@ -1,5 +1,5 @@
 /*****************************************************************************
- * vlc_mtime.h: high resolution time management functions
+ * vlc_tick.h: high resolution time management functions
  *****************************************************************************
  * This header provides portable high precision time management functions,
  * which should be the only ones used in other segments of the program, since
diff --git a/modules/control/dbus/dbus.c b/modules/control/dbus/dbus.c
index 588e4413c0..8603a5e81c 100644
--- a/modules/control/dbus/dbus.c
+++ b/modules/control/dbus/dbus.c
@@ -60,7 +60,7 @@
 #include <vlc_playlist.h>
 #include <vlc_input.h>
 #include <vlc_meta.h>
-#include <vlc_mtime.h>
+#include <vlc_tick.h>
 #include <vlc_fs.h>
 
 #include <assert.h>
diff --git a/modules/video_filter/oldmovie.c b/modules/video_filter/oldmovie.c
index 4529be5485..43fabb115f 100644
--- a/modules/video_filter/oldmovie.c
+++ b/modules/video_filter/oldmovie.c
@@ -36,7 +36,7 @@
 #include <vlc_filter.h>
 #include <vlc_picture.h>
 #include <vlc_rand.h>
-#include <vlc_mtime.h>
+#include <vlc_tick.h>
 
 #include "filter_picture.h"
 
diff --git a/modules/video_filter/vhs.c b/modules/video_filter/vhs.c
index 2c14b1e1c4..e1a094b379 100644
--- a/modules/video_filter/vhs.c
+++ b/modules/video_filter/vhs.c
@@ -34,7 +34,7 @@
 #include <vlc_filter.h>
 #include <vlc_picture.h>
 #include <vlc_rand.h>
-#include <vlc_mtime.h>
+#include <vlc_tick.h>
 
 #include "filter_picture.h"
 
diff --git a/src/Makefile.am b/src/Makefile.am
index 1067ae86eb..897c557e55 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -70,7 +70,6 @@ pluginsinclude_HEADERS = \
 	../include/vlc_mime.h \
 	../include/vlc_modules.h \
 	../include/vlc_mouse.h \
-	../include/vlc_mtime.h \
 	../include/vlc_network.h \
 	../include/vlc_objects.h \
 	../include/vlc_picture.h \
@@ -92,6 +91,7 @@ pluginsinclude_HEADERS = \
 	../include/vlc_subpicture.h \
 	../include/vlc_text_style.h \
 	../include/vlc_threads.h \
+	../include/vlc_tick.h \
 	../include/vlc_timestamp_helper.h \
 	../include/vlc_tls.h \
 	../include/vlc_url.h \
diff --git a/src/misc/mtime.c b/src/misc/mtime.c
index 049cee520f..cf71b1b5ce 100644
--- a/src/misc/mtime.c
+++ b/src/misc/mtime.c
@@ -1,6 +1,6 @@
 /*****************************************************************************
  * mtime.c: high resolution time management functions
- * Functions are prototyped in vlc_mtime.h.
+ * Functions are prototyped in vlc_tick.h.
  *****************************************************************************
  * Copyright (C) 1998-2007 VLC authors and VideoLAN
  * Copyright © 2006-2007 Rémi Denis-Courmont
diff --git a/test/libvlc/media_list_player.c b/test/libvlc/media_list_player.c
index ab9af3bd6c..f99f62e640 100644
--- a/test/libvlc/media_list_player.c
+++ b/test/libvlc/media_list_player.c
@@ -25,7 +25,7 @@
 
  // For msleep
 #include <vlc_common.h>
-#include <vlc_mtime.h>
+#include <vlc_tick.h>
 
 #include "libvlc_additions.h"
 
-- 
2.17.0



More information about the vlc-devel mailing list