<snip>
>> I dont understand what goal is it supposed to achieve
>> at the beginning of the headerfile
<snip>
The 'goal' is to prevent 'redefinition' errors, like Stephan Müller said it is a 'include guard'.
A explanation of why and how to use include guards can be found here: https://en.wikipedia.org/wiki/Include_guard
When I try : find . -name "*.c" -o -name "*.h" | xargs grep -i "include <linux/list.h>" | wc -l>> I dont understand what goal is it supposed to achieve
>> at the beginning of the headerfile
<snip>
The 'goal' is to prevent 'redefinition' errors, like Stephan Müller said it is a 'include guard'.
A explanation of why and how to use include guards can be found here: https://en.wikipedia.org/wiki/Include_guard
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies