Skip to content

Commit

Permalink
extern "C" reduction. (mono/mono#15634)
Browse files Browse the repository at this point in the history
Commit migrated from mono/mono@81ed8df
  • Loading branch information
jaykrell authored and akoeplinger committed Jul 12, 2019
1 parent e344e18 commit 69504b9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions src/mono/mono/metadata/profiler-legacy.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#include <mono/metadata/object-forward.h>
#include <mono/metadata/profiler.h>

MONO_BEGIN_DECLS

/*
* The following code is here to maintain compatibility with a few profiler API
* functions used by Xamarin.{Android,iOS,Mac} so that they keep working
Expand Down Expand Up @@ -43,7 +41,4 @@ MONO_DEPRECATED void mono_profiler_install_allocation (MonoLegacyProfileAllocFun
MONO_DEPRECATED void mono_profiler_install_enter_leave (MonoLegacyProfileMethodFunc enter, MonoLegacyProfileMethodFunc fleave);
MONO_DEPRECATED void mono_profiler_install_exception (MonoLegacyProfileExceptionFunc throw_callback, MonoLegacyProfileMethodFunc exc_method_leave, MonoLegacyProfileExceptionClauseFunc clause_callback);

MONO_END_DECLS


#endif // __MONO_PROFILER_LEGACY_H__
3 changes: 0 additions & 3 deletions src/mono/mono/utils/mono-state.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ typedef struct {
gint64 tag;
} MonoStateMem;

MONO_BEGIN_DECLS

// Logging
gboolean
mono_summarize_set_timeline_dir (const char *directory);
Expand Down Expand Up @@ -119,6 +117,5 @@ mono_state_alloc_mem (MonoStateMem *mem, long tag, size_t size);
void
mono_state_free_mem (MonoStateMem *mem);

MONO_END_DECLS
#endif // DISABLE_CRASH_REPORTING
#endif // MONO_UTILS_NATIVE_STATE

0 comments on commit 69504b9

Please sign in to comment.