diff options
Diffstat (limited to 'posix')
-rw-r--r-- | posix/ChangeLog | 5 | ||||
-rw-r--r-- | posix/gawkmisc.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/posix/ChangeLog b/posix/ChangeLog index ceecc6b5..fdc034ac 100644 --- a/posix/ChangeLog +++ b/posix/ChangeLog @@ -1,3 +1,8 @@ +Mon May 2 23:38:06 2011 Corinna Vinschen <vinschen@redhat.com> + + * gawkmisc.c (cygwin_premain0): Use the real type for the secondnd + argument. + Fri Apr 1 11:50:59 2011 Arnold D. Robbins <arnold@skeeve.com> * gawkmisc.c (os_iastty): New function. diff --git a/posix/gawkmisc.c b/posix/gawkmisc.c index 6290ff57..f4bbf66b 100644 --- a/posix/gawkmisc.c +++ b/posix/gawkmisc.c @@ -257,7 +257,7 @@ files_are_same(char *path, SRCFILE *src) #ifdef __CYGWIN__ void -cygwin_premain0(int argc, char **argv, void *myself) +cygwin_premain0(int argc, char **argv, struct per_process *myself) { static struct __cygwin_perfile pf[] = { { "", O_RDONLY | O_TEXT }, @@ -268,7 +268,7 @@ cygwin_premain0(int argc, char **argv, void *myself) } void -cygwin_premain2(int argc, char **argv, void *myself) +cygwin_premain2(int argc, char **argv, struct per_process *myself) { setmode(fileno (stdin), O_TEXT); } |