aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dcrt0.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2008-09-11 06:22:31 +0000
committerChristopher Faylor <me@cgf.cx>2008-09-11 06:22:31 +0000
commitc4ca0e800af73f81465603c97484982df0f51b0d (patch)
treebd3d908658a6e3f0f1bb5d7774caeb78f65a2012 /winsup/cygwin/dcrt0.cc
parentcb7e1879ee3a55c91b8c85e6d2f879f392a2c995 (diff)
downloadnewlib-c4ca0e800af73f81465603c97484982df0f51b0d.zip
newlib-c4ca0e800af73f81465603c97484982df0f51b0d.tar.gz
newlib-c4ca0e800af73f81465603c97484982df0f51b0d.tar.bz2
* cygwin.din (sys_sigabbrev): Add this here.
* dcrt0.cc (__argc,__argv,_check_for_executable): Remove dllexport decoration since it is already handled in cygwin.din. * errno.cc (_sys_errlist): Ditto. * strsig.cc (sys_sigabbrev): Ditto. * include/cygwin/signal.h: Protect use of dllimport when __INSIDE_CYGWIN__. * libc/getopt.c: Revert previous changes. Define __INSIDE_CYGWIN__.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 63d1bd2..565d9aa 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -51,8 +51,8 @@ bool allow_glob = true;
bool NO_COPY in_forkee;
int __argc_safe;
-int _declspec(dllexport) __argc;
-char _declspec(dllexport) **__argv;
+int __argc;
+char **__argv;
#ifdef NEWVFORK
vfork_save NO_COPY *main_vfork;
#endif
@@ -103,7 +103,7 @@ extern "C"
/* impure_ptr */ _GLOBAL_REENT,
};
bool ignore_case_with_glob;
- int __declspec (dllexport) _check_for_executable = true;
+ int _check_for_executable = true;
};
int NO_COPY __api_fatal_exit_val = 1;