Messages in this thread | | | Subject | Re: [PATCH 22/82] remove linux/version.h from drivers/message/fus ion | From | Bernd Petrovitsch <> | Date | Wed, 20 Jul 2005 10:30:10 +0200 |
| |
On Tue, 2005-07-19 at 22:12 -0500, Matt Domsch wrote: > On Tue, Jul 19, 2005 at 06:07:41PM -0600, Moore, Eric Dean wrote: [...] > > What you illustrated above is not going to work. > > If your doing #ifndef around a function, such as scsi_device_online, it's > > not going to compile > > when scsi_device_online is already implemented in the kernel tree. > > The routine scsi_device_online is a function, not a define. For a define > > this would work. > > Sure it does, function names are defined symbols.
Defined for the preprocessor or the pure C-compiler or both of them?
Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services
- 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/
| |