From 2b3043e578f00a5071dfae40c237b86cc6d70c7e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Thu, 10 Apr 2014 19:42:06 +0200 Subject: Use #pragma once --- src/dlist.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/dlist.h') diff --git a/src/dlist.h b/src/dlist.h index 8d1e263..efe7021 100644 --- a/src/dlist.h +++ b/src/dlist.h @@ -24,8 +24,7 @@ */ -#ifndef _FASTD_DLIST_H_ -#define _FASTD_DLIST_H_ +#pragma once #include "types.h" @@ -63,5 +62,3 @@ static inline void fastd_dlist_remove(fastd_dlist_head_t *elem) { elem->prev = elem->next = NULL; } - -#endif /* _FASTD_DLIST_H_ */ -- cgit v1.2.3