]> git.sesse.net Git - vlc/blobdiff - src/misc/modules_plugin.h.in
* ./src/*, ./include/*: fixed a bunch of badly initialized structures, a few
[vlc] / src / misc / modules_plugin.h.in
index 11eb5a7073c96b8e05667f09e9c111c11c0370ef..192b53ddd081f62642e83fd84d56a5c29c561576 100644 (file)
@@ -2,7 +2,7 @@
  * modules_plugin.h : Plugin management functions used by the core application.
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: modules_plugin.h.in,v 1.7 2002/11/18 18:05:13 sam Exp $
+ * $Id: modules_plugin.h.in,v 1.8 2002/12/06 10:10:39 sam Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *
@@ -10,7 +10,7 @@
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
  * (at your option) any later version.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
@@ -39,7 +39,7 @@ static int module_load( const MYCHAR * psz_filename, module_handle_t * handle )
 
 #elif defined(WIN32) || defined(UNDER_CE)
     *handle = LoadLibrary( psz_filename );
-    return( *handle == NULL ); 
+    return( *handle == NULL );
 
 #elif defined(RTLD_NOW)
 #   if defined(SYS_LINUX)
@@ -153,7 +153,7 @@ static void * module_getsymbol( module_handle_t handle,
 static const char * module_error( char *psz_buffer )
 {
 #if defined(SYS_BEOS)
-    return( "failed" );
+    return "failed";
 
 #elif defined(UNDER_CE)
     wchar_t psz_tmp[256];
@@ -174,7 +174,7 @@ static const char * module_error( char *psz_buffer )
         swprintf( psz_tmp + i, L" (error %i)", i_error );
         psz_tmp[ 255 ] = L'\0';
     }
-    
+
     WideCharToMultiByte( CP_ACP, WC_DEFAULTCHAR, psz_tmp, -1,
                          psz_buffer, 256, NULL, NULL );
 
@@ -197,11 +197,11 @@ static const char * module_error( char *psz_buffer )
         snprintf( psz_buffer + i, 256 - i, " (error %i)", i_error );
         psz_buffer[ 255 ] = '\0';
     }
-    
+
     return psz_buffer;
 
 #else
-    return( dlerror() );
+    return dlerror();
 
 #endif
 }