lint on malloc calls

Doug Gwyn gwyn at smoke.ARPA
Sun Sep 11 21:52:55 AEST 1988


In article <660017 at hpclscu.HP.COM> shankar at hpclscu.HP.COM (Shankar Unni) writes:
>A possible workaround to pacify your lint:
>Declare malloc as
>   double *malloc();

"The cure is worse than the disease."

"lint" should REALLY scream about incorrectly declaring the type
of a C library function.



More information about the Comp.lang.c mailing list