Print this page
NEX-2787 Multiple comstar / fibre channel / qlt threads stuck waiting on locks with a spinning interrupt thread
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Approved by: Jean McCormack <jean.mccormack@nexenta.com>

@@ -18,10 +18,11 @@
  *
  * CDDL HEADER END
  */
 /*
  * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
+ * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  * Use is subject to license terms.
  */
 
 #ifndef _SYS_LIST_H
 #define _SYS_LIST_H

@@ -45,14 +46,14 @@
 void list_remove(list_t *, void *);
 void *list_remove_head(list_t *);
 void *list_remove_tail(list_t *);
 void list_move_tail(list_t *, list_t *);
 
-void *list_head(list_t *);
-void *list_tail(list_t *);
-void *list_next(list_t *, void *);
-void *list_prev(list_t *, void *);
+extern void *list_head(list_t *);
+extern void *list_tail(list_t *);
+extern void *list_next(list_t *, void *);
+extern void *list_prev(list_t *, void *);
 int list_is_empty(list_t *);
 
 void list_link_init(list_node_t *);
 void list_link_replace(list_node_t *, list_node_t *);