Respond to a multitude of g++ warnings.

This commit is contained in:
Christopher Faylor
2000-02-21 05:20:38 +00:00
parent 17869f8bf7
commit 9cec3d45aa
30 changed files with 106 additions and 109 deletions

View File

@ -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