diff options
author | Christopher Faylor <me@cgf.cx> | 2004-07-24 19:18:58 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-07-24 19:18:58 +0000 |
commit | 634d51d94ec5b563880787ba8dddf0add5771ee9 (patch) | |
tree | 7005e3e5abf58e5c5a56b86d8965e502c557b902 /winsup/cygwin/pinfo.h | |
parent | 8c2defa46cb2887a609764ef5e52df8dbdde21d0 (diff) | |
download | cygnal-634d51d94ec5b563880787ba8dddf0add5771ee9.tar.gz cygnal-634d51d94ec5b563880787ba8dddf0add5771ee9.tar.bz2 cygnal-634d51d94ec5b563880787ba8dddf0add5771ee9.zip |
* 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.h | 6 |
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 () { |