X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmisc%2Fmodules_builtin.h.in;h=bf5a996d8a78b4f5e90c1b1ab18ddbfe717ef56a;hb=30efcc2bae6e7968b1c87f9cb6dc29404232e08a;hp=90c399b76c8516b4237ab29926755b0c3ef1e369;hpb=cc0f0bb6fd28d5ed3463be4a227990cbae8a849f;p=vlc diff --git a/src/misc/modules_builtin.h.in b/src/misc/modules_builtin.h.in index 90c399b76c..bf5a996d8a 100644 --- a/src/misc/modules_builtin.h.in +++ b/src/misc/modules_builtin.h.in @@ -9,7 +9,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 @@ -21,9 +21,9 @@ *****************************************************************************/ #define ALLOCATE_BUILTIN( NAME ) \ - AllocateBuiltinModule( InitModule__MODULE_ ## NAME, \ - ActivateModule__MODULE_ ## NAME, \ - DeactivateModule__MODULE_ ## NAME ); + AllocateBuiltinModule( p_this, vlc_entry__ ## NAME ); -/* Add stuff here */ +/* We also consider the main program as a module (useful for config stuff) */ +int vlc_entry__main( module_t* ); +/* Add stuff here */