[jit] Fix an unpatched jump in the monitor exit trampoline on amd64.
[mono.git] / mono / mini / main.c
index dc7c826443295b371c89f275608d4d0d46a88a89..784179c64412c86fa7cdb933f081655e69ec94fc 100644 (file)
 static int
 mono_main_with_options (int argc, char *argv [])
 {
-       const char *env_options = getenv ("MONO_ENV_OPTIONS");
+       const char *env_options = g_getenv ("MONO_ENV_OPTIONS");
        if (env_options != NULL){
                GPtrArray *array = g_ptr_array_new ();
                GString *buffer = g_string_new ("");
                const char *p;
-               int i;
+               unsigned i;
                gboolean in_quotes = FALSE;
                char quote_char = '\0';
 
@@ -94,7 +94,7 @@ mono_main_with_options (int argc, char *argv [])
 #ifdef HOST_WIN32
 
 int
-main ()
+main (void)
 {
        int argc;
        gunichar2** argvw;