Replace ICALL_DECL_EXPORT with ICALL_EXPORT. They are always the same, and it is...
authorJay Krell <jaykrell@microsoft.com>
Sat, 19 Oct 2019 11:25:54 +0000 (04:25 -0700)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Sat, 19 Oct 2019 11:25:54 +0000 (13:25 +0200)
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

src/mono/mono/metadata/icalls.h
src/mono/mono/metadata/profiler-private.h

index 6b408fa..281020f 100644 (file)
@@ -8,10 +8,8 @@
 #include <mono/utils/mono-publib.h>
 
 #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
index 389a98f..e03d332 100644 (file)
@@ -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) \