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/malloc_wrapper.cc
parent17869f8bf7adce5296d844c51c14e89f45fc4054 (diff)
Respond to a multitude of g++ warnings.
Diffstat (limited to 'winsup/cygwin/malloc_wrapper.cc')
-rw-r--r--winsup/cygwin/malloc_wrapper.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/malloc_wrapper.cc b/winsup/cygwin/malloc_wrapper.cc
index b4babd901..3442c14d4 100644
--- a/winsup/cygwin/malloc_wrapper.cc
+++ b/winsup/cygwin/malloc_wrapper.cc
@@ -224,14 +224,14 @@ malloc_init ()
extern "C"
void
-__malloc_lock (struct _reent *ptr)
+__malloc_lock (struct _reent *)
{
SetResourceLock(LOCK_MEMORY_LIST,WRITE_LOCK|READ_LOCK," __malloc_lock");
}
extern "C"
void
-__malloc_unlock (struct _reent *ptr)
+__malloc_unlock (struct _reent *)
{
ReleaseResourceLock(LOCK_MEMORY_LIST,WRITE_LOCK|READ_LOCK," __malloc_unlock");
}