|
@@ -1,6 +1,6 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
- * Copyright (C) 2009, 2010-2011 Université de Bordeaux 1
|
|
|
+ * Copyright (C) 2009-2012 Université de Bordeaux 1
|
|
|
* Copyright (C) 2010, 2011 Centre National de la Recherche Scientifique
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
@@ -137,7 +137,7 @@
|
|
|
else if (l1->_head != NULL) { l1->_tail->_next = l2->_head; l2->_head->_prev = l1->_tail; l2->_head = l1->_head; } } \
|
|
|
/** @internal */static inline void ENAME##_list_push_list_back(struct ENAME##_list *l1, struct ENAME##_list *l2) \
|
|
|
{ if(l1->_head == NULL) { l1->_head = l2->_head; l1->_tail = l2->_tail; } \
|
|
|
- else if (l2->_head != NULL) { l1->_tail->_next = l2->_head; l2->_head->_prev = l1->_tail; l1->_tail = l2->_head; } } \
|
|
|
+ else if (l2->_head != NULL) { l1->_tail->_next = l2->_head; l2->_head->_prev = l1->_tail; l1->_tail = l2->_tail; } } \
|
|
|
/** @internal */static inline struct ENAME *ENAME##_list_front(struct ENAME##_list *l) \
|
|
|
{ return l->_head; } \
|
|
|
/** @internal */static inline struct ENAME *ENAME##_list_back(struct ENAME##_list *l) \
|