aboutsummaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-11-07 22:54:59 -0500
committerBruce Hill <bruce@bruce-hill.com>2022-11-07 22:54:59 -0500
commit3ed2c195940de9fd2aa320147d1beaa8a0c98654 (patch)
tree9b87c3945fdfa986c6be77c77a8740f7d773ff0f /utils.h
parent372eb2647f04c8789679a7fd80a0e91a65e47941 (diff)
Use `#pragma once`
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils.h b/utils.h
index dae247b..0973926 100644
--- a/utils.h
+++ b/utils.h
@@ -1,8 +1,7 @@
//
// utils.h - Some utility and printing functions.
//
-#ifndef UTILS__H
-#define UTILS__H
+#pragma once
#include <err.h>
#include <stdarg.h>
@@ -58,5 +57,4 @@ bool matchstr(const char **str, const char *target, bool skip_nl, const char *en
__attribute__((nonnull))
void delete(void *p);
-#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0