cannot build!?!

hi guys

so im adding a system call. on the syscalls.master i placed there {int sys_sample(void);}
ran make sysent
everything ok...

made a sys_sample.c on kern...
Code:
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sysproto.h>
int sys_sample(){
printf("WTF");
return 0;
}

then added sys_sample.c to my /conf/file...

when i make buildkernel
it says conflicting type error...

HELP
 
Back
Top