login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
8
Re: including .c files ?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Chris Friesen <cfriesen@...>
To: Krzysztof Halasa <khc@...>
Cc: Frans Meulenbroeks <fransmeulenbroeks@...>, <linux-kernel@...>
Subject:
Re: including .c files ?
Date: Friday, August 8, 2008 - 11:05 am
Krzysztof Halasa wrote:
quoted text
> "Frans Meulenbroeks" <fransmeulenbroeks@gmail.com> writes: > > >>Generally I would expect that if the .c file contains some standalone >>functionality then it should probably be a .c file on its own with a >>well defined interface. > > > Doesn't work when you need conditional compilation.
Sure it does...look at all the kernel Makefiles that compile code based on whether a config option is set. In the case of the scheduler I suspect it's done to break a single logical file into several pieces for better readability. Chris --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
including .c files ?
, Frans Meulenbroeks
, (Fri Aug 8, 7:25 am)
Re: including .c files ?
, Rene Herman
, (Fri Aug 8, 11:36 am)
Re: including .c files ?
, H. Peter Anvin
, (Fri Aug 8, 3:13 pm)
Re: including .c files ?
, Krzysztof Halasa
, (Fri Aug 8, 10:30 am)
Re: including .c files ?
, Chris Friesen
, (Fri Aug 8, 11:05 am)
Re: including .c files ?
, Krzysztof Halasa
, (Fri Aug 8, 11:46 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Jeff Chua
Re: 2.6.25-rc2 System no longer powers off after suspend-to-disk. Screen becomes g...
Kamalesh Babulal
Re: 2.6.23-rc8-mm2 - drivers/net/ibm_newemac/mal - broken
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
11 users
and
912 guests
online.
Online users
strcmp
zeekec
xphomenetworkt
uniquechristma
sellinvestment
mr.chaka
cleanseynw
howtocreateasa
brothermachine
aquasanaxeosc
wowmobileservi
Syndicate