summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/cygheap.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-07-06 20:05:03 +0000
committerChristopher Faylor <me@cgf.cx>2005-07-06 20:05:03 +0000
commit0c55f6ed60a0b1b9c6ac47f8726191e48f90c052 (patch)
treebddbfd9cddc82d403fbfaa4f619e8f14c47159fe /winsup/cygwin/cygheap.cc
parentdee9edd9ed9fbe5f97367ad04d4203729e02ca9a (diff)
downloadcygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.gz
cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.tar.bz2
cygnal-0c55f6ed60a0b1b9c6ac47f8726191e48f90c052.zip
Eliminate (void) cast on standalone function calls throughout.
Diffstat (limited to 'winsup/cygwin/cygheap.cc')
-rw-r--r--winsup/cygwin/cygheap.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
index 48262ca06..633df7f09 100644
--- a/winsup/cygwin/cygheap.cc
+++ b/winsup/cygwin/cygheap.cc
@@ -162,7 +162,7 @@ cygheap_init ()
#endif
cygheap_max = cygheap;
- (void) _csbrk (sizeof (*cygheap));
+ _csbrk (sizeof (*cygheap));
}
if (!cygheap->fdtab)
cygheap->fdtab.init ();
@@ -304,7 +304,7 @@ extern "C" void __stdcall
cfree (void *s)
{
assert (!inheap (s));
- (void) _cfree (tocygheap (s));
+ _cfree (tocygheap (s));
MALLOC_CHECK;
}