Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / support / supportw.c
index 49ed549c5d2f546ffeffd31a2e3b8289fa32af1a..b5fdae354c22ba3e820da8c13b5b2ae9e7db394d 100644 (file)
@@ -18,7 +18,6 @@
 #include "mono/metadata/class.h"
 #include "mono/metadata/object.h"
 #include "mono/metadata/tabledefs.h"
-#include "mono/io-layer/wapi.h"
 
 typedef struct {
        const char *fname;
@@ -53,7 +52,7 @@ get_function (const char *name)
                        compare_names);
 
        if (ptr == NULL) {
-               g_warning ("Function '%s' not not found.", name);
+               g_warning ("Function '%s' not found.", name);
                return NULL;
        }
 
@@ -158,6 +157,9 @@ FindWindowExW (gpointer hwndParent, gpointer hwndChildAfter, const char *classw,
        return func (hwndParent, hwndChildAfter, classw, window);
 }
 
+int
+SetWindowPos (gpointer hwnd, gpointer hwndInsertAfter, int x, int y, int cx, int cy, unsigned int flags);
+
 int
 SetWindowPos (gpointer hwnd, gpointer hwndInsertAfter, int x, int y, int cx, int cy, unsigned int flags)
 {
@@ -165,6 +167,9 @@ SetWindowPos (gpointer hwnd, gpointer hwndInsertAfter, int x, int y, int cx, int
        return 1;
 }
 
+int
+SendMessageA (gpointer hwnd, unsigned int msg, gpointer wparam, gpointer lparam);
+
 int
 SendMessageA (gpointer hwnd, unsigned int msg, gpointer wparam, gpointer lparam)
 {
@@ -172,6 +177,9 @@ SendMessageA (gpointer hwnd, unsigned int msg, gpointer wparam, gpointer lparam)
        return 0;
 }
 
+int
+GetWindowLongA (gpointer hwnd, int a);
+
 int
 GetWindowLongA (gpointer hwnd, int a)
 {