Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2





On Wed, 28 Feb 2007, Jiri Kosina wrote:

I still think that creating a separate header file solely for purpose of
having the large hid blacklist and all related defines separate from the
actual implementation is needed. The pages and pages of blacklist just
pollute the hid-core.c needlessly.

BUT IT IS NOT A HEADER FILE!

Dammit!

If it has real code or data in it, it's a .c file, and you don't #include
it, you *compile* it and you *link* it.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [GIT PATCH] HID and USB HID update for 2.6.21-rc2
    ... On Wed, 28 Feb 2007, Linus Torvalds wrote: ... it was braindamage without excuse, ... I still think that creating a separate header file solely for purpose of ... this solution oposes your taste ("The point of a header file is to ...
    (Linux-Kernel)
  • Re: organising classes c++
    ... > member functions that you want inline need to be in the header file - ... > within the class definition itself or with the 'inline' keyword outside ... > What do you mesan by associations? ... separate header file to be visible to the outside world, ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Direct3D9 and DirectShow and SampleGrabber
    ... > I just copied all the stuff from QEdit regarding the ISampleGrabber, ... Then you need to examine header file ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: C++ Code in header files
    ... Are there any changes in Whidbey? ... ha scritto nel messaggio news:%23ckw9GOnEHA.3988@TK2MSFTNGP10.phx.gbl... ... > does not use a separate header file. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Linking a C++ library to a C program.
    ... >> be defined in the C system, for just this purpose. ... I always have to check that when I write a header file. ... the broken "Reply" link at the bottom of the article. ... Prev by Date: ...
    (comp.lang.c)