lkml.org 
[lkml]   [1997]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: problems with compiling 2.1.45-7
    Date
    From

    >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.

    \
     
     \ /
      Last update: 2005-03-22 13:39    [W:0.016 / U:94.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site