On Thu, Jan 24, 2008 at 11:22:21PM +0000, Tigran Aivazian wrote:fs/bfs/bfs.h is not visible to the rest of the kernel, it's the right place for bfs-internal code. Whether there's an "extern" written is just a syntax thing with zero semantical implications. We tend to not write the "extern" in the kernel, but that's nothing cast in stone. But prototypes really belong into header files - bugs in this area are rare, but when they occur they can cause nasty hard-to-debug bugs (e.g. depending on the calling convention on the architecture calling the function can turn your stack into garbage), and with the prototypes in header files gcc can do type checks. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| James Bottomley | Re: Announce: Linux-next (Or Andrew's dream :-)) |
| Trent Piepho | Re: [PATCH] fakephp: Allocate PCI resources before adding the device |
| Antonio Almeida | HTB accuracy for high speed |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
git: | |
