Eliminate (void) cast on standalone function calls throughout.

This commit is contained in:
Christopher Faylor
2005-07-06 20:05:03 +00:00
parent dee9edd9ed
commit 0c55f6ed60
41 changed files with 110 additions and 106 deletions

View File

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