Permalink
Browse files

Thu Feb 25 12:12:44 CET 2010 Paolo Molaro <lupus@ximian.com>

	* environment.c, environment.h, icall.c: make the GetOSVersionString()
	icall internal.


svn path=/trunk/mono/; revision=152446
  • Loading branch information...
1 parent 54c3cd7 commit f7bcf06c19bb57f1270a1bb6e40585aabf95950b @illupus illupus committed Feb 25, 2010
Showing with 10 additions and 2 deletions.
  1. +5 −0 mono/metadata/ChangeLog
  2. +3 −0 mono/metadata/environment.c
  3. +0 −2 mono/metadata/environment.h
  4. +2 −0 mono/metadata/icall.c
View
5 mono/metadata/ChangeLog
@@ -1,4 +1,9 @@
+Thu Feb 25 12:12:44 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+ * environment.c, environment.h, icall.c: make the GetOSVersionString()
+ icall internal.
+
Thu Feb 25 11:37:50 CET 2010 Paolo Molaro <lupus@ximian.com>
* metadata.c, metadata.h: make MONO_TYPE_IS* functional without
View
3 mono/metadata/environment.c
@@ -15,8 +15,11 @@
#include <mono/metadata/appdomain.h>
#include <mono/metadata/environment.h>
#include <mono/metadata/exception.h>
+#include <mono/utils/mono-compiler.h>
#include <mono/io-layer/io-layer.h>
+extern MonoString* ves_icall_System_Environment_GetOSVersionString (void) MONO_INTERNAL;
+
#if !defined(HOST_WIN32) && defined(HAVE_SYS_UTSNAME_H)
#include <sys/utsname.h>
#endif
View
2 mono/metadata/environment.h
@@ -17,8 +17,6 @@ MONO_BEGIN_DECLS
extern int32_t mono_environment_exitcode_get (void);
extern void mono_environment_exitcode_set (int32_t value);
-extern MonoString* ves_icall_System_Environment_GetOSVersionString (void);
-
MONO_END_DECLS
#endif /* _MONO_METADATA_ENVIRONMENT_H_ */
View
2 mono/metadata/icall.c
@@ -82,6 +82,8 @@
#endif
#include "decimal.h"
+extern MonoString* ves_icall_System_Environment_GetOSVersionString (void) MONO_INTERNAL;
+
static MonoReflectionAssembly* ves_icall_System_Reflection_Assembly_GetCallingAssembly (void);
static MonoArray*

0 comments on commit f7bcf06

Please sign in to comment.