malloc in kernel
- by yoavstr
when i try to malloc at kernel mod i get screamed by the compiler :
res=(ListNode*)malloc(sizeof(ListNode));
and the compiler is screaming :
/root/ex3/ex3mod.c:491: error: implicit declaration of function ‘malloc’
what should i do ?