From 121e555897b4bdd6373e3d6c784dd0afc306a020 Mon Sep 17 00:00:00 2001 From: Arne Redlich Date: Sun, 8 Jul 2012 13:34:22 +0200 Subject: [PATCH] slist.h: add include guards Signed-off-by: Arne Redlich --- include/slist.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/slist.h b/include/slist.h index 56c8364..0631b17 100644 --- a/include/slist.h +++ b/include/slist.h @@ -15,6 +15,9 @@ along with this program; if not, see . */ +#ifndef __iscsi_slist_h__ +#define __iscsi_slist_h__ + #define SLIST_ADD(list, item) \ do { \ (item)->next = (*list); \ @@ -46,6 +49,4 @@ (*list) = head; \ } - - - +#endif /* __iscsi_slist_h__ */