[vlc-devel] commit: fix empty declaration warning (Francois Cartegnie )

git version control git at videolan.org
Mon Jan 18 19:16:20 CET 2010


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Jan 18 18:45:13 2010 +0100| [9ae152ce22dfe43834b010193c50ad87dd966ee0] | committer: Rémi Denis-Courmont 

fix empty declaration warning

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

 include/vlc_es.h       |    2 +-
 include/vlc_input.h    |    2 +-
 include/vlc_main.h     |    2 +-
 include/vlc_playlist.h |    2 +-
 src/version.c          |    8 ++++----
 5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/include/vlc_es.h b/include/vlc_es.h
index a5ddc8c..26c2f14 100644
--- a/include/vlc_es.h
+++ b/include/vlc_es.h
@@ -154,7 +154,7 @@ static inline int video_format_Copy( video_format_t *p_dst, const video_format_t
         memcpy( p_dst->p_palette, p_src->p_palette, sizeof( *p_dst->p_palette ) );
     }
     return VLC_SUCCESS;
-};
+}
 
 /**
  * Cleanup and free palette of this video_format_t
diff --git a/include/vlc_input.h b/include/vlc_input.h
index 795198e..b25e76f 100644
--- a/include/vlc_input.h
+++ b/include/vlc_input.h
@@ -265,7 +265,7 @@ typedef struct input_resource_t input_resource_t;
  */
 struct input_thread_t
 {
-    VLC_COMMON_MEMBERS;
+    VLC_COMMON_MEMBERS
 
     bool b_eof;
     bool b_preparsing;
diff --git a/include/vlc_main.h b/include/vlc_main.h
index 841d15d..bfa7e47 100644
--- a/include/vlc_main.h
+++ b/include/vlc_main.h
@@ -26,7 +26,7 @@
  * This file defines libvlc_int_t internal libvlc instance
  */
 
-TYPEDEF_ARRAY(input_item_t*, input_item_array_t);
+TYPEDEF_ARRAY(input_item_t*, input_item_array_t)
 
 struct hotkey;
 
diff --git a/include/vlc_playlist.h b/include/vlc_playlist.h
index 8503635..bc82a05 100644
--- a/include/vlc_playlist.h
+++ b/include/vlc_playlist.h
@@ -31,7 +31,7 @@ extern "C" {
 #include <vlc_input.h>
 #include <vlc_events.h>
 
-TYPEDEF_ARRAY(playlist_item_t*, playlist_item_array_t);
+TYPEDEF_ARRAY(playlist_item_t*, playlist_item_array_t)
 
 /**
  * \file
diff --git a/src/version.c b/src/version.c
index e2e7e25..b12fc36 100644
--- a/src/version.c
+++ b/src/version.c
@@ -50,7 +50,7 @@ char const * VLC_##func ( void )                                            \
     return VLC_##var ;                                                      \
 }
 
-DECLARE_VLC_VERSION( CompileBy, COMPILE_BY );
-DECLARE_VLC_VERSION( CompileHost, COMPILE_HOST );
-DECLARE_VLC_VERSION( CompileDomain, COMPILE_DOMAIN );
-DECLARE_VLC_VERSION( Compiler, COMPILER );
+DECLARE_VLC_VERSION( CompileBy, COMPILE_BY )
+DECLARE_VLC_VERSION( CompileHost, COMPILE_HOST )
+DECLARE_VLC_VERSION( CompileDomain, COMPILE_DOMAIN )
+DECLARE_VLC_VERSION( Compiler, COMPILER )




More information about the vlc-devel mailing list