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>2000-02-21 08:20:38 +0300
committerChristopher Faylor <me@cgf.cx>2000-02-21 08:20:38 +0300
commit9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9 (patch)
treec7033544db3e6e96f568e08cc0b283c58cb24e94 /winsup/cygwin/sync.h
parent17869f8bf7adce5296d844c51c14e89f45fc4054 (diff)
Respond to a multitude of g++ warnings.
Diffstat (limited to 'winsup/cygwin/sync.h')
-rw-r--r--winsup/cygwin/sync.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h
index 18cff7800..37efbe54f 100644
--- a/winsup/cygwin/sync.h
+++ b/winsup/cygwin/sync.h
@@ -21,8 +21,8 @@ class muto
DWORD tid; /* Thread Id of lock owner. */
public:
void *operator new (size_t, void *p) {return p;}
- void *operator new (size_t n) {return ::new muto; }
- void operator delete (void *p) {;} /* can't handle allocated mutos
+ void *operator new (size_t) {return ::new muto; }
+ void operator delete (void *) {;} /* can't handle allocated mutos
currently */
/* This simple constructor is used for cases where no bruteforce