aboutsummaryrefslogtreecommitdiff
path: root/pattern.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 /pattern.h
parent372eb2647f04c8789679a7fd80a0e91a65e47941 (diff)
Use `#pragma once`
Diffstat (limited to 'pattern.h')
-rw-r--r--pattern.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/pattern.h b/pattern.h
index a36885e..0543244 100644
--- a/pattern.h
+++ b/pattern.h
@@ -1,8 +1,7 @@
//
// pattern.h - Header file for BP pattern compilation.
//
-#ifndef PATTERN__H
-#define PATTERN__H
+#pragma once
#include <stdbool.h>
#include <stdint.h>
@@ -127,5 +126,4 @@ void free_all_pats(void);
__attribute__((nonnull))
void delete_pat(pat_t **at_pat, bool recursive);
-#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0