Re: [PATCH] Add missing extern to heap_free declaration

From: Alexey Dobriyan
Date: Wed May 26 2010 - 14:35:15 EST


On Wed, May 26, 2010 at 08:28:19PM +0200, Sebastien JAN wrote:
> heap_free() function is defined in lib/prio_heap.c

> --- a/include/linux/prio_heap.h
> +++ b/include/linux/prio_heap.h
> -void heap_free(struct ptr_heap *heap);
> +extern void heap_free(struct ptr_heap *heap);

This is totally unneeded.

In fact, externless prototypes are better.
--
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/