slist.h: add include guards
Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
This commit is contained in:
@@ -15,6 +15,9 @@
|
|||||||
along with this program; if not, see <http://www.gnu.org/licenses/>.
|
along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __iscsi_slist_h__
|
||||||
|
#define __iscsi_slist_h__
|
||||||
|
|
||||||
#define SLIST_ADD(list, item) \
|
#define SLIST_ADD(list, item) \
|
||||||
do { \
|
do { \
|
||||||
(item)->next = (*list); \
|
(item)->next = (*list); \
|
||||||
@@ -46,6 +49,4 @@
|
|||||||
(*list) = head; \
|
(*list) = head; \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* __iscsi_slist_h__ */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user