Hi, I try to implement some code to kernel but I still missing correct usage of *.h files and from reading some code it's really hard for understand. Consider some examples
Example 1: 1. have 5 *.c files and every could have *.h 2. common include *.h file is placed to /include/linux (e.g. for userspace IOCTL) Example 2: 1. have 5 *.c files and only 1 *.h file which is included in all *.c files 2. common include *.h file is placed to /include/linux (e.g. for userspace IOCTL) What is the correct example? Or could you point me to some docs how to do it in correct rules? :) Thanks Marek -- as simple as primitive as possible ---------------------------------------------- Marek Beliško Ruská Nová Ves 219 08005 Prešov Slovakia http://binaural.ifastnet.com
