Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-08-04 04:48:23 +0400
committerChristopher Faylor <me@cgf.cx>2000-08-04 04:48:23 +0400
commit3ff407a607ab79b32c2c02dfbc7df48771fc9784 (patch)
tree575755fd9e521bb2570eeea4ab8901c332fb39dd
parentfac857e26c0833a2669dc7aacec201d2f25adbc5 (diff)
* select.cc (fhandler_console::select_read): Call set_cursor_maybe since selectunlabeled-1.17.2
may block and cursor may not be visible. * select.cc (fhandler_console::select_write): Ditto. * select.cc (fhandler_console::select_except): Ditto. * environ.cc (cur_environ): Give "C" linkage. * winsup.h: Ditto. * winsup.cc: Change include ordering.
-rw-r--r--winsup/cygwin/environ.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc
index f9785bcd4..d834160a9 100644
--- a/winsup/cygwin/environ.cc
+++ b/winsup/cygwin/environ.cc
@@ -627,7 +627,7 @@ winenv (const char * const *envp, int keep_posix)
did not seem to know about importing data variables from the DLL.
So, we have to synchronize cygwin's idea of the environment with the
main program's with each reference to the environment. */
-char ** __stdcall
+extern "C" char ** __stdcall
cur_environ ()
{
if (*main_environ != __cygwin_environ)