Messages in this thread | | | Subject | Re: problems with compiling 2.1.45-7 | Date | Thu, 17 Jul 1997 16:58:02 -0500 | From | Evan Jeffrey <> |
| |
>At 11:59 PM 7/16/97 +1200, Joseph Skinner wrote:
>d_drop (along with a bunch of other fn) is a inlined function in dcache.h. >One does not generally put functions in .h files, there is a reason for >this... Moving d_drop to fs/dcache.c and putting an extern def in dcache.h
But if you do that, then it won't get inlined. This sounds to me like it should be declared "static inline" in the .h file to get the desired effect.
Am I wrong anybody?
=== Evan Jeffrey erjeffre@artsci.wustl.edu
The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man.
| |