[runtime] Mark mono_error_init external only. (#4437)
authorAleksey Kliger (λgeek) <akliger@gmail.com>
Mon, 27 Feb 2017 20:08:48 +0000 (15:08 -0500)
committerGitHub <noreply@github.com>
Mon, 27 Feb 2017 20:08:48 +0000 (15:08 -0500)
Runtime should use the error_init() from mono/utils/mono-error-internals.h

mono/utils/mono-error.h

index fa9caa6759e36bb2cecb619b19822f56e08520e2..88f986c509492da698af9bab26a91a6628e2d889 100644 (file)
@@ -57,6 +57,7 @@ typedef struct _MonoErrorBoxed MonoErrorBoxed;
 
 MONO_BEGIN_DECLS
 
+MONO_RT_EXTERNAL_ONLY
 MONO_API void
 mono_error_init (MonoError *error);