]> git.sesse.net Git - vlc/blobdiff - src/modules/modules.h
Make AddRef() and Release() atomic.
[vlc] / src / modules / modules.h
index 4d042808d25d1ee26cf06126165e747d7bbf2a69..60b00eee01a83149e705f696f38019085381b375 100644 (file)
 #ifndef LIBVLC_MODULES_H
 # define LIBVLC_MODULES_H 1
 
-
-/* Number of tries before we unload an unused module */
-#define MODULE_HIDE_DELAY 50
-
 /*****************************************************************************
  * module_bank_t: the module bank
  *****************************************************************************
@@ -101,8 +97,8 @@ struct module_t
     unsigned    submodule_count;
 
     /** Shortcuts to the module */
-    int    i_shortcuts;
-    char **pp_shortcuts;
+    unsigned    i_shortcuts;
+    char        **pp_shortcuts;
 
     /*
      * Variables set by the module to identify itself