summaryrefslogtreecommitdiffstats
path: root/src/dlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dlist.h')
-rw-r--r--src/dlist.h5
1 files changed, 1 insertions, 4 deletions
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_ */