Replace guards with pragma once

This commit is contained in:
Krzosa Karol
2023-12-31 10:30:34 +01:00
parent 1569f94374
commit 4ef1cb7250
14 changed files with 25 additions and 56 deletions

View File

@@ -1,6 +1,4 @@
#ifndef LINKED_LIST_HEADER
#define LINKED_LIST_HEADER
#pragma once
#define SLL_QUEUE_ADD_MOD(f, l, n, next) \
do { \
(n)->next = 0; \
@@ -125,5 +123,3 @@
} while (0)
#define DLL_INSERT_NEXT(base, new) DLL_INSERT_NEXT_MOD(base, new, next, prev)
#define DLL_INSERT_PREV(base, new) DLL_INSERT_NEXT_MOD(base, new, next, prev)
#endif