]> git.sesse.net Git - vlc/blobdiff - src/modules/os.c
New pixmaps for play/pause/next/previous/stop.
[vlc] / src / modules / os.c
index 429c2940208e4228ac631df789ecaf1872c2cb8e..5cf3a827672f8dfef6748029303e9a480fb2d096 100644 (file)
@@ -28,7 +28,8 @@
 # include "config.h"
 #endif
 
-#include <vlc/vlc.h>
+#include <vlc_common.h>
+#include <vlc_plugin.h> /* MODULE_SUFFIX */
 #include "libvlc.h"
 #include "modules.h"
 
@@ -128,7 +129,7 @@ int module_Call( module_t *p_module )
 }
 
 /**
- * Load a dynamically linked library using a system dependant method.
+ * Load a dynamically linked library using a system dependent method.
  *
  * \param p_this vlc object
  * \param psz_file library file
@@ -240,7 +241,7 @@ int module_Load( vlc_object_t *p_this, const char *psz_file,
  * CloseModule: unload a dynamic library
  *
  * This function unloads a previously opened dynamically linked library
- * using a system dependant method. No return value is taken in consideration,
+ * using a system dependent method. No return value is taken in consideration,
  * since some libraries sometimes refuse to close properly.
  * \param handle handle of the library
  * \return nothing
@@ -259,6 +260,8 @@ void module_Unload( module_handle_t handle )
 #elif defined(HAVE_DL_DLOPEN)
 # ifdef NDEBUG
     dlclose( handle );
+# else
+    (void)handle;
 # endif
 
 #elif defined(HAVE_DL_SHL_LOAD)