From: Jay Krell Date: Sat, 19 Oct 2019 11:25:54 +0000 (-0700) Subject: Replace ICALL_DECL_EXPORT with ICALL_EXPORT. They are always the same, and it is... X-Git-Tag: submit/tizen/20210909.063632~10331^2~5^2~325 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e17eb7e300fd682f836fc5ba4292dbaccd28b000;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Replace ICALL_DECL_EXPORT with ICALL_EXPORT. They are always the same, and it is only used once. (mono/mono#17429) Replace ICALL_DECL_EXPORT with ICALL_EXPORT. They are always the same and it is only used once. Commit migrated from https://github.com/mono/mono/commit/84f4e1dcbf96925105f4d4f54bb9cb9b61067603 --- diff --git a/src/mono/mono/metadata/icalls.h b/src/mono/mono/metadata/icalls.h index 6b408fa..281020f 100644 --- a/src/mono/mono/metadata/icalls.h +++ b/src/mono/mono/metadata/icalls.h @@ -8,10 +8,8 @@ #include #ifdef ENABLE_ICALL_EXPORT -#define ICALL_DECL_EXPORT MONO_API #define ICALL_EXPORT MONO_API #else -#define ICALL_DECL_EXPORT /* nothing */ /* Can't be static as icall.c defines icalls referenced by icall-tables.c */ #define ICALL_EXPORT /* nothing */ #endif diff --git a/src/mono/mono/metadata/profiler-private.h b/src/mono/mono/metadata/profiler-private.h index 389a98f..e03d332 100644 --- a/src/mono/mono/metadata/profiler-private.h +++ b/src/mono/mono/metadata/profiler-private.h @@ -158,7 +158,7 @@ mono_profiler_clauses_enabled (void) } #define _MONO_PROFILER_EVENT(name, ...) \ - ICALL_DECL_EXPORT void mono_profiler_raise_ ## name (__VA_ARGS__); + ICALL_EXPORT void mono_profiler_raise_ ## name (__VA_ARGS__); #define MONO_PROFILER_EVENT_0(name, type) \ _MONO_PROFILER_EVENT(name, void) #define MONO_PROFILER_EVENT_1(name, type, arg1_type, arg1_name) \