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>2005-05-17 05:26:16 +0400
committerChristopher Faylor <me@cgf.cx>2005-05-17 05:26:16 +0400
commitac674bc8966184389f1f745790d2372922fe2a00 (patch)
tree0617a82bf5a766da5f46b8be2c7fb5257dc14e5c /winsup/utils/cygcheck.cc
parent5c8e6fbd8cba2653984ca48d8a1872b3e6974a2c (diff)
* cygcheck.cc (cygwin_internal): Define as a "C" function.
* strace.cc (cygwin_internal): Ditto. * cygpath.cc (print_version): Update copyright.
Diffstat (limited to 'winsup/utils/cygcheck.cc')
-rw-r--r--winsup/utils/cygcheck.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/winsup/utils/cygcheck.cc b/winsup/utils/cygcheck.cc
index fc334cee8..07d5823de 100644
--- a/winsup/utils/cygcheck.cc
+++ b/winsup/utils/cygcheck.cc
@@ -1439,7 +1439,9 @@ nuke (char *ev)
putenv (s);
}
-DWORD (*cygwin_internal) (int, ...);
+extern "C" {
+unsigned long (*cygwin_internal) (int, ...);
+};
static void
load_cygwin (int& argc, char **&argv)