[vlc-devel] [PATCH 04/12] Empty structures are not allowed by the C standard.

Felix Abecassis felix.abecassis at gmail.com
Fri Nov 29 17:41:29 CET 2013


---
 include/vlc_interface.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_interface.h b/include/vlc_interface.h
index 6f10f11..f96f3ba 100644
--- a/include/vlc_interface.h
+++ b/include/vlc_interface.h
@@ -114,7 +114,7 @@ typedef void (*vlc_log_cb) (void *data, int type, const vlc_log_t *item,
 
 VLC_API void vlc_LogSet(libvlc_int_t *, vlc_log_cb cb, void *data);
 
-typedef struct msg_subscription { } msg_subscription_t;
+typedef struct msg_subscription { int unused; } msg_subscription_t;
 #define vlc_Subscribe(sub,cb,data) ((sub), (cb), (data))
 #define vlc_Unsubscribe(sub) ((void)(sub))
 
-- 
1.7.9




More information about the vlc-devel mailing list