[vlc-commits] stats: move declarations to input directory

Rémi Denis-Courmont git at videolan.org
Mon Dec 11 21:02:29 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 11 21:50:36 2017 +0200| [e0d5e33ac236d021ef23b57367b764869eb88c77] | committer: Rémi Denis-Courmont

stats: move declarations to input directory

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e0d5e33ac236d021ef23b57367b764869eb88c77
---

 src/input/input_internal.h |  9 +++++++++
 src/libvlc.h               | 11 -----------
 2 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index 8419e7c81b..aef91be44f 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -281,4 +281,13 @@ void vlc_audio_replay_gain_MergeFromMeta( audio_replay_gain_t *p_dst,
 /* item.c */
 void input_item_node_PostAndDelete( input_item_node_t *p_node );
 
+/* stats.c */
+typedef struct counter_t counter_t;
+
+counter_t * stats_CounterCreate(void);
+void stats_Update(counter_t *, uint64_t);
+void stats_CounterClean (counter_t * );
+
+void stats_ComputeInputStats(input_thread_t*, input_stats_t*);
+
 #endif
diff --git a/src/libvlc.h b/src/libvlc.h
index 7bb5ac47ee..1a64ab96a8 100644
--- a/src/libvlc.h
+++ b/src/libvlc.h
@@ -210,15 +210,4 @@ void intf_DestroyAll( libvlc_int_t * );
  */
 void var_OptionParse (vlc_object_t *, const char *, bool trusted);
 
-/*
- * Stats stuff
- */
-typedef struct counter_t counter_t;
-
-counter_t * stats_CounterCreate(void);
-void stats_Update(counter_t *, uint64_t);
-void stats_CounterClean (counter_t * );
-
-void stats_ComputeInputStats(input_thread_t*, input_stats_t*);
-
 #endif



More information about the vlc-commits mailing list