(_trampoline): Add stdcall attribute to VirtualProtect on i386.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 2 Jul 1997 10:38:04 +0000 (06:38 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 2 Jul 1997 10:38:04 +0000 (06:38 -0400)
From-SVN: r14371

gcc/libgcc2.c

index f2532a3474657dbb60cec29fd5ba6a1d8caefdfc..adda3257f7ef734110b31e3cce869716e7db5ed9 100644 (file)
@@ -2729,6 +2729,10 @@ long getpagesize()
 #endif
 }
 
+#ifdef i386
+extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall));
+#endif
+
 int mprotect(char *addr, int len, int prot)
 {
   int np, op;