From 17876230a9d52d57f205b0f012f0153b296296ff Mon Sep 17 00:00:00 2001 From: Arne Redlich Date: Thu, 13 Feb 2014 22:20:00 +0100 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..8bb6ca4 100644 --- a/include/slist.h +++ b/include/slist.h @@ -15,6 +15,9 @@ along with this program; if not, see . */ +#ifndef _LIBNFS_SLIST_H_ +#define _LIBNFS_SLIST_H_ + #define SLIST_ADD(list, item) \ do { \ (item)->next = (*list); \ @@ -46,6 +49,4 @@ (*list) = head; \ } - - - +#endif /* !_LIBNFS_SLIST_H_ */ -- 2.34.1