unhappy with current.h
Quoted 4 lines · David S. Miller
From: Daniele Lugli <[email protected]>
Date: Mon, 14 Oct 2002 21:46:08 +0200
Quoted 8 lines
Moral of the story: in my opinion kernel developers should reduce to a minimum the use of #define, and preferably use words in uppercase and/or with underscores, in any case not commonly used words.
Or maybe you should change your datastructure to not have member names the conflict with 7 year old well defined global symbols in the Linux kernel?
I guess tradition may have been well established. Is there an faq for this somewhere (for these "well defined global symbols", that is) that we could perhaps refer to?
I do believe he has a point though. It would be good to watch the #defines in the future, so as to make it easier for aspiring coders.
-jf
#!/bin/signoff
# ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ echo The reasonable man adapts himself to the world; the unreasonable one echo persists in trying to adapt the world to himself. Therefore, all echo progress depends on the unreasonable.
echo — George Bernard Shaw
# ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~