aboutsummaryrefslogtreecommitdiffstats
path: root/posix/gawkmisc.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-02-20 22:01:46 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-02-20 22:01:46 +0200
commit5db38f775d9ba239e125d81dff2010a2ddacb48e (patch)
treeee821ef45dcfb228be40512bc871d48452232bfe /posix/gawkmisc.c
parent4ce031ad3c3d157a425f721688a09a7dde018619 (diff)
downloadegawk-5db38f775d9ba239e125d81dff2010a2ddacb48e.tar.gz
egawk-5db38f775d9ba239e125d81dff2010a2ddacb48e.tar.bz2
egawk-5db38f775d9ba239e125d81dff2010a2ddacb48e.zip
Update posix/gawkmisc.c - remove cygwin code.
Diffstat (limited to 'posix/gawkmisc.c')
-rw-r--r--posix/gawkmisc.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c
index 40950826..ecf5aff9 100644
--- a/posix/gawkmisc.c
+++ b/posix/gawkmisc.c
@@ -289,22 +289,3 @@ void
init_sockets(void)
{
}
-
-#ifdef __CYGWIN__
-void
-cygwin_premain0(int argc, char **argv, struct per_process *myself)
-{
- static struct __cygwin_perfile pf[] = {
- { "", O_RDONLY | O_TEXT },
- /*{ "", O_WRONLY | O_BINARY },*/
- { NULL, 0 }
- };
- cygwin_internal(CW_PERFILE, pf);
-}
-
-void
-cygwin_premain2(int argc, char **argv, struct per_process *myself)
-{
- setmode(fileno (stdin), O_TEXT);
-}
-#endif