summaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 34168bf..d403785 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -24,8 +24,7 @@
*/
-#ifndef _FASTD_BUFFER_H_
-#define _FASTD_BUFFER_H_
+#pragma once
#include "log.h"
@@ -91,5 +90,3 @@ static inline void fastd_buffer_push_head_to(const fastd_context_t *ctx, fastd_b
memcpy(data, buffer->data, len);
fastd_buffer_push_head(ctx, buffer, len);
}
-
-#endif /* _FASTD_BUFFER_H_ */