bobmon@iuvax.UUCP ([bob, mon]) (02/21/88)
Another dumb "what is this?" -- A recently posted phase-of-the-moon program includes a call to "cfree()" and TurboC doesn't know what this function is. Can anyone identify it for me? Thanx, - - - - RAMontante bobmon@iuvax.indiana.cs.edu Computer Science Department If you listen to Tools... Indiana University the Slide Rules!
gwyn@brl-smoke.ARPA (Doug Gwyn ) (02/21/88)
In article <6288@iuvax.UUCP> bobmon@iuvax.UUCP ([bob, mon]) writes: >includes a call to "cfree()" and TurboC doesn't know what this function is. cfree() was supposed to be the way you freed storage allocated by calloc(), until people realized that free() would do the job. Change the invocation of cfree (which may have more than one argument, of which only the pointer is used) to a call to free() instead.