From bc6ed5498655ea0e2cc4f0748ad8311e803d5b71 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 13 Oct 2001 01:35:15 +0000 Subject: * autoload.cc (wsock_init): Reorganize slightly to accomodate a new compiler. --- winsup/cygwin/autoload.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/autoload.cc') diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index d1cbd59cc..5ae8e1c5a 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -244,7 +244,6 @@ wsock_init () extern WSADATA wsadata; struct func_info *func = (struct func_info *) __builtin_return_address (0); struct dll_info *dll = func->dll; - retchain ret; __asm__ (" \n\ .section .ws2_32_info \n\ @@ -293,6 +292,7 @@ wsock_init () movl $dll_chain1,4(%ebp) \n\ "); + volatile retchain ret; /* Set "arguments for dll_chain1. */ ret.low = (long) dll_func_load; ret.high = (long) func; -- cgit v1.2.3