gui-thread-check: Fix some compilation warnings

This commit is contained in:
Bertrand Lorentz 2012-11-04 18:16:22 +01:00
parent bd41e1150d
commit 2edff869fd

View File

@ -23,11 +23,12 @@
* USA. * USA.
*/ */
#include <string.h>
#include <glib.h> #include <glib.h>
#include <mono/metadata/profiler.h> #include <mono/metadata/profiler.h>
extern pthread_t pthread_self (); extern pthread_t pthread_self (void);
static gboolean static gboolean
stack_walk_fn (MonoMethod *method, gint32 native_offset, gint32 il_offset, gboolean managed, gpointer data) stack_walk_fn (MonoMethod *method, gint32 native_offset, gint32 il_offset, gboolean managed, gpointer data)