From: Arne Redlich Date: Thu, 13 Feb 2014 21:20:00 +0000 (+0100) Subject: slist.h: add include guards X-Git-Tag: upstream/1.9.6^2~112 X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=commitdiff_plain;h=17876230a9d52d57f205b0f012f0153b296296ff slist.h: add include guards Signed-off-by: Arne Redlich --- 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_ */