malloc in kernel
Posted
by yoavstr
on Stack Overflow
See other posts from Stack Overflow
or by yoavstr
Published on 2010-05-22T14:22:24Z
Indexed on
2010/05/22
14:30 UTC
Read the original article
Hit count: 148
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 ?
© Stack Overflow or respective owner