lkml.org 
[lkml]   [2006]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH v2] kernel-doc: drop various "inline" qualifiers
    On Mon, 9 Oct 2006 15:00:18 +0200 Rolf Eike Beer wrote:

    > The inline status of a function is not of much help for a developer, that's
    > right. But I would like to see the the __must_check in the documentation.
    > This it what makes a difference, the inline stuff is extraneous.

    ---
    From: Randy Dunlap <rdunlap@xenotime.net>

    Drop __inline, __always_inline, and noinline in the
    produced kernel-doc output, similar to other pseudo directives.

    Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
    ---
    scripts/kernel-doc | 3 +++
    1 files changed, 3 insertions(+)

    --- linux-2619-rc1g3.orig/scripts/kernel-doc
    +++ linux-2619-rc1g3/scripts/kernel-doc
    @@ -1518,6 +1518,9 @@ sub dump_function($$) {
    $prototype =~ s/^asmlinkage +//;
    $prototype =~ s/^inline +//;
    $prototype =~ s/^__inline__ +//;
    + $prototype =~ s/^__inline +//;
    + $prototype =~ s/^__always_inline +//;
    + $prototype =~ s/^noinline +//;
    $prototype =~ s/__devinit +//;
    $prototype =~ s/^#define +//; #ak added
    $prototype =~ s/__attribute__ \(\([a-z,]*\)\)//;
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2006-10-09 17:17    [W:3.320 / U:1.108 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site