aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-01-21 03:15:24 +0000
committerChristopher Faylor <me@cgf.cx>2002-01-21 03:15:24 +0000
commit385437d4c5552ae18042a310fd149242368bc2a1 (patch)
tree2b3ac824a8c3271627916a16a987cb7a9f0f990f
parentd7c16d8da37db5393ef4361a7005e22bf08d7e35 (diff)
downloadnewlib-385437d4c5552ae18042a310fd149242368bc2a1.zip
newlib-385437d4c5552ae18042a310fd149242368bc2a1.tar.gz
newlib-385437d4c5552ae18042a310fd149242368bc2a1.tar.bz2
* syscalls.cc (regfree): Make dll_export.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/syscalls.cc2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 1a2f801..3b3c7a4 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2002-01-20 Christopher Faylor <cgf@redhat.com>
+ * syscalls.cc (regfree): Make dll_export.
+
+2002-01-20 Christopher Faylor <cgf@redhat.com>
+
* exceptions.cc (ctrl_c_handler): Convert windows pid to cygwin pid
when detecting if we should actually handle CTRL-C.
diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc
index c7693ae..1111d1d 100644
--- a/winsup/cygwin/syscalls.cc
+++ b/winsup/cygwin/syscalls.cc
@@ -1816,7 +1816,7 @@ ptsname (int fd)
}
/* FIXME: what is this? */
-extern "C" int
+extern "C" int __declspec(dllexport)
regfree ()
{
return 0;