lkml.org 
[lkml]   [2007]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] remove __init modifier from header declaration

* Glauber de Oliveira Costa <gcosta@redhat.com> wrote:

> This patch removes the __init modifier from an extern function
> declaration in acpi.h.
>
> Besides not being strictly needed, it requires the inclusion of
> linux/init.h, which is usually not even included directly, increasing
> header mess by a lot.

thanks, applied.

btw., people have been talking about reducing the include file mess for
nearly a decade now, but it didnt get that much better - at least not in
include/asm-x86/*.h. So include file dependency flattening patches would
be more than welcome as well. (and unlike unification patches they have
no expectation of being 100% perfect, so a natural ping-pong of fixes,
until the changes are fully correct, would be natural.)

Ingo


\
 
 \ /
  Last update: 2007-12-19 11:15    [W:0.913 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site