Re: [PATCH] Add missing extern to heap_free declaration

From: Sebastien Jan
Date: Wed May 26 2010 - 14:39:21 EST


On Wednesday 26 May 2010 20:35:01 Alexey Dobriyan wrote:
> 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.
>

The attempt was to have a unified way of declaring the functions in this
file since the other functions have the 'export'.
--
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/