public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add missing extern to heap_free declaration
@ 2010-05-26 18:28 Sebastien JAN
  2010-05-26 18:35 ` Alexey Dobriyan
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastien JAN @ 2010-05-26 18:28 UTC (permalink / raw)
  To: linux-kernel; +Cc: torvalds, Sebastien Jan

From: Sebastien Jan <s-jan@ti.com>

heap_free() function is defined in lib/prio_heap.c

Signed-off-by: Sebastien Jan <s-jan@ti.com>
---
 include/linux/prio_heap.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/prio_heap.h b/include/linux/prio_heap.h
index 0809435..fd67387 100644
--- a/include/linux/prio_heap.h
+++ b/include/linux/prio_heap.h
@@ -36,7 +36,7 @@ extern int heap_init(struct ptr_heap *heap, size_t size, gfp_t gfp_mask,
  * heap_free - release a heap's storage
  * @heap: the heap structure whose data should be released
  */
-void heap_free(struct ptr_heap *heap);
+extern void heap_free(struct ptr_heap *heap);
 
 /**
  * heap_insert - insert a value into the heap and return any overflowed value
-- 
1.6.3.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-26 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26 18:28 [PATCH] Add missing extern to heap_free declaration Sebastien JAN
2010-05-26 18:35 ` Alexey Dobriyan
2010-05-26 18:39   ` Sebastien Jan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox