]> git.hungrycats.org Git - linux/commit
[PATCH] prio-tree: remove function prototype inside function
authorAnton Blanchard <anton@samba.org>
Tue, 31 Aug 2004 03:31:19 +0000 (20:31 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 31 Aug 2004 03:31:19 +0000 (20:31 -0700)
commitf4939b75b020102c9ac996c106612b5d793e96c7
tree880a10802005c2efe3d8d5a31c25fbf20303e441
parent129b71fc432037419f0c6c5a932893e1386db9af
[PATCH] prio-tree: remove function prototype inside function

I had a problem when compiling a 2.6 kernel with gcc 3.5 CVS.  The
prototype for prio_tree_remove in mm/prio_tree.c is inside another
function.  gcc 3.5 gets upset and removes the function completely.
Apparently this isnt valid C, so lets fix it up.

Details can be found here:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17205

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/prio_tree.c