Commit 9cec4e85 authored by Jon Lech Johansen's avatar Jon Lech Johansen

* ./src/misc/modules.c: Fixed a compile issue under platforms without

    HAVE_DYNAMIC_PLUGINS.
parent 7db2e6fa
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* modules.c : Built-in and plugin modules management functions * modules.c : Built-in and plugin modules management functions
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: modules.c,v 1.47 2002/01/09 02:01:14 sam Exp $ * $Id: modules.c,v 1.48 2002/01/12 21:58:56 jlj Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com> * Ethan C. Baldridge <BaldridgeE@cadmus.com>
...@@ -92,7 +92,9 @@ static int HideModule ( module_t * ); ...@@ -92,7 +92,9 @@ static int HideModule ( module_t * );
static int CallSymbol ( module_t *, char * ); static int CallSymbol ( module_t *, char * );
#endif #endif
#ifdef HAVE_DYNAMIC_PLUGINS
static module_symbols_t symbols; static module_symbols_t symbols;
#endif
/***************************************************************************** /*****************************************************************************
* module_InitBank: create the module bank. * module_InitBank: create the module bank.
...@@ -109,7 +111,9 @@ void module_InitBank( void ) ...@@ -109,7 +111,9 @@ void module_InitBank( void )
/* /*
* Store the symbols to be exported * Store the symbols to be exported
*/ */
#ifdef HAVE_DYNAMIC_PLUGINS
STORE_SYMBOLS( &symbols ); STORE_SYMBOLS( &symbols );
#endif
/* /*
* Check all the built-in modules * Check all the built-in modules
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment