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

Question about header file documentation




I was wondering something about comments in .h files:

I always thought it would be useful to put a comment by prototypes for
functions, indicating in what file the code resides. Eg:

myheader.h:
...
...
int myfunction(int blah);  /* coolcode.c */

coolcode.c:
...
int myfuncion(int blah)
{
...
}
...


However, it seems like none (or very few) of the kernel header files do
this.  Is there a particular reason that I don't see ??

Thanks



          Chris

-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/