[mono-error] Remove mono_loader_set_error_from_mono_error, nothing uses it.
[mono.git] / mono / utils / mono-error-internals.h
index 082c43e8b3b2bcca8954cdea9ee6f24e6efac4bf..31a2a4f5362a0bb5857a1c254a784f2946dcc0b4 100644 (file)
@@ -2,7 +2,7 @@
 #define __MONO_ERROR_INTERNALS_H__
 
 #include "mono/utils/mono-compiler.h"
-#include "mono/metadata/object-internals.h"
+#include "mono/metadata/class-internals.h"
 
 /*Keep in sync with MonoError*/
 typedef struct {
@@ -114,9 +114,6 @@ mono_error_convert_to_exception (MonoError *error);
 void
 mono_error_raise_exception (MonoError *error);
 
-void
-mono_loader_set_error_from_mono_error (MonoError *oerror);
-
 void
 mono_error_move (MonoError *dest, MonoError *src);