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>2004-07-24 23:18:58 +0400
committerChristopher Faylor <me@cgf.cx>2004-07-24 23:18:58 +0400
commit634d51d94ec5b563880787ba8dddf0add5771ee9 (patch)
tree7005e3e5abf58e5c5a56b86d8965e502c557b902 /winsup/cygwin/pinfo.h
parent8c2defa46cb2887a609764ef5e52df8dbdde21d0 (diff)
* dcrt0.cc (dll_crt0_0): Use proper boolean arguments.
* pinfo.cc (pinfo::init): Don't consider MapViewOfFileEx error to be fatal if exiting. * pinfo.h (pinfo::init): Eliminate default argument and supply the argument in the one case that needed it.
Diffstat (limited to 'winsup/cygwin/pinfo.h')
-rw-r--r--winsup/cygwin/pinfo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/pinfo.h b/winsup/cygwin/pinfo.h
index 923b0bec7..5cf632f18 100644
--- a/winsup/cygwin/pinfo.h
+++ b/winsup/cygwin/pinfo.h
@@ -129,11 +129,11 @@ class pinfo
_pinfo *procinfo;
bool destroy;
public:
- void init (pid_t n, DWORD create = 0, HANDLE h = NULL) __attribute__ ((regparm(3)));
+ void init (pid_t, DWORD, HANDLE = NULL) __attribute__ ((regparm(3)));
pinfo () {}
pinfo (_pinfo *x): procinfo (x) {}
- pinfo (pid_t n) {init (n);}
- pinfo (pid_t n, int create) {init (n, create);}
+ pinfo (pid_t n) {init (n, 0);}
+ pinfo (pid_t n, DWORD flag) {init (n, flag);}
void release ();
~pinfo ()
{