lkml.org 
[lkml]   [2010]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Add missing extern to heap_free declaration
Date
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


\
 
 \ /
  Last update: 2010-05-26 20:31    [W:0.041 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site