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:
Diffstat (limited to 'winsup/cygwin/textmode.c')
-rw-r--r--winsup/cygwin/textmode.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/winsup/cygwin/textmode.c b/winsup/cygwin/textmode.c
index 55c6fb975..320b75453 100644
--- a/winsup/cygwin/textmode.c
+++ b/winsup/cygwin/textmode.c
@@ -1,6 +1,6 @@
/* binmode.c
- Copyright 2000, 2001, 2010 Red Hat, Inc.
+ Copyright 2000, 2001, 2010, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -14,7 +14,9 @@ details. */
extern int _fmode;
void
-cygwin_premain0 (int argc, char **argv, struct per_process *myself)
+cygwin_premain0 (int argc __attribute__ ((unused)),
+ char **argv __attribute__ ((unused)),
+ struct per_process *myself __attribute__ ((unused)))
{
_fmode &= ~_O_BINARY;
_fmode |= _O_TEXT;