]> git.sesse.net Git - vlc/blobdiff - include/vlc_devices.h
Fix for destroy() method.
[vlc] / include / vlc_devices.h
index f503a4d90c3d00007a0002655f1ec03c257629e7..e2b88e04b6c7d23835c706abdc8bcf6e1748c9f8 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#if !defined( __LIBVLC__ )
+  #error You are not libvlc or one of its plugins. You cannot include this file
+#endif
+
 #ifndef _VLC_DEVICES_H
 #define _VLC_DEVICES_H 1
 
@@ -56,7 +60,8 @@ struct device_probe_t
     void      ( *pf_run )    ( device_probe_t * );  /** Run function */
 };
 
-static inline void device_GetDVD()
-{}
+static inline void device_GetDVD(void)
+{
+}
 
 #endif