correct *.h files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I try to implement some code to kernel but I still missing correctusage of *.h files and fromreading some code it's really hard for understand. Consider some examples
Example 1:1. have 5 *.c files and every could have *.h2. common include *.h file is placed to /include/linux (e.g. foruserspace IOCTL)
Example 2:1. have 5 *.c files and only 1 *.h file which is included in all *.c files2. common include *.h file is placed to /include/linux (e.g. foruserspace IOCTL)
What is the correct example? Or could you point me to some docs how to do it incorrect rules? :)
Thanks
Marek

-- as simple as primitive as possible----------------------------------------------Marek BeliškoRuská Nová Ves 21908005 PrešovSlovakiahttp://binaural.ifastnet.com��.n��������+%����w�j)p���{.n����z�ޖw�n'���q���b�������v��m�����Y�����


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux