From 9cec3d45aa1e7c7b3aed4559aa8bef57d24612d9 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 21 Feb 2000 05:20:38 +0000 Subject: Respond to a multitude of g++ warnings. --- winsup/cygwin/sync.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/sync.h') diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h index 18cff78..37efbe5 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 -- cgit v1.1