slist.h: add include guards
authorArne Redlich <arne.redlich@googlemail.com>
Thu, 13 Feb 2014 21:20:00 +0000 (22:20 +0100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 20 Feb 2014 02:39:28 +0000 (18:39 -0800)
Signed-off-by: Arne Redlich <arne.redlich@googlemail.com>
include/slist.h

index 56c836414dcad24f3997afb288fce9ad50eeedd5..8bb6ca480cdf2740115510fd8e0e100604714b80 100644 (file)
@@ -15,6 +15,9 @@
    along with this program; if not, see <http://www.gnu.org/licenses/>.
 */
 
+#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_ */