X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fprofiler%2Flog.c;h=acf02fc3c6a6c4fac46f705cc2dfe72820426beb;hb=42874b6479cf103ca2e044b95c27a2edbb21d75c;hp=847ee26184cb93824366892581ba1eee5685eeb6;hpb=9f2c4f328db33b7042a04dffd25784ece5bf40f0;p=mono.git diff --git a/mono/profiler/log.c b/mono/profiler/log.c index 847ee26184c..acf02fc3c6a 100644 --- a/mono/profiler/log.c +++ b/mono/profiler/log.c @@ -4626,28 +4626,11 @@ create_profiler (const char *args, const char *filename, GPtrArray *filters) log_profiler.startup_time = current_time (); } -/* - * declaration to silence the compiler: this is the entry point that - * mono will load from the shared library and call. - */ -extern void -mono_profiler_init (const char *desc); - -extern void +MONO_API void mono_profiler_init_log (const char *desc); -/* - * this is the entry point that will be used when the profiler - * is embedded inside the main executable. - */ void mono_profiler_init_log (const char *desc) -{ - mono_profiler_init (desc); -} - -void -mono_profiler_init (const char *desc) { GPtrArray *filters = NULL;